Skip to content

Registration Command

Registration

Purpose

To place the registered name and serial number of a DataFlex license into variables.

Syntax

Registration StringVariable IntegerVariable

What It Does

The Registration command retrieves the name and serial number of the DataFlex license in use, moving the registration name to StringVariable and the serial number to IntegerVariable.

string sRegistrationName
integer iSerialNumber
Registration sRegistrationName iSerialNumber

In this example, the registration name of the license under which the current program is being run is moved to the string variable sRegistrationName, and the serial number is moved to the integer variable iSerialNumber.

Notes

  • The registration information retrieved is stored in the file termlist.cfg.