× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: VARPG calling local program; parameters not returning correctly
  • From: weiss@xxxxxxxxxx
  • Date: Wed, 26 Jan 2000 19:52:13 -0500



I suggest you use the START operation code, that passes parameters by
reference, the CALLP will only support by value, that is the reason you
don't get any values returned.
Now the START works a bit different than CALL or CALLP, it is asynchronous,
so both of your applications are active, in contrast to the CALL
environment where the calling part is disabled until control is returned to
it.

Also to end a Started component we suggest to use the STOP op code.

To get event information from one component to another, VARPG features the
Component  Reference Part, this part will allow you to watch from your
first component into the ADDRESSE component. For example you could monitor
for a pushbutton press event in ADDRESSE and the Component Reference Part
in your first component will send a Notify event (when the psuhbutton is
pressed) which can invoke an Action subroutine to work with the address
infomation.


Claus Weiss Visual AD tools, email: weiss@ca.ibm.com
Dept 522 IBM Canada Lab tie778-3987 Phone(416)448-3987 FAX(416)448-4414
Greetings from Toronto
VARPG homepage www.ibm.com/software/ad/varpg
VARPG newsgroup news://news.software.ibm.com/ibm.software.varpg,


+---
| This is the CODE/400 Mailing List!
| To submit a new message, send your mail to CODE400-L@midrange.com.
| To subscribe to this list send email to CODE400-L-SUB@midrange.com.
| To unsubscribe from this list send email to CODE400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: larry@paque.net
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.