DIM declare/associate against fixed field
Jose Lerebours
fpgroups at gmail.com
Tue Feb 1 12:43:22 PST 2022
So, looking at some code for a client trying to document their processes
and help find root cause for some
problems they are having and came across this:
dim list(10):11
then, there is an if like so
if: list(ea) gt "0" :: ...
ea is defined as ea(8,mdy/,g) and populated from a table with date set
as 01/31/2021
Fields 11 through 20 are defined as (6,.0)
Call me crazy but I thought that one would have to reference the object
list() by its numeric
position not by value so, if I wanted to check field 12, I would have to
check list("2")
What would you expect to be the condition for above IF statement?
NOTE: Posted the question before I even bothered to test it myself ...
--
Jose Lerebours
954-559-7186
https://www.asisuites.com
Accounting - Retail - Wholesale - Distribution
Manufacturing - Warehousing - Transportation - eCommerce - Web Development
More information about the Filepro-list
mailing list