Re: GOSUB stack


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Grant Foraker on September 25, 2015 at 13:28:16:

In Reply to: Re: GOSUB stack posted by Barbara Brazil on September 24, 2015 at 14:07:16:

The POPALL worked a few times:) Usually ended with a GOSUB STACK UNDERFLOW.

I'll take a look at the suggested programs.
--------------------------------------------------------------
Thanks for the reminder on the "Flush Events". My attempts at FOCUS hasn't gone well:) Lots of looping with no idea of which event triggered what. I've used the EventSub but not the PAUSE (5)

--------------------------------------------------------------------
My nightmare/shower program, it goes like this (in part)...

MainProgram:
For x = 1 to 100
logic to auto click button1
next x
run 'QMONITOR'

EventHandler:
case button1
gosub button1wasclicked
break

button1wasclicked:
let mbmsg$ = str(x) + ' interation'
msgbox mbmsg$
return

Aren't I going to have 100 MSGBOX's displayed on my screen?
----------------------------------------------------------------------


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]