kytschBASIC

Put down that phone!
Please view me on real computer.

FUNCTION
NAME, ARGUMENTS (optional)

This will create an internal function.

Example

FUNCTION printMessage, message$

	PRINT message$

END FUNCTION

GOTO printMessage("Hello World!")

LINE BREAK

FUNCTION "printMessageWithArgs", message$, test$="Better world!"

	PRINT test$

END FUNCTION

GOTO printMessageWithArgs("Hello World!")

Output

Hello World!
Better world!

See also

DEF | DIM | GOTO