Mid issue
Walter Vaughan Jr
wvaughan at steelerubber.com
Sun May 30 20:14:55 PDT 2021
Ugh, can you post properly transcoded code fragment?
Are you trying to use this improperly? https://www.fptech.com/fptech/fpmanual/Filepro/FIELDVAL().htm
-----Original Message-----
From: Filepro-list <filepro-list-bounces+wvaughan=steelerubber.com at lists.celestial.com> On Behalf Of Richard Kreiss via Filepro-list
Sent: Sunday, May 30, 2021 4:01 PM
To: 'filepro-list at lists.celestial.com' <filepro-list at lists.celestial.com>
Subject: Mid issue
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>
_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes http://mailman.celestial.com/mailman/listinfo/filepro-list
More information about the Filepro-list
mailing list