Am 28.06.21 um 15:49 schrieb pjwitte via Ql-Users:
On 28/06/2021 13:10, desin via Ql-Users wrote:
Am 28.06.21 um 12:31 schrieb Bob Spelten via Ql-Users:
"RETurn not in procedure or function"
<>
Bob

hello

found some oddities with Exists and SMSQE

10 if exists ("TK2_EXT"):print "TK2"
20 if exists ("MODE")   :print "mode "
30 :
40 print dig_it
50 :
60 def fun dig_it
70 ret 1
80 end def

run
so far so good

now delete line 10
run again
error return not in function

turns out the error is triggered if the length of the
keyword is even

Greetings from  Switzerland

    Markus

Yes, that was my first thought too: A stack problem in one of the m/c functions

Per

it must be the parser / interpreter that throws the error
because a
print dig_it
works
i was able to reproduce it on QPC1 / SMSQE 2b93
QDOS is OK

Markus


_______________________________________________
QL-Users Mailing List

Reply via email to