Page History
A user defined conversion is coded as a stored procedure subroutine (coded in SYSPROCS) that is passed 4 parameters. The The name of the user defined conversion is the name of your subroutine. The The syntax and arguments are described below.
Syntax | Subroutine Conversion_Name(type, value, branch, return_value) Conversion_Name is the name of the user-defined subroutine. When When calling a user-defined conversion in a BASIC+ program, pass the name of this name as the conversion argument. For For example, to call a conversion subroutine called ROMAN, that converts Latin numerals to Roman numerals, you might use the following statement:
|
Parameters |
|
The | The conversion can use the Status() function to report whether a conversion has been successful. The The conventional values for this function are:
|