New topic: 

Name of method?

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

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        BrianOBrien          Post subject: Name of method?Posted: Wed 
Mar 30, 2011 11:54 am                                 
Joined: Wed Jul 07, 2010 2:55 pm
Posts: 263
Location: University Of Calgary, Faculty Of Medicine                Can I get 
the name of the method in the method and use it as a string?Code:Function 
someFunc() As String
  return "someFunc"
End Function      
_________________
If at first you don't succeed... Try REALBasic.  
                             Top                 npalardy          Post 
subject: Re: Name of method?Posted: Wed Mar 30, 2011 12:07 pm                   
      
Joined: Sat Dec 24, 2005 8:18 pm
Posts: 6516
Location: Canada, Alberta, Near Red Deer                Just use the constant 
CurrentMethodName where you need the current method name     
_________________
My web site Great White Software
RBLibrary.com REALbasic learning  
                             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