mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Update red.html.markdown
minor indentation
This commit is contained in:
parent
22ebe9a9b4
commit
9a4a3c084f
@ -44,11 +44,15 @@ comment {
|
||||
|
||||
; assign a value to a variable using a colon ":"
|
||||
my-name: "Red"
|
||||
reason-for-using-the-colon: {Assigning values using the colon makes the equality sign "=" exclusively usable for comparisons purposes, exactly what "=" was intended for in the first place! Remember this y = x + 1 and x = 1 => y = 2 stuff from school?
|
||||
reason-for-using-the-colon: {Assigning values using the colon makes
|
||||
the equality sign "=" exclusively usable for comparisons purposes,
|
||||
exactly what "=" was intended for in the first place!
|
||||
Remember this y = x + 1 and x = 1 => y = 2 stuff from school?
|
||||
}
|
||||
is-this-name-valid?: true
|
||||
|
||||
; print output using print, or prin for printing without a newline or linefeed at the ; end of the printed text.
|
||||
; print output using print, or prin for printing without a newline or linefeed at the
|
||||
; end of the printed text.
|
||||
|
||||
prin " My name is " print my-name
|
||||
My name is Red
|
||||
|
Loading…
Reference in New Issue
Block a user