Chr

Syntax

Konsol:Chr(ascii, return)

Description

Returns a numeric value of string according to the ASCII value.

Note

Useful for scripting a sorting algorithm.

Example

function main() {
  Var:Number nVal=65;
  Var:String sVal;
  Konsol:Chr(nVal, sVal)   //if nVal has a value of 65 then sVal will have a value of 'A'
  if (nVal LT 70) {
    //code---
  }
}
www.konsolscript.org
© 2005-2011 KonsolScript Labs | All Rights Reversed | Licensed under GNU GPL | Designed by Mj Mendoza IV
http://www.sourceforge.net