Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equal signs
Message
From
24/06/2004 10:05:49
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
24/06/2004 09:58:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00916817
Message ID:
00916824
Views:
9
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
Previous
Reply
Map
View

Click here to load this message in the networking platform