Just a sample of some Foxpro COMMANDs
Posted: Thu Apr 29, 2021 6:04 pm
Guys,
No, that´s no (yet) working X# code, i just explored what my old Foxpro offers . Please take a closer look at the picture mask that´s needed to make a LEFT aligned currency symbol visible. Does VFP still show the same results ?
The results are:
regards
Karl-Heinz
No, that´s no (yet) working X# code, i just explored what my old Foxpro offers . Please take a closer look at the picture mask that´s needed to make a LEFT aligned currency symbol visible. Does VFP still show the same results ?
Code: Select all
CLEAR
SET TALK OFF
SET SEPARATOR TO "_"
SET POINT TO ";"
SET CURRENCY RIGHT TO " EUR"
* same as
SET CURRENCY TO " EUR"
SET CURRENCY RIGHT
fValue = 1005.12
? fValue FUNCTION "$ 9,999.99"
?
? Transform ( fValue , "@$ 9,999.99" )
? fValue PICTURE "@$ 9,999.99"
?
* ----------------------
SET SEPARATOR TO "."
SET POINT TO ","
SET CURRENCY LEFT TO "EUR "
* same as
SET CURRENCY TO "EUR "
SET CURRENCY LEFT
? fValue FUNCTION "$ 999 9,999.99"
?
? Transform ( fValue , "@$ 999 9,999.99" )
? fValue PICTURE "@$ 999 9,999.99"
?
? Set ( "Currency" )
? Set ( "Currency" , 1 )
?
Code: Select all
1_005;12 EUR
1_005;12 EUR
1_005;12 EUR
EUR 1.005,12
EUR 1.005,12
EUR 1.005,12
LEFT
EUR
Karl-Heinz