Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Procedure return value not logical
Message
De
29/03/2003 08:05:48
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
29/03/2003 07:45:48
Thomas Ganss (En ligne)
Main Trend
Frankfurt, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00770147
Message ID:
00771699
Vues:
14
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform