View previous topic :: View next topic |
Author |
Message |
issac1029 Intermediate
Joined: 10 Dec 2005 Posts: 159 Topics: 75
|
Posted: Sat Mar 18, 2006 2:03 am Post subject: Pass Data to a Natural Program using Fetch |
|
|
Hi ALL.
It's a natural question.
If I use FETCH 'aaaa' to implement call function,
I must stack data in invoking pgm and use 'input ' in invoked pgm to receive data.
If I use fetch 'aaaa' #working-area1
then I do not need to stack those data,and I can directly receive data by
input #working-area2,I only need to confirm that #working-area1 and #working-area2 are the same in structure.
Am I right about that?and does the fetch statement has the function to store the data(#working-area1) in stack?or store other place? |
|
Back to top |
|
|
issac1029 Intermediate
Joined: 10 Dec 2005 Posts: 159 Topics: 75
|
Posted: Sun Mar 19, 2006 9:48 pm Post subject: |
|
|
Hi,
I've got the answer from <program guide>,FETCH and RUN statement both result in placing those parameter into top of stack.THANKS for focusing on this questuion |
|
Back to top |
|
|
|
|