You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.
Liam Barry edited this page Aug 23, 2019
·
1 revision
The easiest way to contribute is by contributing either an RPGLE built-in function or a system API.
Contributing a BIF
Inside of the Runtime/Functions/ directory is a folder called BIF. Each function inside of the BIF folder inherits the Function class which takes an object[] parameter, which is passed in from the RPG application.
The Function class has an Execute method which is the invoked method when the BIF is invoked from the RPG application:
class Trim : Function
{
public override object Execute(object[] Parameters)
{
}
}
The Execute method can return any regular C# type and it'll be returned into the RPG application as expect. See some of the following examples: