Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I hate it, when it happens!
Message
From
08/11/2001 06:53:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00576933
Message ID:
00578952
Views:
36
Great to know! I had always tried MODIFY FILE with files I had previously accessed with MODIFY COMMAND, especially PRG-files!

Hilmar.

>>>FYI, MODIFY FILE will eliminate the syntax highlighting while keeping you within VFP.
>>
>>I've seen this tip before, but it doesn't work with me: I get S.H. all the same. Perhaps this was considered a bug, and corrected in later versions of VFP. I am using VFP 6, SP5.
>
>I believe this is due to some info being saved in the resource file, because I did this in the Command Window:
>
>
>*- Started VFP6 SP5 w/SET RESO ON
>lcText = [FUNCTION MyUDF()] + CHR(13)+CHR(10)+[RETURN "Hello"]
>STRTOFILE(lcText, "TestSH.prg")
>modi comm testsh      &&  syntax coloring, as expected.
>modi file testsh.prg  &&  syntax colored, NOT expected.
>set reso off
>modi file testsh.prg  &&  no syntax coloring, as expected.
>
>
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform