I wondered about the use of Dim within a keypress event

e.g:

Public Sub EditArea_KeyPress()

Dim x as integer

BLA BLA DO WHATEVER

End

And whether or not this was bad practice, or if one should use a public 
variable declared at the top of the program.

Regards

Richard


-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to