Categoria: ZIM User Documentation

The Original Internet Language

$concat

Builds a single character string out of separate character strings. Syntax $concat(string[«,string»]) Parameters string A character string or an expression that evaluates to a character string. Each string must be separated from the next by a comma (,). Return Value Character string. Comments The function builds a single character string out of separate strings. Example…
Leia mais

RENAME

Changes the name of certain objects. Syntax RENAME object oldname AS newname [IN directory] Parameters object One of CONSTANT, DIRECTORY, DISPLAY, DOCUMENT, ENTITYSET, FORM, RELATIONSHIP, ROLE, SET, VARIABLE, WINDOW oldname The current name of object. newname The new name for object. The new name must not be the name of an existing object. directory The…
Leia mais

$modulus

Calculates one number modulo another. Syntax $modulus(expr1,expr2) Parameters expr1 a number, or an expression that evaluates to a number expr2 a number, or an expression that evaluates to a number Return Value Number, with no decimal places. Comments Expr1 modulo expr2 is the remainder of the division of expr1 by expr2. Before the operation is…
Leia mais

PAGE LEFT

Specifies the vertical heading for each page in a column-oriented report. Syntax PAGE LEFT reportitem [:format:] Parameters reportitem Any valid expression. Complex expressions must be enclosed in parentheses. When you specify more than one expression, each must be separated from the next by at least one space. format A set of instructions defining the format…
Leia mais

FORM REPORT

Writes the values of the fields in the current form or display to the current output device. Syntax FORM REPORT [ PAGESIZE n] Parameters PAGESIZE n The number of lines ( n) that constitute one “page” of output. The default PAGESIZE is 66 lines. The output is padded with blank lines if the specified page…
Leia mais

WHERE

Controls the evaluation of other expressions. Syntax expression1 WHERE expression2 Parameters expression1 A value expression. expression2 A logic expression using conditional and Boolean operators. Return Value If expression2 is logically true, the value of expression1; otherwise, $Null. Example let i = { 1 where Age < 10, 2 where Age between 10 and 30, 4 where…
Leia mais

TRANSACTION

Starts an explicit transaction. Syntax TRANSACTION [READ] Parameters READ This option is ignored. Comments TRANSACTION marks the start of a sequence of commands that are to be handled as a single transaction. The transaction can be terminated either with an ENDTRANSACTION or  with a QUITTRANSACTION command. TRANSACTION sets the system variable $InTransaction to $True. Example…
Leia mais

$UserFunction

Invokes a special function built by the user. Syntax $userfunction(expression-1, expression-2, …) Parameters expression-1 Any value, or an expression that yields any value. expression-2 Any value, or an expression that yields any value. Return Value The return value is determined by the type and length of expression-1. Comments for Windows Environments On Windows environments, the…
Leia mais

ZIMPROMPT

ZimPrompt is a text-based utility that provides a basic language interaction with a Zim:X database. zimprompt -n database [-u user] [-p password] [-c command] [-o port] [-h host name] [-w work path] Parameters -n database is one of the database names provided in the zimdb.zim configuration file when Zim Server was started. This parameter is…
Leia mais

GENERATE

Generates application code from a template. Syntax GENERATE zimprog [ (parm)|string ] Parameters zimprog The name of an application document that contains an application program template. parm An expression whose value is to be passed to zimprog. Multiple parameters must be separated from one another by commas. string A string that is passed to zimprog…
Leia mais

pt_BRPortuguese