|Version 2 (modified by AmigaPhil, 16 months ago) (diff)|
AppBusy -- Switch YAM into busy state. (V2.0)
Switches YAM into busy state and optionally displays a short text in the status bar. During this state, YAM won't accept any input.
TEXT - optional, a brief piece of text to display in the status bar while YAM is in busy state; the maximum length of the displayable text depends on the width of the characters used
RC is set to 1 if YAM was already busy.
V2.4 introduced the concept of busy levels, meaning the command is now accumulative: if AppBusy is called several times, an equal number of calls to AppNoBusy must be made for the application to return to normal state.
/* Turn busy mode on */
'APPBUSY "Please wait..."'
/* Say we are doing something different */
'APPBUSY "Making coffee..."'
/* Turn busy mode off */