till Statement

Purpose:

Part of a for loop statement

Syntax:

for j = 0 till 5

next

 

Comments:

The till statement is usefull in for loops where you are counting from zero to a number of elements.

 

Example:

for j = 0 till 3 ; p j; next

next

0

1

2

 

for j = 0 to 3; p j; next

0

1

2

3