Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Translating day of the week
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Translating day of the week
Miscellaneous
Thread ID:
00753743
Message ID:
00753743
Views:
76
VFP has only English day of the week
I used the programa below to convert
I give it to a friend and he says he
got (variable dsp not found)

Please check below why this error



d = date ( )

ds = cdow (d)

do case

case ds = "Sunday"

store "Domingo" to dsp

case ds = "Monday"

store "Segunda-Feira" to dsp

case ds = "Tuesday"

store "Terça-Feira" to dsp

case ds = "Wednesday"

store "Quarta-Feira" to dsp

case ds = "Thursday"

store "Quinta-Feira" to dsp

case ds = "Friday"

store "Sexta-Feira" to dsp

case ds = "Saturday"

store "Sábado" to dsp

endcase

= messagebox (dsp)
Next
Reply
Map
View

Click here to load this message in the networking platform