Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TtoD() not working.
Message
From
08/06/1997 19:13:40
 
 
To
08/06/1997 15:04:36
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00035281
Message ID:
00035614
Views:
42
What do you mean? :)

Vlad

>Vlad,
>
>That's cool - an answer that goes BOTH ways!
>
>I think I'll try it that way from now on, to keep everybody happy!
>
>Cheers,
>Jim N
>
>>>>I'm curious, Jim, why removing the sets of parentheses would make any
>>>>difference.
>>>
>>>Paul,
>>>
>>>I'm not sure it would, but the parens were very confusing when I tried to understand the logic of the comparisons so maybe they confused fox as well.
>>
>>It's not necessary to remove parantheses. The problem in the example in the thread is that the condition is not correctly parantherised (does this word exist in English? :)). FoxPro has some bugs when verifies parantheses and in some situations it doesn't generates compile errors when it should. Also, in these cases, FoxPro's behavior is very strange sometimes, usually it ignores the whole or part of the expression.
>>
>>I never found a situation when useless parantheses make any difference in the expression (of course, if the useless parantheses doesn't change the logic of the expression). I also never found a situation when a completely (and correctly) parantherised expression confused FoxPro.
>>
>>Vlad
Previous
Reply
Map
View

Click here to load this message in the networking platform