Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reverse comma-delimited string
Message
De
05/09/2019 18:12:53
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
 
À
05/09/2019 16:20:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01670542
Message ID:
01670641
Vues:
48
Does the same thing work with GATHER NAME foo? If foo's members are not the correct type, are they auto-cast?
create cursor c_test (intvar i, dubvar B, charvar c(20),datevar c(20))
append blank
SCATTER NAME oTest &&lazy object creation
oTest.intvar="100"  && I am a string, about to be GATHERed into an Integer field
oTest.dubvar="100" && I am a string, about to be GATHERed into a Double field
oTest.charvar=100 && I am a numeric, about to be GATHERed into a string field
oTest.datevar=date() &&I am a date, about to be GATHERed into a string field
gather NAME oTest
browse
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform