Next: , Previous: , Up: String instructions   [Contents][Index]


22.1.21.2 Instruction strset

Synopsys:

strset

Given a string STR, an index FROM and a string NEWSTR, copy the content of NEWSTR to STR at index FROM.

Index is zero-based.

If FROM >= the size of the string, or if FROM+len(NEWSTR) > the size of the string, raise the PVM_E_OUT_OF_BOUNDS exception.

Stack: ( STR ULONG NEWSTR -- STR )

Exceptions: PVM_E_OUT_OF_BOUNDS