Specifies how the FieldMask is treated in a LIST command.
Syntax
SET OUTPUT MASKFIELD ON|OFF
Comments
The OUTPUT MASKFIELD option is set ON by default.
Normally, the FieldMask is used to format data output from the database using the LIST command. To suppress the FieldMask, set OUTPUT MASKFIELD to OFF.
The OUTPUT MASKFIELD setting is unaffected by the SET SAVE and SET RESTORE commands.
See Also
LIST
Output Masks
Traces the execution of explicit transaction commands.
Syntax
SET TRANSACTION FLOW ON|OFF
Comments
The execution of explicit transactions (implemented using TRANSACTION, ENDTRANSACTION, and QUITTRANSACTION commands) is traced through the display of special messages, even in single-user systems.
Implicit transactions are not traced.
See Also
$InTransaction
ENDTRANSACTION
QUITTRANSACTION
SET TRACEOUTPUT
TRANSACTION
Controls the use of a pointing device in Zim for Windows.
Syntax
SET MOUSE ON|OFF
Comments
The MOUSE option is set ON by default.
When MOUSE is ON, the use of a pointing device is enabled for the client area of Zim windows. The application can then respond to mouse-button accelerators that occur while the focus is in a window.
The SET MOUSE command has no effect on standard windows. In such windows, it is assumed that a pointing device is active at all times, when available.
See Also
Event
FORM INPUT
MENU INPUT
Controls the use of the escape character in quoted character strings.
Syntax
SET ESCAPECHAR ON|OFF
Comments
The ESCAPECHAR option is ON by default.
When ESCAPECHAR is ON, the backslash is treated as the escape character inside quoted character strings. Setting ESCAPECHAR to OFF causes the backslash to be treated as data. The OFF setting is particularly useful in operating environments where the backslash character is used as the path separator character.
See Also
\ (Escape)
Sets the format of the application document.
Syntax
SET DOCUMENT FORMAT UTF-8|ANSI|DBCHARSET
Parameters
UTF-8 | Selects the UTF-8 character set and writes a UTF-8 BOM at the beginning of the file. |
ANSI | Selects the ANSII character set. |
DBCHARSET | Selects the character set used by the current database. |
Comments
Identifies the character set used by application documents.
See Also
$DBCharSet
Activates or deactivates the use of the message window for system messages.
Syntax
SET MESSAGES WINDOW ON|OFF
Comments
The MESSAGES WINDOW option is set OFF by default.
When MESSAGES WINDOW is OFF, system messages are displayed line-by-line in the application window (BACKSCREEN). By setting MESSAGES WINDOW ON, you enable a pop-up window for the display of all system messages that are not currently suppressed.
See Also
SET ERRORS
SET INFORMATION
SET MESSAGES
SET OUTPUT
SET WARNINGS
Makes a specified result set the current set.
Syntax
SET CURRENTSET setname
Parameters
setname | The name of an existing result set. |
Comments
Normally, the current set is the result set produced as a result of the last FIND command executed. SET CURRENTSET enables you to select another existing result set to use as the current set.
The SET CURRENTSET command takes effect immediately upon parsing or compilation, not just when the compiled program is executed.
The SET CURRENTSET command is not affected by the SET RESET and SET RESTORE commands.
Example
procedure test3 (a,b)
if a = b
find Employees -> EmpSet
else
find Departments -> DeptSet
endif
if a = b
set currentset EmpSet
let a = LastName
endif
The SET CURRENTSET command ensures that the correct set is recognized as the current set.
Specifies how a field’s ListWidth is treated in a LIST command.
Syntax
SET OUTPUT FIELDLISTWIDTH ON|OFF
Comments
The OUTPUT FIELDLISTWIDTH option is set ON by default.
When OUTPUT FIELDLISTWIDTH is ON, the LIST command formats output according to each field’s established ListWidth. Setting FIELDLISTWIDTH to OFF causes the software to ignore the established ListWidth and to format all fields to their maximum length. Fields with an established ListWidth of -1 therefore appear in the output.
See Also
LIST
SELECT
Controls how special characters in unstructured application documents are treated.
Syntax
SET SPECIALSCAN ON|OFF
Comments
The SET SPECIALSCAN command is set ON by default.
When SPECIALSCAN is ON, the backslash () and asterisk (*) characters have special meanings when they appear in an unstructured application document that is being used as a data source in an ADD or CHANGE command. Setting SPECIALSCAN to OFF causes the backslash and asterisk to be treated as normal characters by these commands.
See Also
ADD
CHANGE
SET DELIMITER
Translates carriage return/line feed sequences.
Syntax
SET EOLNTRANSLATE string
Parameters
string | Any expression that evaluates to a character string from one to five characters in length. If string is longer than five characters, only the first five characters are used. |
Comments
If the software encounters a carriage return/line feed combination in a database field when outputting that field to an application document, the carriage return/line feed combination is substituted for string. If the software encounters string during a read of an application document, the string generates a carriage return/line feed combination.
In operations that write data to an application document, the software substitutes the specified EOLTRANSLATE string for each carriage return/line feed sequence detected in the output from a single field. In operations that read data from an application document, the software substitutes a carriage return/line feed sequence for each EOLTRANSLATE string it detects in a single field.