home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
viscobv7.zip
/
vac22os2
/
ibmcobol
/
macros
/
uncheck.lx
< prev
next >
Wrap
Text File
|
1998-02-24
|
565b
|
24 lines
/* A macro to uncheck all of the menu items whose id's are held in the
global variable xxxdddd.menu_ids
where xxx is the argument to this routine
and dddd is the document number. */
parse arg qualifier
'extract docnum into docnum'
qualifier = strip( qualifier )
'extract global.' || qualifier || docnum || '.menu_ids into menu_ids' ;
i = 1 ;
thisone = word( menu_ids , i ) ;
do while ( thisone \= '' ) ;
'set menucheck.' || thisone 'off' ;
i = i + 1 ;
thisone = word( menu_ids , i ) ;
end ;
return ;