Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why am I getting a logical instead of a number
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00761511
Message ID:
00761537
Views:
24
This is a section of a procedure where I have hard coded values so I can test the logic. There is a return after the ENDIF. The whole procedure looks at items from a clients' inventory in storage as each item is added to a work order and calculates the storage due. There are a couple of other parts of the procedure that finds the number of days in the month and looks up the clients' free days for storage.

>Matthew,
>
>You don't say if this is written as a UDF or not, there is no RETURN statement in the code you posted, if there is no RETURN in the UDF Xbase will do an implicit RETURN .T. at the end of the UDF.
>
>>I'm sure it is just because I have been working on this tooooo long. Yesterday I got the results I wanted, today I am getting a logical output instead of the number I am trying to calculate. What is the error of my ways? Using VFP6 sp5 on Win2K sp2.
Opportunity is missed by most people beacuse it is dressed in overalls, and looks like work --- Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform