home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l320 / 2.img / EXAMPLES / SCRVAL.FH < prev    next >
Encoding:
Text File  |  1989-10-27  |  1.5 KB  |  36 lines

  1. c
  2. c       scrval.fh  --  Header file for NDP Fortran-386
  3. c
  4. c       Copyright (C) MicroWay, Inc., 1989
  5. c
  6. c       Use this file with the example SCREENIN.F to initialize the
  7. c       screen attributes and key codes that are used in the program.
  8. c
  9. c       Usage: The following line should appear above the declarations in
  10. c              each program or subprogram that uses the symbolic names
  11. c              listed below.
  12. c
  13. c              include 'scrval.fh'
  14. c
  15. c       these are the keyboard scan codes used
  16.  
  17.     PARAMETER (key_null = 0, key_cntrl_c = 3, key_A_cap = 65)
  18.     PARAMETER (key_Z_cap = 90, key_a = 97, key_z = 122)
  19.     PARAMETER (key_0 = 48, key_1 = 49, key_3 = 51, key_9 = 57)
  20.     PARAMETER (key_d = 100, key_m = 109, key_y = 121)
  21.         PARAMETER (key_rt_arrow = -77, key_lt_arrow = -75)
  22.         PARAMETER (key_up_arrow = -72, key_dn_arrow = -80)
  23.         PARAMETER (key_pgup = -73, key_pgdn = -81)
  24.         PARAMETER (key_home = -71, key_end = -79)
  25.         PARAMETER (key_ins = -82, key_del = -83, key_enter = 13)
  26.     PARAMETER (key_backspace = 8, key_esc = 27, key_dash = 45)
  27.         PARAMETER (key_slash = 47, key_backslash = 92, key_alt_h = -35)
  28.     PARAMETER (key_underscore = 95,key_beep = 7)
  29.  
  30. c       these are the available attributes in black and white
  31.  
  32.     PARAMETER(idim = 9,ibright = 7,ireverse_dim = 25,ireverse_bright = 16)
  33.     PARAMETER (ireverse_bright_blinking = 144)
  34.     PARAMETER (ireverse_dim_blinking = 153)
  35.     PARAMETER (iblinking_dim = 137,iblinking_bright = 135)
  36.