Mid issue
Richard Kreiss
rkreiss at gccconsulting.net
Sun May 30 13:01:00 PDT 2021
I have an auto process where I am checking files 8-29 (incremented by 2) got the beginning value of 0 or 1.
I set up the following code:
If: fn = ""
Then: fn(2,.0,g)="8"
Loop If: mid(fn,"1","1") = "0"
Then: cd=cd+"1"
If: fn,"1","1")="1"
Fb=fb+"1
Fn lt "30"
GOTO loop
If:
Then:END
Apparently filePro is not resolving fn as a field number as both lines above show as false in the debugger.
What size must fn be for the value to be recognized as a field Number?
Richard Kreiss
GCC Consulting
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 14550 bytes
Desc: not available
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20210530/48582a64/attachment.bin>
More information about the Filepro-list
mailing list