Category: ZIM 4GL Language Reference

The Original Internet Language

$acos

$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…
Read more

$ObjErrHelpFile

$ObjErrHelpFile Provides the name of the help file that the component provided when an exception was raised. Syntax $ObjErrHelpFile Return Value Character string (VARALPHA). Can be reset by an application program. Comments The variable provides the name of the help file that the component provided when an exception was raised because of an  improper operation.…
Read more

$ObjException

$ObjException A variable set when an exception occurs. Syntax $ObjException Return Value Number (LONGINT) Can be reset by an application program. Comments This variable is set only when a Zim error 5207 is generated (when the component application wishes to raise an exception). When an exception is raised, this variable is set as well as…
Read more

$ObjErrHelpTopic

$ObjErrHelpTopic Provides a topic number for the help file provided by $ObjErrHelpFile. Syntax $ObjErrHelpTopic Return Value Number (LONGINT). Can be reset by an application program. Comments The variable provides a topic number for the help file provided by the $ObjErrHelpFile. This topic number does not apply to all help files formats. This variable is set…
Read more

$ObjErrParameter

$ObjErrParameter Provides the number of the parameter that caused an error. Syntax $ObjErrParameter Return Value Number (INT). Can be reset by an application program. Comments If a Zim error of 5201 (Unknown Parameter) or 5202 (Type Mismatch) occurs, the $ObjErrParameter is set to the number of the parameter that caused the error. If the 5201…
Read more

$screenprint

$screenprint Sends a bitmap image of the screen to print; output is sent to either the clipboard or the standard output printer. Syntax $screenprint() Return Value Returns “1” ($True) if no errors were detected before the print job was submitted. Otherwise, returns “0” ($False). See Also $printersetup $screensave PRINT

$ObjGetEvent

Obtain the oldest event generated by a COM component. Syntax $ObjGetEvent (Object) Parameters Object an object variable or formfield of type OLE Return Value Returns a result as per the specification of the object. Note: Zim attempts to convert to the assigned type. Ensure a proper variable type is assigned. Comments COM objects can generate…
Read more

ZimAdmin

O Zim Explore é um console de gerenciamento gráfico simples, mas poderoso, que fornece uma única interface gráfica para configurar, monitorar e gerenciar todos os bancos de dados Zim e todas as máquinas Zim Server em uma rede Zim. Toda a rede Zim é representada como uma visualização em árvore, com cada Zim Server ocupando…
Read more

System Variables

The software maintains a series of system variables that represent either fixed values ($ZimOS) or values that fluctuate dynamically with the current status of the software ($InTransaction) or of application objects (ThisWindow.WindowTag). System variables resemble global variables in nature. The software automatically sets or resets the values of system variables to reflect the status of…
Read more

Editing a Compiled Program

If you attempt to edit a compiled program (using the EDIT command), a message is issued, warning you that the program has been compiled. Knowing that a program you are modifying has been compiled enables you to choose whether to re-compile it or to run the uncompiled version. You must choose one of these alternatives…
Read more

en_CAEnglish