MPE/iX Quick Reference Guide (32650-90881)

Chapter 6 169
System Debug
Debugging your system
func sptr
Coerces an expression into a short pointer.
sptr (
value
)
Formal Declaration
sptr:sptr (
value
:any)
func stol
Short to long. Converts a virtual address to a long pointer.
stol (
virtaddr
)
Formal Declaration
stol:lptr (
virtaddr
:ptr)
func stolog
Short to logical. Converts a NM short pointer (SPTR) to a NM logical code address (LCPTR).
stolog (
shortptr
[
logsel
] [
userfname
])
Formal Declaration
stolog:lcptr (
shortptr
:sptr [
logsel
:str="PROG"] [
userfname
:str])
func str
Returns a substring of a source string.
str (
source position length
)
Formal Declaration
str:str (
source
:str
position
:u16
length
:u16)
func strapp
String append. Returns the result of concatenating two strings.
strapp (
source tail
)
Formal Declaration
strapp:str (
source
:str
tail
:str)
func strdel
String delete. Returns a string with a substring deleted from the source string.
strdel (
source position length
)
Formal Declaration
strdel:str (
source
:str
position
:u16
length
:u16)