home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / educ / twrite2.zip / TWQUICK.REF < prev    next >
Text File  |  1990-09-02  |  7KB  |  122 lines

  1.  Control Commands begin with #,@ or %  which must be placed in the first
  2.  column of a row.  The format of each command is critical to its correct
  3.  interpretation. For example, the Command to clear the screen is  #EF[,15,1]
  4.  The parameters in square brackets are optional but if they are used, the
  5.  commas must also be put in the correct places. If optional parameters are
  6.  not used, pre-programmed default values will be used in their place.
  7.  Each Command is explained within the HELP system and fully described
  8.  in the  TutorialWriter Tutorial.
  9.  
  10.   %  .................................................. Page Marker
  11.  #AH,Center,lines  .................................... Huge Robot Box
  12.  #AP,Center,lines  .................................... Pointer Box
  13.  #AR,Center,lines  .................................... Remember Box
  14.  #AL,lines[,Fore,back] ................................ Logo Box
  15.  #AC,x1,y1,Fore,Back,Message .......................... Cheering Robot
  16.  #AB,n[,Fore,Back] .................................... Big Letters
  17.  #BN,x1,y1,x2,y2,Boxtype,Grow,Center,lines,Fore,Back .. Normal Box
  18.  #BO,x1,y1,x2,y2,Boxtype,Grow,Center,lines,Fore,Back .. Overlay Box
  19.  #Cx1 ................................................. Cursor at Col x1
  20.  #Cx1,Ry1 ............................................. Cursor at x1,y1
  21.  #Dn .................................................. Delay n seconds
  22.  #EF[,Fore,Back] ...................................... Clear Full Screen
  23.  #EW[,Fore,Back] ...................................... Clear Work Screen
  24.  #EL,y1 ............................................... Erase a Line
  25.  #ES,x1,y1,x2,y2[,Fore,Back] .......................... Erase a Section
  26.  #GT,Identifier ....................................... Show Textscreen
  27.  #HP,Pointer,Direction,x1,y1[,Fore,Back] .............. Highlight Pointer
  28.  #HH,x1,y1,x2,Linetype[,Fore,Back] .................... Horizontal Line
  29.  #HV,x1,y1,y2,Linetype[,Fore,Back] .................... Vertical Line
  30.  #HS,x1,y1,x2,y2[,Fore,Back] .......................... Color Section
  31.  #HF,x1,y1,x2,y2,n[,Fore,Back] ........................ Fill with ASCII n
  32.  #Mfilename ........................................... Activate Menu
  33.  #NB .................................................. Beep
  34.  #NC .................................................. Two-tone Chime
  35.  #ND .................................................. Discourage Noise
  36.  #NE .................................................. Encourage Noise
  37.  #QQ,R,lines .......................................... Quick Question Robot
  38.  #QQ,B,lines .......................................... Quick Question Box
  39.  #QM,A,t,n ............................................ Mult Choice t, n Ans
  40.  #QM,L,t .............................................. Loop to Question t
  41.  #QM,C,t .............................................. Continue
  42.    @Qt ................................................ Mark Mult Choice t
  43.    @n ................................................. Mark Answers
  44.   @Ct ................................................. Mark Continue Point
  45.  #QT,Q,filename ....................................... Run Quiz(filename)
  46.  #QT,T,filename ....................................... Run Test(filename)
  47.  #Ry1 ................................................. Cursor at Row y1
  48.  #SK,S,n .............................................. Save Screen n
  49.  #SK,D,n .............................................. Dispose Screen n
  50.  #SK,R,Direction,n .................................... Restore Screen n
  51.  #SS,Direction,x1,y1,x2,y2,n .......................... Scroll Screen
  52.  #T[Fore,Back] ........................................ Put Title on
  53.     #T[Title]
  54.     #T[Fore,Back,Title]
  55.  #UFilename.ext[,Parameters]  ......................... Run program Filename
  56.  #W[Switch[,Switch[,Switch] ........................... Continue plus
  57.  #W  .................................................. Continue or Quit
  58.  #WH .................................................. Continue,Quit,Help
  59.  #WP .................................................. Continue,Quit,Pageback
  60.  #WN .................................................. Continue
  61.  #X ................................................... End CHAPTER
  62.  
  63.  
  64.  
  65.  
  66.  
  67.   Inline Commands begin with the symbol ~ or | and can be placed anywhere
  68.   in the text.  They are removed before the text is printed to the screen.
  69.  
  70.   ~lowercaseletter - changes the background color of the text being printed.
  71.   ~Uppercaseletter - changes the color of the text being printed.
  72.   ~K  -  print with a clicking sound;        ~k - cancel the clicking sound.
  73.   ~S  -  slow write to the screen;           ~s - cancel slow writing.
  74.  
  75.   |word|  makes 'word' a HYPERTEXT Button.
  76.  
  77.   Color Codes     Back  Inline         Fore   Inline         Color
  78.   -----------
  79.                     0    ~z             0      ~Z            Black
  80.                     1    ~b             1      ~B            Blue
  81.                     2    ~g             2      ~G            Green
  82.                     3    ~c             3      ~C            Cyan
  83.                     4    ~r             4      ~R            Red
  84.                     5    ~m             5      ~M            Magenta
  85.                     6    ~y             6      ~Y            Brown
  86.                     7    ~w             7      ~W            LightGray
  87.                                         8      ~Z~I          DarkGray
  88.                                         9      ~B~I          LightBlue
  89.                                        10      ~G~I          LightGreen
  90.                                        11      ~C~I          LightCyan
  91.                                        12      ~R~I          LightRed
  92.                                        13      ~M~I          LightMagenta
  93.                                        14      ~Y~I          Yellow
  94.                                        15      ~W~I          White
  95.  
  96.           Adding ~F to the in-line foreground command makes it blink.
  97.  
  98.  
  99.                     Values of Variables in Control Commands
  100.                     ---------------------------------------
  101.  
  102.   Center              : 1 - center text       0 - left justify text
  103.   Grow                : 1 - grow              0 - appear fully drawn
  104.   Linetype            : 1 - single line       2 - double line
  105.   Pointer             : A - arrow             T - triangle
  106.   Direction           : U - up;   D - down;   L - left;   R - right
  107.                         N - iNstantly  ( only used with #SK,R )
  108.  
  109.  
  110.   Boxtype:        #BN                               #BO
  111.            0 - no border                       0 - no border
  112.            1 - single line border              1 - single line border
  113.            2 - double line border              2 - double line border
  114.            3 - single top/bot,double sides     3 - single top/bot,double sides
  115.            4 - double top/bot,single sides     4 - double top/bot/single sides
  116.            5 .. 255  ASCII character           5 - as 0 with dropped shadow
  117.                                                6 - as 1 with dropped shadow
  118.                                                7 - as 2 with dropped shadow
  119.                                                8 - as 3 with dropped shadow
  120.                                                9 - as 4 with dropped shadow
  121.                                               10 .. 255 ASCII character
  122.