× 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.



This compiled ok?
But aside from that, it isn't clear to me what you are trying to do with VRPG here? There are no visual parts defined, no way to start this project, no way to end it. Parms as we know them don't really work here. What I would envision for this project is a canvas with a Windows part on it, perhaps an Edit part. You could add a Exit pushbutton to the canvas, too. Then, in the Edit part you would type/paste in the data you wanted to edit(xlate) and write the converted data back out, or write it to to a System i file.

Some of the free & included demos give a better feel for what to look for and expect?



DLee@xxxxxxxx wrote:
Booth;

Yes, it builds fine. Here is the pgm called MyPgm, which passes an input parm, which I specified in Project/command line parameters option.

Is there somewhere
H
H EXE
H*NOMAIN
* Sample standalone VARPG program
*
* Prototype for the main procedure

D MyPgm PR
D 64A Value
*
* Procedure definition for MYPGM
PMyPgm B
*
D MyPgm PI
D InString 64A Value
*
D OutString S 64A
*
D LC C 'abcdefghijklmnopqrstuvwxyz'
D UC C 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
*
* Translate input parameter to uppercase and display it
C lc:uc Xlate InString OutString
C OutString Dsply I 1
*
PMyPgm E

<Does it build ok? No halts? Which demo program are you working with?>

Darrell Lee
Information Technology
Extension 7127


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.