1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-01 04:20:39 +02:00

Merge pull request #3336 from divayprakash/fix-red

[Red/en] Explain initialize, closes #1467
This commit is contained in:
Divay Prakash
2018-10-27 18:26:06 +05:30
committed by GitHub

View File

@@ -103,7 +103,8 @@ type? my-integer
integer!
; 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
; Arithmetic is straightforward