Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
77 user(s) are online (65 user(s) are browsing Forums)

Members: 0
Guests: 77

more...

Support us!

Headlines

 
  Register To Post  

DOS script testing for return code
Just can't stay away
Just can't stay away


See User information
How does one test for a return code (what operators work ?)
say for WaitForPort SomePort

IF `WaitForPort SomePort`
does not seem to work. Using EQ, GT as in
IF `WaitForPort SomePort` EQ "0" ; ( or GT) neither

Go to top
Re: DOS script testing for return code
Just can't stay away
Just can't stay away


See User information
@JosDuchIt

; Script
WaitForPort SomePort
IF WARN
ECHO "Port not found"
ENDIF

Amiga X1000 with 2GB memory & OS 4.1FE + Radeon HD 5450

Go to top
Anonymous
Re: DOS script testing for return code
@JosDuchit

Seems like you mix AmigaDOS and Arexx

Happens to me all the time aswell

Go to top
Re: DOS script testing for return code
Just can't stay away
Just can't stay away


See User information

@Raziel
Quote:

Seems like you mix AmigaDOS and Arexx

Wished it was the only thing i do mix up

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1 12% (26)
Pegasos2 3% (8)
X5000 22% (48)
X1000 14% (30)
A1222 8% (19)
Sam 440/460 18% (40)
Classic PowerPC Amiga 2% (6)
WinUAE emulation 7% (16)
Qemu emulation 9% (21)
Total Votes: 214
The poll closed at 2025/12/1 12:00
6 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project