INFO

Name

INFO --  Functions for access to some information about values, functions, parameters, and so.

Function

<cPath>     DefPath() 
bCurrentErroERRORBLOCK([<bErrorHandler>]) 
TRUE || FALSISFIELD(<sVarName>) 	
TRUE || FALSISFUNCTION(<sVarName>) 	
TRUE || FALSISMEMVAR(<sVarName>) 	
nCount      LEN(<cString> | <aTarget>) 
<vVarValue> MEMVARGET(<sVarName>) 	
TRUE || FALSMEMVARSET(<sVarName>, <vData>) 	
lError      NETERR([<lNewError>]) 
cOsName     OS() 
<vParData>  PARAM(<nParNumber>) 	
nLastArgumenPCOUNT() 
nSourceLine PROCLINE([<nActivation>]) 
cProcedureNaPROCNAME([<nActivation>]) 
CurrentSettiSET(<nSpecifier>, [<expNewSetting>], [<lOpenMode>]) 
<sPath>     STARTPATH() 	
cType       TYPE(<cExp>) 
cType       VALTYPE(<exp>) 
cVersion    VERSION() 
<nCode>     WEIGHTASC(<sString>) 	
<sChar>     WEIGHTCHR(<nCode>) 	
<sTable>    WEIGHTTABLE() 	

Description

Categories INFO is the set of functions for getting some information about values, functions, parameters, and so.

Function ISFIELD()

 ISFIELD(<sVarName>) 	--> TRUE || FALSE

ISFIELD() returns TRUE if a varialbe name <sVarName> is a field name of DB.

Function ISFUNCTION()

 ISFUNCTION(<sVarName>) 	--> TRUE || FALSE

ISFUNCTION() returns TRUE if a varialbe name <sVarName> is a function name.

Function ISMEMVAR()

 ISMEMVAR(<sVarName>) 	--> TRUE || FALSE

ISMEMVAR() returns TRUE if a varialbe name <sVarName> is a memory variable name (PRIVATE, PUBLIC).

Function MEMVARGET()

 MEMVARGET(<sVarName>) 	--> <vVarValue>

MEMVARGET() returns MEMVAR value with name <sVarName>.

Function MEMVARSET()

 MEMVARSET(<sVarName>, <vData>) 	--> TRUE || FALSE

MEMVARSET() sets new MEMVAR value with name <sVarName>.

Function PARAM()

 PARAM(<nParNumber>) 	--> <vParData>

PARAM() returns the data <vParData> value of parameter with number <nParNumber>.

Function WEIGHTASC()

 WEIGHTASC(<sString>) 	--> <nCode>

WEIGHTASC() returns the numeric value <nCode> - weight first character of source string <sString> into weigth table. This code characterize the position character for comparing operation.

Function WEIGHTCHR()

 WEIGHTCHR(<nCode>) 	--> <sChar>

WEIGHTCHR() returns the character <sChar> by them weight characterictics <nCode>.

Function WEIGHTTABLE()

 WEIGHTTABLE() 	--> <sTable>

WEIGHTTABLE() returns the string <sTable> - weight table. This table contain the "weight" all 256 characters and using for comparison operations, for operations with index mode, for regular expressions and more.