Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function to return base alpha set from a string
Message
 
 
To
12/06/2002 20:12:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00667721
Message ID:
00667735
Views:
31
>>You can use SYS(15) function
RESTORE FROM (HOME() + "european.mem")
>>lcStr = "Ils sont allés à l'école."
>>? SYS(15, m.euroansi, lcStr)
>
>Thanks works ok but would you like to explain me the purpose of the RESTORE here?

This function requires translation expression (string) as a second parameter. The string is stored in the european.mem file. I think you can RESTORE it once and save in the file using Strtofile().
Strtofile(m.euroansi, "euoroansi.tab")
....
lcStr = "Ils sont allés à l'école."
m.euroansi = Filetostr("euoroansi.tab")
? SYS(15, m.euroansi, lcStr)
Or you can store it in the memo field (binary to prevent codepage translation).
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform