Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Commands not executing
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00463735
Message ID:
00464051
Views:
16
Hi Jim,
That's interesting. However I just checked my largest WW Process file - 2700 lines, and (knock on wood) no problems with the 'final' functions. I wonder if you had an if/endif loop (or similar structure) off somewhere or perhaps had a problem with a ";" that was deleted with the 'old' code. I've occasionally had problems with a semicolon at the end of a comment line - the following line is included in the comment, and goodness knows that a function that doesn't 'loop' correctly can affect the next function(s).

Barbara

>'Morning all,
>
>Well I just 'solved' a real strange one and thought it would be useful to share it...
>
>Starting Friday I began testing some significant changes to a WebConnect process (2 actually, rather large).
>Early testing looked very positive except for a coupla fields that had slightly erroneous content. Examination showed that an IF statement evaluating a VAL(...) was either not executing or giving an incorrect result and two STRTRAN statements weren't executing. There may have been other stuff but these are what stood out.No error messages or other signs of trouble - just wrong content in the output table.
>
>Anyway, try as I might, I couldn't get this stuff to deliver the correct output. Executing in the command window always gave correct results. Variations on the IF yielded nothing. Finally it was time to go home so I left it.
>
>On my way in this morning I struck on a silly notion - the commands that seemed to non-execute were both functions late in the alphabet. I wondered if I might have exceeded some internal limit.
>Now, as I often do, I had kept a copy of the original processes right in the same source, renaming the FUNCTION statement to accomplish this. The combined routines took, with commentary, well over 1000 lines.
>When I got to the office I deleted the extraneous copies of the 2 routines, reran my test and, you guessed it - it ran perfectly!!!!
>
>If anyone has some other logic to support what happened I'd love to hear it. I simply feel lucky to have acted on such a silly sounding impulse and wouldn't have had it involved any more work than it did.
>
>Cheers,
>
>JimN
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform