projects
/
debian
/
pforth
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated README with better build info
[debian/pforth]
/
fth
/
t_locals.fth
diff --git
a/fth/t_locals.fth
b/fth/t_locals.fth
index 5cec9e042f280a9883a3ab56128bd5b5a2bec6c8..0384ee2325f5cb8c7bec8b17462841538fbc9d7e 100644
(file)
--- a/
fth/t_locals.fth
+++ b/
fth/t_locals.fth
@@
-14,6
+14,7
@@
test{
T{ 333 value my-value my-value }T{ 333 }T
T{ 1000 -> my-value my-value }T{ 1000 }T
T{ 35 +-> my-value my-value }T{ 1035 }T
T{ 333 value my-value my-value }T{ 333 }T
T{ 1000 -> my-value my-value }T{ 1000 }T
T{ 35 +-> my-value my-value }T{ 1035 }T
+T{ 987 to my-value my-value }T{ 987 }T
: test.value ( -- ok )
100 -> my-value
my-value 100 =
: test.value ( -- ok )
100 -> my-value
my-value 100 =
@@
-22,6
+23,11
@@
T{ 35 +-> my-value my-value }T{ 1035 }T
;
T{ test.value }T{ TRUE }T
;
T{ test.value }T{ TRUE }T
+\ test compile time behavior of a VALUE
+567 value VAL3 immediate
+: VD3 val3 literal ;
+T{ vd3 }T{ 567 }T
+
\ test locals in a word
: test.locs { aa bb | cc -- ok }
cc 0=
\ test locals in a word
: test.locs { aa bb | cc -- ok }
cc 0=