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:
  1. Here are some programs and procedures that do not require a prototype
  2. An exit program, or the command-processing program for a command
  3. A program or procedure that is never intended to be called from RPG
  4. A procedure that is not exported from the module
  5. H main(hello)
  6. P hello b
  7. D pi extpgm('HELLO')
  8. D name 10a const
  9. /free
  10. sayHello();
  11. ...
  12. P sayHello b
  13. /free
  14. dsply ('Hello ' + name);
© 2004-2019 by midrange.com generated in 0.006s valid xhtml & css