DECLARE
TYPE numarray IS
TABLE OF VARCHAR2(2) INDEX BY BINARY_INTEGER;
l_data numarray;
BEGIN
FOR i IN 1..255 LOOP
l_data(i) := chr(i);
END LOOP;
FOR i IN 1..l_data.count LOOP
dbms_output.put_line(rpad(i, 3, ' ')
|| ' '
|| l_data(i));
END LOOP;
END;
/