Dimensioned Arrays

smittyusn1 at bellsouth.net smittyusn1 at bellsouth.net
Mon Apr 18 11:40:32 PDT 2011


Where should I put the DIM lisp(15):213    ????   There really isn't 
anything in the process that triggers it other than the lookup into 
inventory and gets LIST PRICE.

It gets it once ...but never moves fills in the 2nd, 3rd, 4th, etc. lines

I guess I could send you the input processing.......  Let me know.

Wayne Smith
Port Orange, Florida



-----Original Message----- 
From: Kenneth Brody
Sent: Monday, April 18, 2011 1:44 PM
To: smittyusn1 at bellsouth.net
Cc: filepro-list at lists.celestial.com
Subject: Re: Dimensioned Arrays

On 4/18/2011 1:36 PM, smittyusn1 at bellsouth.net wrote:
> I will try to explain it better...............
>
> dim itms(15):60           thru  212
> it(8,*)=itms(@af)
> user supplies  (it) in field 60 ......
> @wlfa0 (field 60) it looks up inventory using (it) and  gets all the 
> fields
> it needs
>
> gosub totals, writes, returns,  cursor goes to next line 61,  gets a new
> item needs, 62, 63, repeats....
>
> until he runs out of items on the ticket, escapes, saves it.
>
> dim lisp(15):213  (b0) start  thru  242 actually works but only gets data 
> on
> the same line every lookup, it never fills in 214, 215, 216, etc, etc.
>
> Hope I am explaining it better.....
[...]

Well, you have now included a critical piece of information that was lacking
before.  You assign to the "old" arrays in @WLF processing, yet the "new"
arrays aren't assigned to until "normal" input processing.

You show "itms(@af)" as the reference to the "old" array.  You do not show
how you do the assignments in "normal" input processing, but I am going on
the assumption (which is the best I can do, given the lack of any other
details) that it's the equivalent "lisp(@af)".

What is the value of @AF in @WLFA0, and what is it in processing unrelated
to associated fields?

-- 
Kenneth Brody
_______________________________________________
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