X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=doc%2Futilities.texi;h=bd5b10c9e2bebe0699ccfc408e875fb94d3e55d5;hb=39e99af63f3280cd2d2d822eb2734371278de9df;hp=bb248454abfad21b03aff6fddd6826a0f4c56573;hpb=135639cb725a72fca0d315b1176d570d7bcf5897;p=pspp diff --git a/doc/utilities.texi b/doc/utilities.texi index bb248454ab..bd5b10c9e2 100644 --- a/doc/utilities.texi +++ b/doc/utilities.texi @@ -534,6 +534,12 @@ SET /SAFER=ON /LOCALE='@var{string}' +(macros) + /MEXPAND=@{ON,OFF@} + /MPRINT=@{ON,OFF@} + /MITERATE=@var{number} + /MNEST=@var{number} + (settings not yet implemented, but accepted and ignored) /BASETEXTDIRECTION=@{AUTOMATIC,RIGHTTOLEFT,LEFTTORIGHT@} /BLOCK='@var{c}' @@ -543,10 +549,6 @@ SET /COMPRESSION=@{ON,OFF@} /CMPTRANS=@{ON,OFF@} /HEADER=@{NO,YES,BLANK@} - /MEXPAND=@{ON,OFF@} - /MITERATE=@var{number} - /MNEST=@var{number} - /MPRINT=@{ON,OFF@} @end display @cmd{SET} allows the user to adjust several parameters relating to @@ -932,6 +934,32 @@ Contrary to intuition, this command does not affect any aspect of the system's locale. @end table +The following subcommands affect the interpretation of macros. + +@table @asis +@item MEXPAND +@anchor{SET MEXPAND} +Controls whether macros are expanded. The default is ON. + +@item MPRINT +@anchor{SET MPRINT} +Controls whether the expansion of macros is included in output. This +is separate from whether command syntax in general is included in +output. The default is OFF. + +@item MITERATE +@anchor{SET MITERATE} +Limits the number of iterations executed in @code{!DO} loops within +macros. This does not affect other language constructs such as +@cmd{LOOP}. This must be set to a positive integer. The default is +1000. + +@item MNEST +@anchor{SET MNEST} +Limits the number of levels of nested macro expansions. This must be +set to a positive integer. The default is 50. +@end table + The following subcommands are not yet implemented, but PSPP accepts them and ignores the settings. @@ -944,10 +972,6 @@ them and ignores the settings. @itemx COMPRESSION @itemx CMPTRANS @itemx HEADER -@itemx MEXPAND -@itemx MITERATE -@itemx MNEST -@itemx MPRINT @end table @node SHOW @@ -971,6 +995,10 @@ SHOW [FORMAT] [FUZZBITS] [LENGTH] + [MEXPAND] + [MPRINT] + [MITERATE] + [MNEST] [MXERRS] [MXLOOPS] [MXWARNS]