mirror of
https://github.com/PDP-10/its.git
synced 2026-04-17 16:53:08 +00:00
92 lines
2.9 KiB
Plaintext
92 lines
2.9 KiB
Plaintext
SUBTTL Set Flag and Set Value Macros
|
||
|
||
;SETFLAG NAME,QUERY,DEFAULT=<ON-or-OFF>
|
||
; Function:
|
||
; This macro sets the value of an assembly parameter which must be ON (=1) or OFF (=0).
|
||
; A default value may be supplied if desired. The user is queried for a value. If
|
||
; he/she uses a CR, the default will be used; otherwise, he/she must answer with YES (Y)
|
||
; or NO (N).
|
||
; Inputs:
|
||
; NAME: The flag to be defined. It must be undefined before this macro is used.
|
||
; QUERY: A message used to prompt the user. It should be enclosed in quotes.
|
||
; DEFAULT (Optional):
|
||
; If supplied, it is the default value of the flag and must be ON or OFF.
|
||
|
||
DEFINE SETFLAG NAME,*QUERY,*+DEFAULT
|
||
.TAG RETRY
|
||
PRINTC |