1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-09 16:26:53 +02:00

Explain initialize, closes #1467

This commit is contained in:
Divay Prakash
2018-10-27 18:24:03 +05:30
parent 62e9ea6b71
commit f12f89ab0b

View File

@@ -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