RATS 10.1
RATS 10.1

Instructions /

DEFAULT Instruction

Home Page

← Previous Next →

DEFAULT  instruction name(options)
 

DEFAULT is rarely used, and thus is no longer documented in the Reference Manual.

 

Most instruction options have a default setting, which RATS uses unless you specify otherwise. The DEFAULT instruction lets you change one or more of these default values temporarily. The changes remain in effect until you quit RATS, or change the defaults again with another DEFAULT instruction.

Parameters

The parameter field for DEFAULT looks like an instruction plus its option field, for instance, GRAPH(NODATES). You can change more than one option for a given instruction with a single DEFAULT, but you need a separate DEFAULT for each separate instruction whose defaults you wish to change.
 

DEFAULT only affects the options you specify—other default settings for the instruction remain unchanged.

Examples

default  print(nodates)

default  graph(nodates)


 

These two instructions set NODATES as the default option for PRINT and GRAPH. Subsequent PRINT and GRAPH instructions will, by default, label output by entry number rather than dates.


 

default linreg(noprint,smpl=regsampl)

 

This changes two of the default options for the LINREG instruction

The default print option becomes NOPRINT, so you would need to include a PRINT option in a LINREG instruction to have it display the output.

The SMPL=REGSAMPL option means that subsequent LINREG instructions will use REGSAMPL as the SMPL series.

 


Copyright © 2025 Thomas A. Doan