BashClass icon indicating copy to clipboard operation
BashClass copied to clipboard

Declare for loop control variable

Open amirbawab opened this issue 8 years ago • 0 comments

Enhanced syntax would look as follow:

// var int i; <--- No need to declare `i` here 
for(var int i=0; i < 10; i=i+1) {
    // body
}

Requirements:

  • Modify the grammar
  • Add corresponding bash code

amirbawab avatar Sep 09 '17 18:09 amirbawab