| iMatix home page
| Libero home page | Libero documentation
| << | < | > | >>
Libero Libero
Version 2.32

Read-Only Variables

You can use these read-only variables anywhere in a schema:

$author
The value of the -author option.
$date
The current date in a shortened form: 'yy/mm/dd'. Libero always uses this date format for short dates.
$time
The current time in a shortened form: 'hh:mm'.
$fulldate
The current date in a long form: 'dd Mmm, yyyy'. The month is abbreviated to 3 letters, in English.
$fulltime
The current time including seconds: 'hh:mm:ss'.
$out_count
The number of lines output so far, including the current line. This starts at 1.
$dialog
The name of the dialog file being processed, without extension.
$schema
The name of the schema being read. This is the value of the -schema option.
$source
The name of the source file for dialog, without an extension. This name is derived as follows: normally, it is the same as the dialog file name. If -plusd was specified, it is formed by adding 'D' to the dialog file name. If -source=xxx was used, this explicitly tells the source name to use.
$style
The value of the -style option.
$defaults
The number of the defaults state, or zero if none was specified.
$events
The number of events in the dialog. This is used to dimension various tables.
$maxaction
The maximum action number (largest vector). This is used to dimension various tables.
$modules
The number of modules in the dialog. This is used to dimension various tables.
$states
The number of states in the dialog. This is used to dimension various tables.
$vectors
The number of action vectors in the dialog.
$version
The current Libero version number as 4 characters: 'n.nn'; e.g. '2.32'.

Additionally, you can use $comma, $name, $number, $offset, $tally, $row, and $overflow within a :do block. These variables are explained later. You cannot define a variable with the name of a standard Libero variable.


| << | < | > | >>
| Libero Technical Reference | Read-Only Variables | Schema Commands | Syntax Of Expressions | Syntax Of Logical Conditions | Control Variables | Standard :do Conditions | Extra Variables In A :do Loop | General Rules for Code Generation | Generating Module Stubs | Generating COBOL Code | The State Machine Algorithm | Compiled-In Limitations | Quick Reference - Libero Schema Language
iMatix
Copyright © 1996-97 iMatix