Functions

/Users/garethloy/Musimathics/Musimat1.2/MusimatTutorial/B0300.cpp File Reference

#include "MusimatTutorial.h"

Go to the source code of this file.

Functions

 MusimatTutorialSection (B0300)

Function Documentation

MusimatTutorialSection ( B0300   )

Definition at line 2 of file B0300.cpp.

                              {
        Print("*** B.3 Unicode (ASCII) Character Codes ***");
        /*****************************************************************************
         
         B.3 Unicode (ASCII) Character Codes
         
         The Universal Character Set, or Unicode, encodes virtually all of the world's characters and even 
         leaves room for characters not yet invented. A common subset of Unicode is ASCII (American Stan-
         dard Code for Information Interchange), which was proposed by ANSI in 1963 and adopted in 1968. 
         Recent standards that refer to ASCII include ISO-14962-1997 and ANSI-X3.4-1986 (R1997). The 
         ASCII code includes many punctuation marks and white space such as blank, tab, and newline 
         (which forces subsequent text onto a new line).
         
         Table B.1 
         ASCII Character Codes
         
            0   1       2       3       4       5       6       7       8       9       10      11      12      13      14      15
         0      NUL     SOH     STX     ETX     EOT     ENQ     ACK     BEL     BS      HT      LF      VT      FF      CR      SO      SI
         1      DLE     DC1     DC2     DC3     DC4     NAK     SYN     ETB     CAN     EM      SUB     ESC     FS      GS      RS      US
         2      SP      !       "       #       $       %       &       '       (       )       *       +       ,       -       .       /
         3      0       1       2       3       4       5       6       7       8       9       :       ;       <       =       >       ?
         4      @       A       B       C       D       E       F       G       H       I       J       K       L       M       N       O
         5      P       Q       R       S       T       U       V       W       X       Y       Z       [       \       ]       ^       _
         6      `       a       b       c       d       e       f       g       h       i       j       k       l       m       n       o
         7      p       q       r       s       t       u       v       w       x       y       z       {       |       }       ~       DEL
         
         
         To obtain the integer ASCII number corresponding to a character, first find the row r and column 
         c containing the character in table B.1. The ASCII number of this character is . For example, 
         the character ĎA' corresponds to .
         
         The characters between 0 and 31 and DEL are reserved for functions that mostly don't concern 
         computer users, except for CR (carriage return) and LF (line feed). SP stands for the space 
         character '  '. This is another one of those tables that you must learn if you expect your geek friends 
         to take you seriously, so place a copy of table B.1 at your bedside or above the mantelpiece, where 
         you can refer to it frequently.
         *****************************************************************************/
        
        For (Integer i = 32; i < 128; i++)
                Print(Character(i));
        
}