There is just another thing with gb.settings.

Let's say, the user entered a number on his keypad, which is registered in my 
seetings.file and associated with the action:
"SunIsShinigOpenRoofOFCarAndHaveAFunnyRide" :-)

Print (hCFG["Action/" & sItem])
Ouput: SunIsShinigOpenRoofOFCarAndHaveAFunnyRide

Just for fun:
Action = hCFG["Action/" & sItem]
Print (Action)
Ouput: SunIsShinigOpenRoofOFCarAndHaveAFunnyRide

...as expected.

Now I have a function in my programm, with name 
"SunIsShinigOpenRoofOFCarAndHaveAFunnyRide"

Calling this function with
hCFG["Action/" & sItem]()
or
Action() 'is the same as above, I know

compiles fine, but when executing the programm, I get:
MMain.?.0: #12: Not an object

Any ideas?? ...sitting in front of my code with many many "?" in my face. :-)

TIA and greetz
Stevie


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to