Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:software:qview:qview_6:qcl_library:vr10slntoasc [2017/02/06 17:40] – [Errcode] qem103 | en:software:qview:qview_6:qcl_library:vr10slntoasc [2019/08/29 17:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== VR10SLnToAsc ====== | ||
+ | |||
+ | **V = **// | ||
+ | |||
+ | **R = **//Reading functions// | ||
+ | |||
+ | SIGNED LONG ----> | ||
+ | |||
+ | The VR10SLnToAsc function __converts a Signed Long variable type (long with sign) in an ascii variable type__. | ||
+ | |||
+ | ===== IMPLEMENTATION ===== | ||
+ | |||
+ | **VR10SLnToAsc (value, index, array, errcode)** | ||
+ | |||
+ | Parameters: | ||
+ | |||
+ | ^IN/ | ||
+ | | IN | GLOBAL | ||
+ | | IN | GLOBAL | ||
+ | | OUT | ARRGBL | ||
+ | | OUT | GLOBAL | ||
+ | |||
+ | ==== Errcode ==== | ||
+ | |||
+ | After calling the function, ' | ||
+ | 0: No error | ||
+ | |||
+ | === Example === | ||
+ | |||
+ | Transforms the value 80000 (signed long) in an Ascii value | ||
+ | |||
+ | <code QCL> | ||
+ | value = 80000 | ||
+ | index = 1 | ||
+ | |||
+ | VR10SLnToAsc (value, index, array, errcode) | ||
+ | |||
+ | ;On the array will be : | ||
+ | ; array[1] = 48 | ||
+ | ; array[2] = 48 | ||
+ | ; array[3] = 48 | ||
+ | ; array[4] = 49 | ||
+ | ; array[5] = 51 | ||
+ | ; array[6] = 56 | ||
+ | ; array[7] = 56 | ||
+ | ; array[8] = 48 (13880 h) | ||
+ | </ | ||
+ | |||
+ | === Note === | ||