User Tools

Site Tools


syntax:functions:code

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
syntax:functions:code [2021/08/01 18:23] craigtsyntax:functions:code [2021/08/14 21:56] (current) – [Examples] craigt
Line 20: Line 20:
 =====Examples===== =====Examples=====
  
-  code('Z'90 +  code('Z'//Returns 90 
-  code(' '= 32  //Space character + 
-  code('ABC'= 65  //The ASCII code for the first character, 'A'+  code(' ') //Returns 32  (Space character
 + 
 +  code('ABC') //Returns 65  (The ASCII code for the first character, 'A')
  
 \\  \\ 
 ===== See also ===== ===== See also =====
   * [[syntax:functions:char|Char(char_code)]]   * [[syntax:functions:char|Char(char_code)]]
syntax/functions/code.txt · Last modified: 2021/08/14 21:56 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki