-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unconditional begin statement to SSTNPL, and a basic test rom for…
… it.
- Loading branch information
1 parent
96f160e
commit 52b9b7b
Showing
5 changed files
with
211 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#unconditional begin block test. | ||
|
||
#only really useful with conditional `top` statements, and code formatting. | ||
|
||
#unconditional `begin` statements, and their `end` statements only use | ||
# 'zerosize', so no additional memory is used. | ||
|
||
#IMPORTANT: do note, that when `end` statements are paired with looped blocks, | ||
# a `goto` is used to facilitate the loop, so the above blurb depends | ||
# on context!! | ||
|
||
var kb=0 | ||
|
||
begin | ||
prline press A to ask again, any other key to exit. | ||
keyprompt | ||
set kb | ||
if kb,:A top | ||
if kb,:a top | ||
|
||
end | ||
|
||
stop |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters