character set
play

- Character set - Character escape conventions - Canonical form - - PowerPoint PPT Presentation

CHARACTER STREAM PROCESSING - Character set - Character escape conventions - Canonical form - Line editing conventions CHARACTER SET CONSIDERATIONS minimum: graphic range equal to a typical office typewriter support: throughout system -programs


  1. CHARACTER STREAM PROCESSING - Character set - Character escape conventions - Canonical form - Line editing conventions

  2. CHARACTER SET CONSIDERATIONS minimum: graphic range equal to a typical office typewriter support: throughout system -programs and data files program language literals symbolic file names symbolic subroutine linkage punched cards typewriters and displays printers

  3. CHARACTER STREAM PROCESSING CONSIDERATIONS 1. Device Independence--any program with any terminal, 2. Unambiguous relation between printed image and stored string.

  4. non-e~nonlcal EXAMPLE OF DEVICE INDEPENDENT, UNAMBIGUOUS CHARACTER SET SUPPORT stored ASCII flies edltln& character s User Procr am 1-1~ Supervisor Subroutine EBCDIC non-canonical escapes for ASCII codes edltln& characters Llnslde: ASCII canonical for m no unlnterpreted edltlnc or escape characters

  5. ESCAPE CONVENTIONS FOR DEVICE INDEPENDENCE Typed at 2741 terminal: y = board_position <i,j >; Character string passed to program: y = board_position l,j ;

  6. CANONICAL REDUCTION EXAMPLE (user) locate "order" 1. ( edItor) the order has been f i I ed. 2. (user) .!1." 3. change "1." to II 4. (edl tor) the order has been f i J ] !i:d •

  7. CANONICAL REDUCTION METHOD typed: f.Qr. that stored: 1. Graphics typed in the same column are In ASCU collating sequence, separated by backspaces. 2. White space is represented by ASCII "blank" characters regardless of how typed.

  8. Ll NE AND PRINT POSITION ED I Tl NG y = lenz#gth(string4); 1. typed: y • length(strlng4); stored: typed: Silncer@Sincerly## yours, 2. stored: Sincerely yours, typed: we have ~#U#.liQ 1 eft. 3. we have .lllQ left. stored:

  9. OBSERVATIONS FROM USAGE -Economically implementable - Effective human interface - User can Ignore special features until needed - Interaction between canonical form and horizontal tabulation

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend