Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Weird characters in form
Message
From
30/07/2009 01:41:28
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01415366
Message ID:
01415469
Views:
59
>This is the second time it happens:
>
>I see weird charcacters in the init method of my form
>
>What can it be ?

TEXT without ENDTEXT would do that. If you had these, use your.vcx, browse for atc("text", methods)>0 and see if there's an endtext missing. If you find it, add it _before_ the ENDPROC. Then close it and compile the classlib. Open for editing and see if your code came back.

VFP keeps its sanity, i.e. keeps checking the methods in vcxes, scxes (and a few other ex files) by matching the PROCEDURE and ENDPROC keyword lines, and compiling the code between them. If the TEXT range of lines isn't closed with a matching ENDTEXT inside the same procedure, VFP thinks the rest of the lines is the text range... and doesn't find the end of the procedure, and loses track of where's the end of the code. It also can't find any methods that were physically below this... and you get weird Dostoyevskian characters from the down below the binaries in your vct file.

If you didn't use Text/endtext anywhere, then nothing. I.e. try what others said.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform