fieldlen question

Don Coleman dcoleman at dgcreact.com
Mon Jan 8 07:22:01 PST 2007


Attempting to use fieldlen to determine the length of individual fields I
need to string together and trim by priority.  Clearly I have something
incorrect because in the example below AB=0.  Could someone point out my
error so that AB=7 (COLEMAN being 7 characters).

                             Processing: test

   1 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: end
   2 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
@ENTSEL  If: 
       Then: AA(10,*)="COLEMAN"
   3 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: AB=fieldlen(-,AA)
   4 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: SHOW "AB="{AB;display
   5 -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If: 
       Then: end

Don Coleman
Donald G. Coleman, Consultant
402 Andrew Circle
Indiana, PA 15701
dcoleman at dgcreact.com
(724) 349-6302





More information about the Filepro-list mailing list