From 1b7e23333ea8a29f2fd0d77ce7b98aad653cdade Mon Sep 17 00:00:00 2001 From: flaviut Date: Sun, 1 Jun 2014 15:15:19 -0400 Subject: [PATCH] Revise "Result" --- content/variables/result.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/variables/result.md b/content/variables/result.md index 427cff3..714ccf6 100644 --- a/content/variables/result.md +++ b/content/variables/result.md @@ -3,7 +3,7 @@ title: Result --- # Result -The `result` variable is a special variable that serves as an implicit return variable. This is useful because in most cases, the control flow semantics of the `return` statement are unneeded. `result` is initialized with the default value for a given return type, so the following code starts as `0`, before being initialized to `number`: +The `result` variable is a special variable that serves as an implicit return variable, which exists because the control flow semantics of the `return` statement are rarely needed. The result variable is initialized in the standard way, as if it was declared with `var result: T`. ``` nimrod proc `**`(number, power: int): int =