Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
5
Task/Undefined-values/Nim/undefined-values.nim
Normal file
5
Task/Undefined-values/Nim/undefined-values.nim
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
var a {.noInit.}: array[1_000_000, int]
|
||||
|
||||
# For a proc, {.noInit.} means that the result is not initialized.
|
||||
proc p(): array[1000, int] {.noInit.} =
|
||||
for i in 0..999: result[i] = i
|
||||
Loading…
Add table
Add a link
Reference in a new issue