From 538e95e657a01ec40e11a3b859bcf2dac7d8d8bf Mon Sep 17 00:00:00 2001 From: PavelVozenilek Date: Sun, 22 Jun 2014 12:35:47 +0200 Subject: [PATCH] runtime -> compilation time --- content/variables.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/variables.md b/content/variables.md index a25a49f..f3ea091 100644 --- a/content/variables.md +++ b/content/variables.md @@ -11,7 +11,7 @@ proc getAlphabet(): string = for letter in 'a'..'z': result.add(letter) -# Computed at runtime +# Computed at compilation time const alphabet = getAlphabet() # Mutable variables @@ -57,4 +57,4 @@ A `const` variable's value will be evaluated at compile-time, so if you inspect STRING_LITERAL(TMP129, "abcdefghijklmnopqrstuvwxyz", 26); ``` -The only limitation with const is that compile-time evaluation cannot interface with C because there is no compile-time foreign function interface at this time. \ No newline at end of file +The only limitation with const is that compile-time evaluation cannot interface with C because there is no compile-time foreign function interface at this time.