how to get a list of (currently) available handlers?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
rozek
Posts: 151
Joined: Mon Jun 19, 2006 2:29 pm
Contact:

how to get a list of (currently) available handlers?

Post by rozek » Wed Jun 18, 2008 5:50 pm

Hello!

I'm currently facing a problem, that RR cannot find a handler within a library stack although that stack "is among the lines of the StacksInUse" and the script editor clearly shows that handler (and, well, the code has been successfully applied)

Is there any possibility to get a list a all handlers, which are currently "visible" to a given stack/card/object? The handler's name is really unique and not among the global/function/commandNames etc.

Debugging does not help either...

Thanks in advance for any help!
Kind regards,

Andreas Rozek

rozek
Posts: 151
Joined: Mon Jun 19, 2006 2:29 pm
Contact:

Post by rozek » Thu Jun 19, 2008 8:13 am

Hmmm,

how does the RR Script Editor get the list of handlers? Does it "tokenize" an object's script to see where all handler definition start? Or is there a buit-in function which does that?
Kind regards,

Andreas Rozek

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Thu Jun 19, 2008 1:05 pm

It tokenizes the script to extyract the handler names; thiçs is done entirely in the IDE, not through some engine call at the moment.

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

rozek
Posts: 151
Joined: Mon Jun 19, 2006 2:29 pm
Contact:

Post by rozek » Thu Jun 19, 2008 1:07 pm

Jan,

thank you very much - I almost expected this since I could not find any hints in the documentation...
Kind regards,

Andreas Rozek

Post Reply