The ';' Token

In H, the ; token is used to signal the end of a line.
Anything may be placed after the semicolon, because it will be ignored by the interpreter.


The following are normal, acceptable print statements:

print("Hello, world!");
print("Hi there!"); # This will be ignored

However, this statement will cause an error that states
Missing ; in statement print("Hi there!")

print("Hi there!")

      The Print Statement
Copyright © Computer Sciences Club 2012