Op Mon, 23 Apr 2012 10:20:14 +0200 schreef Bob Spelten <[email protected]>:

Can anyone explain this?
I found another UPUT/BPUT related strange bug.

I have the following lines in my program:
  FOR i%= 0 TO x(0,1) -1 : BPUT #c3%,aa$
When run this stops with:
  "at line 1252:3 undefined loop control variable"

I am sure this line has worked before.
I only changed the UPUT to BPUT, fixing my earlier problem.

But when I change it to:
  FOR i%= 0 TO x(0,1) -1
   BPUT #c3%,aa$
  END FOR i%
This is processed without an error.
Apparently BPUT can't be used in an in-line loop.
Also after adding the END FOR to the in-line, it produced the error.

This time it's not a Qubide issue because the test was done with QD/SBAS on QPC2.

Bob

--
The BSJR QL software site at: http://members.upc.nl/b.spelten/ql/
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to