Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
64 user(s) are online (61 user(s) are browsing Forums)

Members: 0
Guests: 64

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
Re: DOS script testing for return code
Home away from home
Home away from home


See User information
@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 )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project