Hi,
RB 5.5.4. Forgive me but I feel the need for a goto statement.
I have a calculate, Clear and a Send pushbuttonn. I want to have a
gosub at the start of the send routine and a goto at the end of the
clear routine to be sure that calculate has been done. One work
around would be to trap this with an error message box but that seems
like the hard way.
After a lot of looking I have added to the end of the "Clear" routine
the command "goto calculatecode".
And at the start of the "Send routine" I have added the line gosub
calculatecode. And at the start of the Calculate routine I have added
the line "calculatecode: // label to jump to".
Now when I run the formally working program I get the error
"Internal compiler error in window1.Clear_Button: Dim Me As Pushbutton".
Trying gosub in place of goto gets the error "This method or property
does not exist".
I've looked all over the web and my book "REALbasic Cross Platform
Application Development". Obviously I'm missing something here.
Where else can I go to find the correct way to do this?
Robert Poland
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>