midrange.com code scratchpad |
Name:
Matt
|
Scriptlanguage:
Plain Text
|
Tabwidth:
4
|
Date:
04/29/2010 09:03:36 pm
|
IP:
Logged
|
|
Description:
Code for IBM i 7.1 Technical Overview showing prototype-less procedures
|
Code:
- Here are some programs and procedures that do not require a prototype
- An exit program, or the command-processing program for a command
- A program or procedure that is never intended to be called from RPG
- A procedure that is not exported from the module
- H main(hello)
- P hello b
- D pi extpgm('HELLO')
- D name 10a const
- /free
- sayHello();
- ...
- P sayHello b
- /free
- dsply ('Hello ' + name);
|
|
|