home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
chang09m.zip
/
rxademo.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-10-08
|
925b
|
36 lines
/* RxActive Demo */
group = 'test.test.test'
call RxFuncAdd 'CriActiveRegister', 'RXACTIVE', 'CriActiveRegister'
call CriActiveRegister
ret = CriActiveAdd(group, 'm')
Select
When ret = 0 then Say 'Nothing changed with group' group
When ret = 1 then Say 'New group' group 'added'
When ret = 2 then Say 'Changed posting mode of' group
otherwise Say 'Failed to update' group
end
ret = CriActiveFind(group)
Say group ret
ret = CriActiveInc(group)
if ret = 0 then Say 'Failed to add new article to' group
else Say 'Added new article' ret 'in' group
ret = CriActiveFind(group)
Say group ret
if CriActiveSet(group, 10, 100, 'y') = 1 then Say 'Successfully updated' group
else Say 'Failed to update' group
ret = CriActiveFind(group)
Say group ret
if CriActiveDel(group) = 1 then Say 'Successfully removed' group
else Say 'Removing' group 'failed'
Call CriActiveDeregister