Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Possible bug -- ENDPROC magically appears
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00672829
Message ID:
00672832
Views:
8
IMO, it's a bug. The semicolon in 'x = a;' indicates that commnad continues on the next line but there's no next line in the method. However there's next line in the code stored in the SCX file and it's ENDPROC. VFP mistakenly includes it when it parses code from SCX file back into method edit window. It doesn't happen if you hit ENTER after 'x = a;'.

>Steps:
>
>1) In command window type :
>
MODI FORM test
>
>2) In click method of form (any method) type :
>
x = a;
>3) Press Alt-f and Alt-S to save
>
>
>Did you get an unexpected visitor in the code?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform