>That was cool... How does it run though? IOW, why does the RETURN in the first few lines of code below not kick you out before it gets going? I'm sure it has to do with my lack of understanding regarding CreateObject, but I'm curious to know...
>
>Renoir
>
>
>PUBLIC ff
>ff = CreateObject('frm')
>ff.visible = .T.
>
>RETURN
>
>#DEFINE tetris 4
>
This question baffled me when you posted it. However:
The variable "ff" is public, therefore it doesn't go out of scope. A class will usually be destroyed when the corresponding variable goes out of scope.
RETURN could just as well be omitted. The program would RETURN anyway, I believe.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)