April 27, 2024, 03:56:54 AM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


using global sub mysub()

Started by LarryMc, February 18, 2007, 02:59:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LarryMc

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.
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Ionic Wind Support Team

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.
Ionic Wind Support Team