Nested Gosubs

Tim Fischer tim.fischer at trinitytransport.com
Fri Oct 29 08:59:47 PDT 2004


I'm confused on the nested gosubs limit.

I have a table that has 4 nested gosubs.  Meaning:

  1  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
       ~ If:

       Then: gosub one

  2  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
       ~ If:

       Then: end

  3  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
one    ~ If:

       Then: gosub two

  4  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
       ~ If:

       Then: return

  5  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
two    ~ If:

       Then: gosub three

  6  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
       ~ If:

       Then: return

  7  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
three  ~ If:

       Then: gosub four

  8  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
       ~ If:

       Then: return

  9  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
four   ~ If:

       Then: return


The documented limit of nested gosubs is "16 per table."  Does this mean I
that I could have 4 sets of this type of code in 1 table or is it 4 current
nested gosubs (meaning if I am 4 deep and I return out of 1, I am only using
3)???

I hope this makes sense...

TIA!

Tim Fischer


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.736 / Virus Database: 490 - Release Date: 8/9/2004
 
  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tim fischer.vcf
Type: text/x-vcard
Size: 291 bytes
Desc: not available
Url : http://lists.celestial.com/pipermail/filepro-list/attachments/20041029/26041ec4/timfischer.bin


More information about the Filepro-list mailing list