VARNAME

Previous  Next

 

name = VARNAME( var-name AS VARIANT ) AS STRING

 


 

Returns the name of the variable or array as a string.

 

Example:

 

DIM itype AS INTEGER

DIM nisse AS STRING

 

itype = TYPE( nisse )    ' This will return 3

 

PRINT "Variable ";VARNAME( nisse );" is of type ";itype,