Category: ZIM 4GL Language Reference

The Original Internet Language

INTERSECT

INTERSECT Isolates the common members of two or more result sets. Syntax set1 INTERSECT set2 Parameters set1 A result set produced from the execution of a set-producing command. All sets in the command must have the same component structure. set2 A result set produced from the execution of a set-producing command. All sets in the…
Read more

MINUS

MINUS Removes the members of one or more result sets from a another result set. Syntax set1 MINUS set2 Parameters set1 A result set that resulted from the execution of a set-producing command. The sets must all have the same component structure. set2 A result set that resulted from the execution of a set-producing command.…
Read more

$ProgramFileName

Syntax $ProgramFileName Return Value Character string (varalpha). Cannot be reset by an application program. Comments Contains the file system name of the disk file that contains the currently executing program. AREAS.ZIM or DIRS.ZIM entries that apply to the file are expanded, as are the special prefix characters (i.e. #,),^,~,”). See Also $filepath

$ScreenWidth

The size of the terminal screen in character columns. Syntax $screenwidth Value A number. Cannot be reset by an application program. Description $ScreenWidth gives the width of the terminal screen in character columns. In graphic environments, the number of columns depends on the font and point size used in the application window (BACKSCREEN). See Also…
Read more

$ScreenHeight

The size of the terminal screen in character rows. Syntax $screenheight Return Value A number. Cannot be reset by an application program. Description $ScreenHeight gives the height of the terminal screen in character rows. In graphic environments, the number of rows depends on the font and point size used in the application window (BACKSCREEN). See…
Read more

$TimeSecs

The elapsed number of seconds since 12:00 am, 1 January 1970. Syntax $timesecs Return Value A number. Cannot be reset by an application program. Description The number of seconds that have elapsed since 12:00 am on 1 January 1970. This variable is useful for measuring the number of seconds between two events. See Also $Date…
Read more

$True

A binary true value for comparison. Syntax $true Return Value Binary true (“1”). Cannot be reset by an application program. Description A “true” value for comparisons in logic expressions. Example if Event.ScrollingKey = $True  … commands … endif See Also $False $Null

$Date

The current date. Syntax $date Return Value A number in date format (YYYYMMDD). Cannot be reset by an application program. Description The current date, as set in the operating system. Example From  the zim prompt: out $date This extracts the DATE from the TIMESTAMP and then prints the proper $DayName. OUT $DayName($GetUTCDate($TimeSecs)) See Also $adddays…
Read more

$WindowPSWidth

The logical width of the current window in columns. Syntax $window pswidth Return Value A number. Cannot be reset by an application program. Description The logical width of the current window in character columns. The $WindowPSWidth function is reset when the current window changes. See Also ThisWindow WINDOW SET CURRENT WINDOW SET OUTPUT

$WindowPSHeight

The logical height of the current window in rows. Syntax $windowpsheight Return Value A number. Cannot be reset by an application program. Description The logical height of the current window in character rows. The $WindowPSHeight function is reset when the current window changes. See Also ThisWindow WINDOW SET CURRENT WINDOW SET OUTPUT

en_CAEnglish