|Version 3 (modified by AmigaPhil, 3 years ago) (diff)|
SetFlag -- Set the PERmanent and VOLatile flags of the currently selected message. (V2.0)
Sets the PERmanent and VOLatile flags of the currently selected message. These flags aren't used internally, but may come in handy in complex ARexx scripts.
The value of the permanent flag is stored in the message file comment to ensure it will survive a restart or index rescan. The value of the volatile flag is lost when any of these events happens.
VOL/K/N - value of the VOLatile flag, may be between 0 and 7
PER/K/N - value of the PERmanent flag, may be between 0 and 7
RC is set to 10 if the supplied value is out of the acceptable range.
/* Set the permanent flag */
SETFLAG PER 5