forked from goplus/tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
0 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +0,0 @@ | ||
// Go+ has various value types including strings, | ||
// integers, floats, booleans, etc. Here are a few | ||
// basic examples. | ||
|
||
// Strings, which can be added together with `+`. | ||
println "go+"+"lang" | ||
|
||
// Integers and floats. | ||
println "1+1 =", 1+1 | ||
println "7.0/3.0 =", 7.0/3.0 | ||
|
||
// Booleans, with boolean operators as you'd expect. | ||
println true && false | ||
println true || false | ||
println !true | ||