Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Procedure return value not logical
Message
From
29/03/2003 08:05:48
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
29/03/2003 07:45:48
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00770147
Message ID:
00771699
Views:
15
>We once had something similar happening
>in our code returning a local, which was
>.f. before "return m.llReturn"
>but returned was Zero, causing the
>check on .t./.f. to fail.
>We verified with debugger and
>wait windows.
>Removing a syntactic correct assertion
>helped: we still have no idea what
>really happened. But we felt like idiots...
>
>HTH
>
>thomas

I'm insistant on not believing it might happen until I see one routine with my own eyes :)
2 cases to falsely reproduce :
dimension test[2]
test = 0
? test(1) && Thinking calling function test but not

function test
lparameters tnNumber
return (tnNumber > 1)
? test(1) && Thinking calling function test #1 but not - never called

function test
lparameters tnNumber
return (tnNumber > 1)

function test
lparameters tnNumber
return tnNumber
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform