Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
56 user(s) are online (30 user(s) are browsing Forums)

Members: 1
Guests: 55

jarokuczi, more...

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

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
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-2023 The XOOPS Project