This website requires JavaScript.
Explore
Help
Sign In
guanjihuan
/
GitHub_collection_hello-world
Watch
1
Star
0
Fork
0
You've already forked GitHub_collection_hello-world
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
4c1bcf219b
Branches
Tags
View all branches
GitHub_collection_hello-world
/
f
/
forth.fth
2 lines
18 B
Forth
Raw
Normal View
History
Unescape
Escape
Make Forth example actually *print* the string The previous example didn't actually print anything, it just defined a "word" (function) called `HELLO` and never called it. You could either call the function (just add `HELLO` on a new line), but more simply and idiomatically for just printing something you can use `.( string)` which I've done here. You can try this in an online Forth REPL at https://repl.it/languages/forth
2016-05-20 08:23:17 -04:00
.
( Hello, world!)
Reference in New Issue
Copy Permalink