mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-26 09:21:00 +03:00
Explain initialize, closes #1467
This commit is contained in:
parent
62e9ea6b71
commit
f12f89ab0b
@ -103,7 +103,8 @@ type? my-integer
|
|||||||
integer!
|
integer!
|
||||||
|
|
||||||
; A variable can be initialized using another variable that gets initialized
|
; A variable can be initialized using another variable that gets initialized
|
||||||
; at the same time.
|
; at the same time. Initialize here refers to both declaring a variable and
|
||||||
|
; assigning a value to it.
|
||||||
i2: 1 + i1: 1
|
i2: 1 + i1: 1
|
||||||
|
|
||||||
; Arithmetic is straightforward
|
; Arithmetic is straightforward
|
||||||
|
Loading…
Reference in New Issue
Block a user