Goto Statements: Difference between revisions
From Sierra Wiki
Jump to navigationJump to search
m 1 revision imported |
No edit summary |
||
| Line 1: | Line 1: | ||
[[Category:SCI Pages]] | [[Category:SCI Pages]] | ||
[[Category:Temp SCI Pages]] | [[Category:Temp SCI Pages]] | ||
[[Category:SCI Pages to be Edited]] | |||
[[SCI Tutorials and Guides|SCI Tutorials and Guides Table of Contents]] | |||
<div align="center"><span style="font-size: 22pt">Goto Statements</span><br />''By [[]]''</div> | |||
<br /> | |||
==<br /> Introduction == | |||
This can be accomplished with inline assembly code. Verbatim from the 'Inline Assembly' page in the SCI Studio Help File: | This can be accomplished with inline assembly code. Verbatim from the 'Inline Assembly' page in the SCI Studio Help File: | ||
<div class="CodeBlockHeader">Code:</div> | <div class="CodeBlockHeader">Code:</div> | ||
<syntaxhighlight lang="sci" class="cs"> | <syntaxhighlight lang="sci" class="cs"> | ||
| Line 13: | Line 22: | ||
Note that the inline assembly code functionality is implemented in SCI Studio, but not in SCI Companion. | Note that the inline assembly code functionality is implemented in SCI Studio, but not in SCI Companion. | ||
==<br /> References == | |||
<references /> | |||
==<br /> Related Links == | |||
* | |||
| |||
[[Category:Examples]] | [[Category:Examples]] | ||
[[Category:SCI Examples]] | |||
[[Category:Scripting]] | [[Category:Scripting]] | ||
[[Category:SCI Scripting]] | |||
[[Category:Syntax]] | [[Category:Syntax]] | ||
[[Category:SCI Syntax]] | |||
Revision as of 13:52, 29 April 2025
SCI Tutorials and Guides Table of Contents
Goto Statements
By [[]]
By [[]]
Introduction
This 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