Liberty BASIC supports the use of a callback address that can be passed into an API function so that a function within a program can be called by an API function. The syntax:
callback address, functionNameProc(type, ...type), return type
For more, see CALLBACK.