Categoria: ZIM 4GL Language Reference

The Original Internet Language

SYSTEM

Sends a command to the operating system. Syntax SYSTEM expression [RESET|CLOSE] [INVISIBLE] [BACKGROUND | REMOTE] Parameters expression Any expression that evaluates to a character string. Expression may include constants, variables, parameters, functions, and so on. RESET Causes all of the software’s internal data buffers to be flushed to disk. CLOSE The CLOSE option does not…
Leia mais

ERASE

Erases an object from an application directory. Syntax #1 Erases an object from an application directory. ERASE object name [FROM dirname] [KEEP] Parameters object One ofconstant, directory, display, document, EntitySet, form, menu, relationship, role, set, variable, window name The name of the object. dirname The name of the application directory from which object is erased.…
Leia mais

CONNECT

Establishes a connection to Zim Integrated Server or an SQL database. Syntax connect to [ “ZIMSERV” | “JDBCSAM” | alias name ] using (database name, SQL server name, userid, password, server name, domain name) alias name is or as defined in the configuration file “zimalias.zim”. database name is the logical database name is either the…
Leia mais

GOTO

Branches to another location in an application program. Syntax GOTO labelname Parameters labelname An identifier that has been declared as a label in the procedure executing the GOTO command. Comments GOTO can be used only to branch forward or backward within the same procedure. To declare a label, type the labelname, followed by a colon,…
Leia mais

REPORT FROM

Selects data for a report and specifies overall report format. Syntax REPORT [num] FROM [setspec] [GRAPHIC [TEMPLATE name]] [orientation] [PAUSE n] [format options] [-> clause] Parameters num Places a limit on the number of records from setspec used in the report. Num can be an integer constant (e.g., 15, 200), a variable, form field, menu…
Leia mais

CREATE

Creates an object in an application directory. Syntax #1 Creates an object in an application directory. CREATE object name [IN dirname][$fn <filenumber>] [DELETE | KEEP] CREATE object name [IN dirname] Parameters object [one_fourth] One of constant, directory, display, document, entityset, form, menu, relationship, role, set, variable, window name The name to be given to object.…
Leia mais

IF

Enables conditional execution of commands. Syntax IF expression1 commands1 [ ELSEIF expression2 commands2] [ELSE commands3] ENDIF Parameters expression1 and expression2 Logic expressions (using conditional or Boolean operators). commands1 Commands to be executed if expression1 is logically true. Execution then resumes at the first command following ENDIF. commands2 Commands to be executed if expression1 is false…
Leia mais

CREATE MEMORY SET

Creates a memory set based on the telemetry from a connector. Syntax CREATE MEMORY SET FROM «connector document» Parameters connector document The name of a connector document. Comments The CREATE MEMORY SET command converts the information in a 1202 message into an in memory zim EntitySet. It creates the set and field definitions at run…
Leia mais

BREAK (Reports)

Breaks the body of a report into summary groups. Syntax BREAK level expression \ [HEADING [orientation] reportitem \ [:format:] [WHERE Boolean Expression]] \ [FOOTING [orientation] reportitem [:format:] \ [WHERE Boolean Expression>] Parameters level The break level number (an integer greater than or equal to zero). In the hierarchy of breaks, the higher the level number,…
Leia mais

ON

Declares a block of commands to be a handler for a given exception condition. Syntax ON condition commands ENDON Parameters condition   One of BREAK Handles a terminal or process break condition (i.e., the user pressing the “break” key). DEADLOCK Handles a deadlock condition (i.e., $ErrCode=2010). ERROR Handles an error condition. WARNING Handles a warning…
Leia mais

pt_BRPortuguese