mirror of
https://github.com/uffejakobsen/acme.git
synced 2026-04-20 22:16:38 +00:00
added test files for symbol substitutions
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@393 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
*=$1000
|
||||
;sub= we do not define sub at all
|
||||
base?sub nop ; -> "neither number nor string"
|
||||
@@ -0,0 +1,3 @@
|
||||
*=$1000
|
||||
!set sub = [2,3] ; sub is a list
|
||||
base?sub nop ; -> "neither number nor string"
|
||||
@@ -0,0 +1,3 @@
|
||||
*=$1000
|
||||
lda sub ; sub is undefined
|
||||
base?sub nop ; -> "undefined or not integer"
|
||||
@@ -0,0 +1,3 @@
|
||||
*=$1000
|
||||
!set sub = .5 ; sub is a float
|
||||
base?sub nop ; -> "undefined or not integer"
|
||||
@@ -0,0 +1,3 @@
|
||||
*=$1000
|
||||
!set sub = 7 ; sub is defined okay, but:
|
||||
base?(sub nop ; -> "does not end with ')' character."
|
||||
Reference in New Issue
Block a user