dummy fields & auto processing

Richard Kreiss rkreiss at verizon.net
Mon Feb 3 09:56:53 PST 2014


Windows
Filepro: 5.7.03

I ran into a problem today with an uncast dummy field ct.

In auto processing ct is set to zero ct="0"

In input processing at one point ct is initialized to "1" as the first index
value for an array filled with values from another file.  Originally the
array had only 8 elements.  The number of records that needed to be read
changed to 15.

I changed the dim foobar(8) or dim foobar(15) and changed the loop to read
the records from:

If: ct lt "8"
Then: ct=ct+"1";GOTO loop

To:

If: ct lt "15"
Then: ct=ct+"1";GOTO loop

When I checked this line with the debugger and ct = "1", the statement came
back as false.

When ct was replaced by c(2,.0), the program worked as expected.

Why would ct  lt "15" return a false when ct was set to 1 and displayed a 1
when checked with the debugger?


Richard Kreiss
GCC Consulting

Office: 410-653-2813








More information about the Filepro-list mailing list