12 lines
492 B
Modula-2
12 lines
492 B
Modula-2
# External function definitions for basic2c
|
|
# Format: name : type : c_template
|
|
# Types: byte, integer, long, float, double, string
|
|
# Template: % or %1 = first arg, %2 = second arg, etc.
|
|
#
|
|
# Note: Common functions like CEIL, FLOOR, MAX, MIN, TIMER, ENVIRON$
|
|
# are now built into basic2c via builtins.def. This file is for
|
|
# user-defined extensions that supplement or override the built-ins.
|
|
#
|
|
# Example custom functions:
|
|
# SQUARE : double : ((%) * (%))
|
|
# CUBE : double : ((%) * (%) * (%))
|