Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why am I getting a logical instead of a number
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00761511
Message ID:
00761544
Vues:
25
Matthew,

>I had the "?" in for output to the screen while I tested the code. Yesterday it spit numeric amounts to the screen.
>

I don't see how...it would display do a comparison between the left and right side of the "=", and return true if they are equal.

Try this in your command window:
x = 5
? x = x       && shows true
? x = x + 1   && shows false
? x           && shows 5...x was not changed by previous line
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform