Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check which procedure or routine called Access method
Message
De
03/05/2021 16:17:10
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
03/05/2021 15:59:08
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01679909
Message ID:
01680118
Vues:
35
>>>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]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform