added function pointers
This commit is contained in:
11
tests/word_ptr_jmp.sl
Normal file
11
tests/word_ptr_jmp.sl
Normal file
@@ -0,0 +1,11 @@
|
||||
import stdlib/stdlib.sl
|
||||
import stdlib/io.sl
|
||||
|
||||
word target
|
||||
"via word ptr\n" puts
|
||||
end
|
||||
|
||||
word main
|
||||
&target
|
||||
jmp
|
||||
end
|
||||
Reference in New Issue
Block a user