WRITING SPECIAL CHARACTERS The Kyan Text Editor (ED) does not allow the use of the keyboard graphics characters because it interprets control keys as commands. For example, CONTROL-

pastes the contents of the buffer instead of printing the club-shaped graphics character. If you need to use these keyboard graphics characters, you can get around this problem fairly easily by doing something like: Write(Chr(16)); (* print club graphic char to screen *) And if you want to print an arrow, it requires an escape character first, which adds even more typing: Write(Chr(27),Chr(31)); (* print ESCape and right arrow *) Again, my laziness prompted me to create a file, Chars.i, which contains a number of functions that return special characters. The function name is then used in a Write or WriteLn statement instead of the Chr function. The previous statement can now be rewritten, using the Chars.i functions, to be: Write(Esc,Rarrow); The CHARS.PAS file, which you should rename to CHARS.I after downloading, does not give all of the special character functions, but, of course, you may add functions to the file if you have a list of the ATASCII (Atari version of the American Standard Codes for Information Interchange) character codes. The file's comments describe the purpose of each function. Important Hint: If you are going to add a lot of functions to the file, use the CONTROL- and CONTROL-

commands to move and paste the following: FUNCTION : Char; BEGIN := Chr() END;(* *) Then, after you have pasted the buffer into the text several times, you may go in and insert the function name, value, and comment where appropriate. .