Author Topic: Embedded numerics in a text field  (Read 5019 times)

0 Members and 1 Guest are viewing this topic.

Offline Jack002

  • Forum Regular
  • Posts: 123
  • Boss, l wanna talk about arrays
    • View Profile
Re: Embedded numerics in a text field
« Reply #15 on: November 16, 2019, 01:45:46 pm »
[Topic creep warning!]
Upon further investigation, on the topic of not jumping out of for loops on a C64 (if you care)

I found we didn't/dont have the EXIT FOR command in c64 basic, but you can test with IF/GOTO within one, and doing that will cause problems.
A FOR loop sets up for returning back until the loop status is cleared. The stack has the address of the FOR statement and it's variable name and value. If you were to just GOTO out of it all that remains on the stack, and if done enough times your stack becomes full

I imagine the EXIT FOR command we have in QB64 will clear that and not be a problem. The issue the never EXIT people have is the (seeming) lack of elegance to see the process of the code. This seems a matter of opinion to me.
QB64 is the best!