Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Equal signs
Message
De
24/06/2004 10:05:49
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
À
24/06/2004 09:58:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00916817
Message ID:
00916824
Vues:
11
Grady,

VFP returns a logical value because your expression boils down to something like

a = 1.0
b = 2.0
c = a = b or as VFP would interpret it,
c = (1.0 = 2.0) and of course the value 1.0 is not equal to 2.0 so c is .F.

Hope this helps

Mike


>I am having some fun learning neural networks. I have the formula below with which to contend. As you can see, there are two (2) equal signs. Is a two equal sign formula legal in VFP 8 SP1? I have initialized all the variables and they are numeric. Even so, X2 evaluates to .F. instead of a decimal number.
>
>Decimals are set to 18
>
>X2 = SumOfn1j * Wn1j * sqrt(n1j) = SumOfn1j * Wn1j * .5 * SumOfn1l * sqrt(Tji2)
>
>Any ideas on how to solve my small problem are welcome? How can I break it up to incorporate X2 in both halves correctly?
>
>Grady McCue
>foxunc@telus.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform