-
Notifications
You must be signed in to change notification settings - Fork 34
Structure of Subroutine
Aaron Niyonzima edited this page Oct 27, 2022
·
2 revisions
A subroutine starts with a key word SUBROUTINE
followed by the name of the routine. Parameters (both inwards and outwards) are optional.
SUBROUTINE MY.T24.ROUTINE(in_params, out_params)
*------------------------------------------------------------------
* The purpose of the routine
*------------------------------------------------------------------
* Developer: Joe Doe([email protected])
* Date : 28/10/2020
* Version : 0.0.1
*------------------------------------------------------------------
$INSERT I_COMMON
$INSERT I_EQUATE
* add your code here
RETURN
END
You need to put the keyword RETURN
towards the end of your return.
- Home
- Getting started with InfoBasic(jbc)
- Key Features of InfoBasic
- Control Flow
- Subroutines and Functions
- OFS
- Template Programming
- T24 Integration with other Systems
- T24 Business Training
- T24 Navigation Training
- T24 Administration Training