New topic: 

"Declare Function" statements: how to make public, hide, ...

<http://forums.realsoftware.com/viewtopic.php?t=44826>

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        Winsteps          Post subject: "Declare Function" statements: 
how to make public, hide, ...Posted: Wed Jul 25, 2012 12:18 am                  
       
Joined: Fri Oct 28, 2011 12:41 am
Posts: 2                Friends, I have a long list of "Declare Function" 
statements. Please suggest how to ...
a) make them global/public so that they only need to be specified once for all 
methods and events
b) move them to the bottom of the code so that they are not in the way
c) hide them so that I only see them when really needed

and editing RealBasic XML source code is doable ...

Thanks   
                             Top                charonn0          Post subject: 
Re: "Declare Function" statements: how to make public, hide,Posted: Wed Jul 25, 
2012 12:29 am                                 
Joined: Mon Apr 02, 2007 2:08 am
Posts: 856
Location: San Francisco, CA, USA                From the Project menu, select 
Add->External Method. This will create a new external method (a declare) in the 
class or module you have open. Note that if you want the declare to be globally 
available you must put it in a module:

      
_________________
Boredom Software  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to