Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check which procedure or routine called Access method
Message
From
03/05/2021 16:17:10
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
03/05/2021 15:59:08
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01679909
Message ID:
01680118
Views:
34
>>>Since I write this value to a log file, I want to be sure that it is always a string, not a numeric value. Can you think of a case where program(program(-1)-1) will give a numeric value?
>
>Whenever potentially different vartypes are involved you might consider a Transform() wrapper. Transform() has been included for years in West Wind script compilation where it avoids vartype errors at very low cost.

Transform is not reliable if it comes to terms of decimal points, decimal places, that is SET POINT, SET DECIMAL, SET FIXED. PAD[LR] works better if you like to gather a numbers real value.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform