BASIC · lesson 1 of 30 · First steps · bonusPrint a line
print writes a text on the screen. yabasic runs the program straight from the file.
01-hello.yab Download 01-hello.yab
print "Hello from the NAS"
Terminal
$ yabasic 01-hello.yab
Hello from the NAS
$ yabasic -e 'print "Hello from one line"'
Hello from one lineExercise
Print your own name on the second line.