Hi Eric,
thanks for you reply :)
I know Lparameters is needed to pass variables
I only want to use the following code to show a shape which can be clicked, but it gives "unknown member DETECTOR"..
May I ask what is the problem with it? How can I fix it?
define class MyRoom as container
procedure Init
this.addobject("Detector", "MyShape")
endproc
procedure Detector.click
wait window "You clicked me!"
endproc
enddefine
Thanks a lot!
error(503): file structure failure, signature file corrupted.