Op Sat, 14 Nov 2009 09:46:47 +0100 schreef Tony Firshman
<t...@firshman.co.uk>:
gdgqler wrote, On 14/11/09 08:15:
The way I debug BASIC programs is to use a routine called Puse, which
causes a pause.
... and of course further de-bugging info could be added, like printing
critical global variables each time.
Tony
I combine the two suggestions into one T(est)PAUSE procedure.
Making use of the fact that Qmenu is always present in my QL's.
At various points in the SBasic I put a call like:
TPAUSE title$,message$
Where title$ identifies the Proc/Fn I'am coming from and message$ can be
something like: "var a$: " &a$
...
DEF PROC TPAUSE (t$,m$)
y%=ITEM_SELECT(t$,m$,'OK')
END DEF
Bob
--
The BSJR QL software site at: http://members.chello.nl/b.spelten/ql/
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm