General information
Category:
Coding, syntax & commands
Title:
Translating day of the week
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only