subroutine
It's basically a piece of code that can be called and activated
at anytime within a large program. Unlike a function, it does
not have to return any data.
subroutine
It's basically a piece of code that can be called and activated
at anytime within a large program. Unlike a function, it does
not have to return any data.
what is a subroutine
functions are subroutines, they are equivilant
Subroutines
Sub RowCount(pRowTable)
Let RC.Rows = Num(NoOfRows('$(pRowTable)'),'#,##0');
Trace ---------------- $(pRowTable): $(RC.Rows) rows;
RC.Rows=;
End Sub;
Fact:
Load
Rand() as Random
AutoGenerate
(1000);
Temp:
Load
Chr(IterNo()) as Char
AutoGenerate
(1)
While
IterNo() <= 2;
Outer Join(Fact)
Load
Char
Resident
Temp;
Drop Table Temp;
CALL RowCount('Fact');
subroutines
In computer programming, a subroutine is a sequence of program instructions that performs a specific task, packaged as a unit.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us