Categoria: ZIM 4GL Language Reference

The Original Internet Language

$DBPath

$DBPath File system path to the directory in which the application database is stored. Syntax $dbpath Return Value A character string. Cannot be reset by an application program. Description The $DBPath function is set to the value of the DBPath entry in the registry, or the value of the [ZIM] environment variable. If neither of…
Leia mais

$ImagePath

Path to the disk directory containing image files for use in forms. Syntax $imagepath Return Value A character string. Cannot be reset by an application program. Description $ImagePath is set to the value of the ImagePath entry in the registry. If no value is provided in the file, the variable is set to the null…
Leia mais

$ObjErrCode

Provides the failure error code returned by a component function. Syntax $ObjErrCode Return Value Number (LONGINT). Can be reset by an application program. Comments The variable gives the failure error code returned by a component function. This variable is set to $null when a component operation triggers a Zim error and is set to a…
Leia mais

CLEAR

Clears the contents of the current window. Syntax CLEAR   See Also FORM DISPLAY SCREEN CLEAR WINDOW CLEAR

$ObjDestroy

Destroy an ActiveX object. Syntax $ObjDestroy (Object) Parameters Object a component object variable or formfield of type OLE Return Value Returns a boolean; TRUE if the object was destroyed. In Zim 7.1, setting an object to $Null will also destroy it.  This is the preferred method of releasing an object.  For example: Let MyObj =…
Leia mais

EXPLERR

Explains the most likely cause of the last error to occur during the application session. Syntax EXPLERR   See Also $ErrCode $LastErrCode $LastErrMessage DESCERR

$ClipPath

File system path to the directory to be used for Cut, Copy, and Paste operations that involve user interface objects in the Screen Painter. Syntax $clippath Return Value A character string. Cannot be reset by an application program. Description $ClipPath is set to the value of the ClipPath entry in the registry, or the value…
Leia mais

$ObjErrObjectType

Provides the name of the ActiveX object that triggered an exception. Syntax $ObjErrObjectType Return Value Character string (VARALPHA). Can be reset by an application program. Comments The variable gives the name of the ActiveX object that triggered an exception in the component. This variable is set to $null when a component operation triggers a Zim…
Leia mais

$ObjErrDescription

Provides a description of the error that triggered an exception. Syntax $ObjErrDescription Return Value Character string (VARALPHA). Can be reset by an application program. Comments The variable gives a meaningful description of the error that triggered an exception in the component. This variable is set to $null when a component operation triggers a Zim error…
Leia mais

$acos

Calculates the arccosine of a number. Syntax $acos(number) where number a number, or an expression that evaluates to a number Return Value Number, with the same number of decimal places as number. Comments Use $acos to calculate the arccosine (in radians) of a number. The value returned by this function has the same number of…
Leia mais

pt_BRPortuguese