Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Heiroglyph on September 13, 2014, 08:30:50 PM

Title: AmigaDOS command problems
Post by: Heiroglyph on September 13, 2014, 08:30:50 PM
I'm trying to use the break command and not getting the expected results.

According to several sources, this should work on 3.1.

In one shell window, type:
wait 5 Min

In another:
break 'STATUS Com=Wait'

But I just get an error: bad number

Where am I wrong?

If I break by task number, I can break it with no problems.

Thanks,
John
Title: Re: AmigaDOS command problems
Post by: Heiroglyph on September 13, 2014, 08:35:53 PM
Damn I hate it when I figure things out RIGHT after posting...

I was being too literal, I needed to read the docs for status itself.

Also the ticks were wrong in some docs. I needed back tick ` and not apostrophy '

it should have been:
break `status command wait`
Title: Re: AmigaDOS command problems
Post by: Oldsmobile_Mike on September 14, 2014, 07:11:55 AM
Sometimes writing things out helps with problem-solving, so in that sense writing your post probably helped.  Been there, done that!  ;)