Program Sub SubName

From GAB Help
Jump to: navigation, search

Create subroutine

Syntax

Program.Sub.SubName.Start

Program.Sub.SubName.End

Arguments

None

Example

'Declaring Sub
Program.Sub.AddingOne.Start
	V.Local.iNumber.Declare(long, 9)
	F.Intrinsic.Math.Add(V.Local.iNumber, 1, V.Local.iNumber)
Program.Sub.AddingOne.End

'Calling Sub
Function.Intrinsic.Control.CallSub(AddingOne)

Remarks