Category: ZIM User Documentation

The Original Internet Language

$sinh

Calculates the hyperbolic sine of a number. Syntax $sinh(number) Parameters number a number, or an expression that evaluates to a number, representing an angle (in radians) Return Value Number, with the same number of decimal places as number. Comments This function calculates the hyperbolic sine of a number. Example let vAngle = $sinh(3.000) Evaluates to…
Read more

$tanh

Calculates the hyperbolic cosine of a number. Syntax $tanh(number) Parameters number a number, or an expression that evaluates to a number, representing an angle (in radians) Return Value Number, with the same number of decimal places as number. Comments This function calculates the hyperbolic tangent of a number. Example let vAngle = $tanh(3.000) Evaluates to…
Read more

QUITTRANSACTION

Marks the end of a transaction in progress, discarding the results. Syntax QUITTRANSACTION Comments The QUITTRANSACTION command ends the explicit transaction in progress and discards any changes or updates made to the database since the TRANSACTION command was issued. The QUITTRANSACTION command is ignored in single-user environments. In multi-user systems, QUITTRANSACTION takes effect only if…
Read more

CONTINUE

Restarts a WHILE loop. Syntax CONTINUE Comments Any IF or CASE statements that are still open when a CONTINUE command is executed are automatically closed off when execution returns to the start of the WHILE loop. Example while Salary > 20000   … other commands … if var1 = 1 continue else   … more commands…
Read more

$UserID

The current user’s operating system user ID. Syntax $userid Return Value A number, or $Null. Can be reset by an application program. Description The current user’s operating system user ID; otherwise, $Null. You can use the $UserID and $GroupID system variables to build levels of security into your applications. During any Zim session, you can…
Read more

$filenum

Returns the number of the disk file associated with a specified object. Syntax $filenum(objname) Parameters objname The name of an EntitySet, relationship, application directory, or application document. Return Value For EntitySets, relationships, and application directories, $filenum returns the number associated with the file that contains the specified object. For application documents, $filenum returns the number…
Read more

$ObjSetProperty

Set the properties of an ActiveX object. Syntax $ObjSet[Property] (Object, PropertyName, <>) Parameters Object an object variable or formfield of type OLE PropertyName a string or an expression that evaluates to a string PropertyValue one or more strings, expressions or variables Return Value Returns a result of TRUE if successful. Comments This syntax can be…
Read more

#(Macro call)

Marks a call to a macro in an application program. Syntax #<macroname> where macroname The name of a global or local macro. Return Value A macro call returns the current value of the macro or the null string (”). Comments This command calls a particular macro in an application program. A macro is a dynamically…
Read more

SET XMLHEADER

Controls the display of a XMLHEADER. Syntax SET XMLHEADER ON|OFF Comments When outputting data using the XML or XMLSIMPLE formats, a standard ISO header can be attached to the resulting document. Example set save set output format xmlsimple set XMLHEADER on set output MyDoc list 1 Docs set restore   See Also SET OUTPUT FORMAT

SET CURSOR

Switches the display of the text-entry cursor on or off. Syntax SET CURSOR ON|OFF Comments The CURSOR option is set ON by default. When CURSOR is ON, the text-entry cursor is displayed on the screen when a text form field has focus. You can switch the text-entry cursor off when its logical location is already…
Read more

en_CAEnglish