Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SYS(3) & VARIABLES
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00528678
Message ID:
00529327
Views:
15
>This one is better
>****************
>A=right(SYS(2015),7)+"A"
>B=right(SYS(2015),7)+"B"
>****************
>
>Regards...

No, it is not better. In fact, it is not good at all. :) It eventually will bomb at some point. The character string used as a file name has to start with non-numeric chatacter, not end with it.

On November 18, 1998 many FoxPro apps errored out because of that.
The typical SYS(2015) for that date looked like "_S000WNEY0". Set your computer date to November 18, 1998 and see what you get.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform