DLD Lecture 09 and 10
DLD Lecture 09 and 10
BSIT
Digital Logic Designs (DLD)
Lecture 9 and 10
Therefore:
myString = CHR (67)
Print (myString)
Would return the letter upper case C as 67 is the ASCII code that letter.
Entering:
ASC (‘D’)
Would return the number 68 as that is its number in the ASCII code.
Size of ASCII files
Because on byte is used for each character, the size of a
plain text file in bytes should be equal to the number of
characters.
Example:
16