Re: [Ql-Users] RET_STK and debugging SBASIC code

2014-07-09 Thread Wolfgang Lenerz
Hi Michael, PICK$ will select the nth item from the list that follows the n. Consider PICK$(n, aaa, bbb, ccc, ddd, etc) If n is 1 then PICK$ will return aaa because it is the 1st item in the list. If n is 5 then etc would be returned because it is the 5th item. The parameters of

[Ql-Users] RET_STK and debugging SBASIC code

2014-07-08 Thread Michael Bulford
Hi Wolfgang, PICK$ will select the nth item from the list that follows the n. Consider  PICK$(n, aaa, bbb, ccc, ddd, etc) If n is 1 then PICK$ will return aaa because it is the 1st item in the list.   If n is 5 then etc would be returned because it is the 5th item.  The parameters of

[Ql-Users] RET_STK and debugging SBASIC code

2014-07-05 Thread Michael Bulford
Hi all, I believe I have discovered a very good way of using the RET_STK function DEFine FuNction bug(p1$, p2$, p3$, p4$, p5$) LOCal n, x$    PRINT #0,PAUSEd at line ! RET_STK !    FOR n = 1 TO 5   x$ = PICK$(n, p1$, p2$, p3$, p4$, p5$)   IF PARNAM$(n) OR x$: PRINT #0,!! PARNAM$(n) =