home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 1411 
 mark lewis to Joacim Melin 
 Arexx noob needs help 
 08 Jan 18 19:31:40 
 
 On 2018 Jan 08 20:03:30, you wrote to All:

 JM> * testscript för loop */
 JM> do forever
 JM> if ~show('L','rexxsupport.library') then
 JM> call addlib('rexxsupport.library',0,-30)
 JM> 'execute s:hej.scr >Env:minoutput'
 JM> call delay(250)
 JM> end

 JM> Can anyone explain what I'm doing wrong here?

think about your logic... for example, how many times are you going to load
that rexxsupport.library? load it once... before the do loop... also, use
proper indention... spaces, not tabs, preferrably... i can't tell much of your
loop but i can see this part...

  * testscript för loop */
  do forever
    if ~show('L','rexxsupport.library') then
      call addlib('rexxsupport.library',0,-30)
    'execute s:hej.scr >Env:minoutput'
    call delay(250)
  end

i'm not sure if the "end" statement goes with the "do" or the "if"... proper
indention will show you the flow of the code...


)\/(ark

Always Mount a Scratch Monkey
Do you manage your own servers? If you are not running an IDS/IPS yer doin' it
wrong...
... Cats & Dogs are Household Schedulers
---
 * Origin:  (1:3634/12.73)

<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca