Goto Statements: Difference between revisions
From Sierra Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
==<br /> Introduction == | ==<br /> Introduction == | ||
Goto statements can be accomplished with inline assembly code. Verbatim from the '[[sci:SCIStudio3Help/SCC/Inline_Assembly.html|Inline Assembly]]' page in the SCI Studio Help File: | |||
<div class="CodeBlockHeader">Code:</div> | <div class="CodeBlockHeader">Code:</div> | ||
| Line 19: | Line 19: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Note that the inline assembly code functionality is implemented in SCI Studio, but not in SCI Companion. | <div align="center"><span class="Alert">'''''Note that the inline assembly code functionality is implemented in SCI Studio, but not in SCI Companion.'''''</span></div> | ||
==<br /> References == | ==<br /> References == | ||
Latest revision as of 14:10, 29 April 2025
Goto Statements
By [[]]
By [[]]
Introduction
Goto statements can be accomplished with inline assembly code. Verbatim from the 'Inline Assembly' page in the SCI Studio Help File:
Code:
// the inline assembly is quite versatile. Here's a crafty example:
(if(something)
(asm jmp _a_goto_label)
)
(asm _a_goto_label: )Note that the inline assembly code functionality is implemented in SCI Studio, but not in SCI Companion.
References
Related Links