DESL


DESL Home | Website Outline | Commands | Examples | Download | Contacts

( CP) Details concerning the DESL create command.


(See example(s) of the use of the create command.)
[Jump to the list of available options.]
General description of the create command :

The "create" command (and its complimentary command "endcreate") turn on a situation in DESL in which a file, named immediately after this command on the same line, is created with or appended with any number of lines of literal input and/or substituted register names which will follow on the next lines until a line beginning with the "endcreate" command is encountered.

Any register names which may be in lines entered in the creation mode are NOT substituted for at the time of entry unless the evaluate or evalapp option is also specified. If register names are not being evaluated at this time the ultimate context of the lines being entered determine when any registers will be replaced with their definitions.

If the append or evalapp option follows the file name which follows the create command name then the named file will be appended with the lines to follow. If the file does not exist it will be created.

.

(Begin modifications on 112502)

Normally the "create" command will copy the encountered lines into a specified file line by line. If the special directive !concat is encountered, however, "create" will begin a mode in which the fields read on each new line will be concatenated onto a single line in the file being written. Once the !concat is encountered this mode will remain in effect until the !verbatim directive is seen, at which time the original line by line mode will be restored.

It is important to realize that the state created by the !concat or !verbatim directives will remain in effect throughout the DESL session until changed. This implies that a subsequent "create" command will still be under the influence of the most previous state invoked. Each of these "create" directives begins a state whose influences are seen AFTER the next line encountered.

Each "create" directive must be the only item on a line which would otherwise be transferred to the file being written.

(End modifications on 112502)

.

(Begin modifications on 071703)

Comment lines (lines begun with an asterisk + 1 or more blanks) encountered during the DESL input sequence are now retained in any file being created.

(End modifications on 071703)

[Top][Bottom][Option list]


DESL Home | Website Outline | Commands | Examples | Download | Contacts




ViGYAN, Inc.


DESL Manager at ViGYAN, Inc.

30 Research Drive
Hampton, VA 23666
Voice: (757) 865-1400
Toll Free: (800) 288-3998
FAX: (757) 865-8177

© 1998 ViGYAN, Inc.