Open main menu

Wikibooks β

Template:Computer Programming/Statements/2

This command has a verb ("{{{1}}}") and other details (what to print). In this case, the command "{{{1}}}" means "show on the screen," not "print on the printer." The programmer either gives the statement directly to the computer (by typing it while running a special program), or creates a text file with the command in it. You could create a file called "hi.txt", put the above command in it, and give the file to the computer.

If you have more than one command in the file, each will be performed in order, top to bottom. So the file could contain: