Welcome | spec | C-PLOT | Support | Users | Contact
 
Contents -> def  
spec Help pages

NAME

def and rdef - define a macro

SYNOPSIS

def macname string_constant
 rdef macname expression

DESCRIPTION

The command def defines a macro named macname to be string_constant. Each time macname occurs on input, it will be replaced by string_constant. The definition is made at the time the command is first read, so the macro can be used later in the same statement block in which it is defined and can be redefined within the same statement block.

The command rdef is similar to def, but the macro assignment is not made until the encompassing statements are parsed and executed. Also, although expression is usually a string constant, it needn't be.

SEE ALSO

macros undef lsdef

[Help File Index]


... Meeting the software needs of scientists since 1985 ...

Return to CSS home page ...
Last Formatted Feb 1, 2008
Last Updated 02/28/01
Send comments, queries, suggestions to info@certif.com

© 1995-2003 Certified Scientific Software. All rights reserved