Next: , Previous: , Up: VM   [Contents][Index]


18.21.2 vm_set_obase

The pre-defined function vm_set_obase sets the output base in the underlying VM. It has the following prototype:

fun vm_set_obase = (int<32> obase) void:

Where obase is the output base to set. The base must be one of 2 (for binary), 8 (for octal), 10 (for decimal) or 16 (for hexadecimal). If the provided base is not contained in that set, vm_set_obase raises E_inval.