Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scan ... endscan not working properly
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00411108
Message ID:
00411138
Vues:
12
>>Why not...
>>
>>
>>use trial
>>go top
>>scan
>>do case
>>    case trial.min_sex = 'F'
>>        replace min_f with .t.
>>        replace min_m with .f.
>>
>>    case trial.min_sex = 'M'
>>        replace min_f with .t.
>>        replace min_m = .f.
>>endcase
>>endscan
>>
>
>even better...
>
>repl all min_f with .T. for min_sex = 'F'
>repl all min_m with .T. for min_sex = 'M'


Why not:
replace all min_f with (min_sex='F'), min_m with (min_sex='M')?

Would it work?
:)
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform