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
##//identifier//##: the name of the variable referenced in the subroutine
11
+
##//type//##: the type of variable
12
+
##//default_value//##: the value of the argument if none is specified in the call
13
+
##//return_value//##: the value returned from the function
14
+
##//intializer//##: address of a subroutine to set as the intial value
15
+
16
+
{{fbdoc item="desc"}}
17
+
A ##[[KeyPgFunction|Function]]## pointer is a procedure pointer that stores the memory location of compiled code that returns a value. If no intializer is given the default initial value is zero (0).
18
+
19
+
The memory address for the ##[[KeyPgFunction|Function]]## procedure can be assigned to the variable by taking the address of a subroutine with ##[[KeyPgOpProcPtr|ProcPtr]]## or ##[[KeyPgOpAt|Operator @ (Address of)]]##.
20
+
21
+
The procedure must match the same ##[[KeyPgFunction|Function]]## declaration as the declared ##[[KeyPgFunction|Function]]## pointer.
22
+
23
+
To call the subroutine assigned, use the ##//variable//## name as if it were a normal declared ##[[KeyPgFunction|Function]]##.
##//identifier//##: the name of the variable referenced in the subroutine
11
+
##//type//##: the type of variable
12
+
##//default_value//##: the value of the argument if none is specified in the call
13
+
##//intializer//##: address of a subroutine to set as the intial value
14
+
15
+
{{fbdoc item="desc"}}
16
+
A ##[[KeyPgSub|Sub]]## pointer is a procedure pointer that stores the memory location of compiled code. If no intializer is given the default initial value is zero (0).
17
+
18
+
The memory address for the ##[[KeyPgSub|Sub]]## procedure can be assigned to the variable by taking the address of a subroutine with ##[[KeyPgOpProcPtr|ProcPtr]]## or ##[[KeyPgOpAt|Operator @ (Address of)]]##.
19
+
20
+
The procedure must match the same ##[[KeyPgSub|Sub]]## declaration as the declared ##[[KeyPgSub|Sub]]## pointer.
21
+
22
+
To call the subroutine assigned, use the ##//variable//## name as if it were a normal declared ##[[KeyPgSub|Sub]]##.
0 commit comments