General information
Category:
Coding, syntax & commands
Tamar:
I take it my suggestion is a bad idea and I should not add it to the UT Wish List. Here's my issue.
Lets say I am setting up a default value of date() for a memory variable called dseldate.
If I were writing a .prg file I could initilize the variable at the beginnng of the .prg file with dseldate = date() and it would be in scope throughout the .prg.
Now in a form I have to create a form property called dseldate, initialize it in Init and throughout I have to call it thisform.dseldate.
Wouldn't it be more consident and easier if we could just initialize a variable in a form and have it in scope within the form without having to create a form property and call it thisform.dseldate all the time?
Is this a bad idea that is against proper programming style? I don't want to add this to the UT Wishlist if it is a bad idea.
Mike Smith
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only