Fandom

Xeen Wiki

Opcode 0x1A - Return

370pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Supported In:
C D/S/W W-CD
? ? ?

The scripting command Return has the opcode (0x1A).

Arguments

Description

Returns to the previous location in the stack following a CallEvent command.

Notes

Takes no arguments, has no intelligence. Calling return from a function that wasn't started with CallEvent is undefined behavior. Don't do it. CallEvent opcodes can also stack, with each event calling another event before returning. Just take care in unwinding the stack with your return calls.

Also on Fandom

Random Wiki