Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP5 command in Capitals
Message
From
09/07/2001 07:18:47
 
 
To
09/07/2001 06:54:27
Rahul Murarka
Sys-Con Engineering
Kolkata, India
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00528019
Message ID:
00528023
Views:
17
I have not used VFP5 for a few years so I am not sure if it has a Beautify function?
If it does then open the program, look under the tools menu and select beautify, in the screen that comes up you can choose capitalisation.

If not then you could open them in a Word processor and make them all upper case if you like (but beware this will Capitalise the contents of all quotes) ie
wait window 'Hello'
will become
WAIT WINDOW 'HELLO'

or more importantly
if Lower(myStr) = 'fred'
will become
IF LOWER(MYSTR) = 'FRED'

If you had VFP6 you could use FileToStr and StrFile functions (with the same issues detailed above).

And Lastly.. Why do you want to do this? I HATE all capitalised code.. I think it also goes against MS reccommended guidelines.. Capitalised code is difficult to read..

HTH

>Dear Sir,
>
>Please suggest how can I convert all my syntax written in vfp5 to Capital letters. If there is a utility please suggest CEE5 utility is not solving my purpose so please suggest some other.
>
>
>thanks in Advance
>
>
>rahul
Will Jones
Previous
Reply
Map
View

Click here to load this message in the networking platform