Skip to content

Commit

Permalink
Update syntax_concept_01.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pmqtt authored Jan 6, 2025
1 parent f3c9d88 commit 880f2d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/syntax_concept_01.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The following code is a first draft to demonstrate basic language constructs suc
fn main() -> i64 {
let index : i64 = 0;
const b : string = "Hallo World";
let ar: [i64; index] = [0; 11]; // An array of size 11, initialized with zeros
let ar: [i64; 11] = [0]; // An array of size 11, initialized with zeros

while( index < 11){
ar[index] = index * 2; // Example: storing double the index value
Expand Down

0 comments on commit 880f2d8

Please sign in to comment.