B: putoct( number [, length, fill] );
C: void putoct(int number [, int length, int fill] );
PUTOCT outputs the given "number" in octal format on the current write unit.
putoct(10) will output 12 putoct(-10,5) will output 777777777766 putoct(10,10,'b') will output bbbbbbbb12 putoct(-10,10,'b') will output 777777777766
Generally speaking, it is preferable to use PRINTF instead of PUTOCT.
Copyright © 1996, Thinkage Ltd.