TIP: Click on subject to list as thread! ANSI
echo: amiga
to: Joacim Melin
from: mark lewis
date: 2018-01-08 19:31:40
subject: Arexx noob needs help

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)
SEEN-BY: 15/0 19/36 34/999 90/1 116/18 120/331 123/140 153/7715 218/700 220/60
SEEN-BY: 222/2 229/426 230/150 250/1 261/38 100 266/404 512 267/155 275/100
SEEN-BY: 280/464 1027 282/1031 1056 291/1 111 320/119 219 340/400 342/13
SEEN-BY: 393/68 396/45 633/0 267 280 281 412 640/384 712/620 848 770/1 801/161
SEEN-BY: 801/189 2320/100 105 3634/12 5020/1042
@PATH: 3634/12 261/38 712/848 633/280 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.