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