Forums: Forum of Decimal BASIC (Thread #38685)

TIMEOUT option of SEIZE (2017-05-31 22:23 by TomL_12953 #79910)

I'm using ParactBASIC 0.9.0.2. I believe the TIMEOUT option on the SEIZE statement is supposed to raise an error if the SEIZE hasn't been completed in a given amount of time. Why doesn't following program come up with an error when PrintOut isn't released in less than one second?

PARACT p1
DECLARE NUMERIC i
START p2
SEIZE PrintOut TIMEOUT 1
FOR i=1 TO 1000000000
PRINT i
NEXT i
END SEIZE
END PARACT
PARACT p2
DECLARE NUMERIC i
SEIZE PrintOut TIMEOUT 1
FOR i=1000000001 TO 2000000000
PRINT i
NEXT i
END SEIZE
END PARACT

Reply to #79910×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: TIMEOUT option of SEIZE (2017-06-02 14:51 by SHIRAISHI Kazuo #79917)

Thanks for notice.
TIMEOUT in a SEIZE statment has been unimplemented.
It can not work for the present.

Reply to #79910

Reply to #79917×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login