User Tools

Site Tools


itoa

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

itoa [2019/03/18 10:36] (current)
mihael created
Line 1: Line 1:
 +====== itoa ======
  
 +<sxh>
 +**FREE
 +
 +ctl-opt dftactgrp(*no) actgrp(*caller);​
 +
 +dcl-pr intToAlpha pointer extproc('​__itoa'​);​
 +   value int(10) value;
 +   ​string pointer value;
 +   radix int(10) value;
 +end-pr;
 +
 +
 +main();
 +*inlr = *on;
 +
 +
 +dcl-proc main;
 +
 +  dcl-s buffer char(10);
 +
 +  intToAlpha(54 : %addr(buffer) : 16);
 +
 +  dsply buffer;
 +end-proc;
 +
 +</​sxh>​
 +
 +{{tag>​devel ibm rpg}}
itoa.txt ยท Last modified: 2019/03/18 10:36 by mihael