IonicWind Software

IWBasic => General Questions => Topic started by: LarryMc on February 18, 2007, 02:59:50 AM

Title: using global sub mysub()
Post by: LarryMc on February 18, 2007, 02:59:50 AM
When I add "global" in front of a sub in my program and declare it external in other modules it will compile and run fine.

However, in the ide the subroutine has disappeared from the dropdown list of subroutines in the home module.


global sub mysub()
   blah.....
endsub
doesn't appear in list

sub mysub()
   blah.....
endsub
does appear

Is is something I'm doing or is it a glitch.
Title: Re: using global sub mysub()
Post by: Ionic Wind Support Team on February 18, 2007, 08:48:45 AM
The dropdown list just scans the source file for the SUB keyword at the beginning of a line.  I haven't updated it to see GLOBAL SUB yet.