hi everyone, in plsql, i saw some one use for loop without define the loop index, and the database can execute correctly. but i can't find the description of this syntax in oracle documentation. can anyone explain it? great thanks!
the following code is an example, notice the *inner_c* is not defined:
declare
    v_current_nr NUMBER;
begin
    v_current_nr:=0;
    loop
     for inner_c in 1..4
     loop
      DBMS_OUTPUT.put_line(v_current_nr);
     end loop;
     v_current_nr:=v_current_nr+5;
     exit when v_current_nr>25;
    end loop;
end;