home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 August / PCWorld_2000-08_cd.bin / Software / TemaCD / xbasic / xbpro.exe / xb / command.hlp < prev    next >
Text File  |  2000-01-15  |  5KB  |  143 lines

  1. '
  2. ' ##########################  Max Reason
  3. ' #####  dot commands  #####  copyright 1988-2000
  4. ' ##########################  dot command summary helpfile
  5. '
  6. '
  7. ' You can enter "dot commands" in the command grid
  8. ' to execute any command in the main menus, plus
  9. ' several others.
  10. '
  11. ' If the text cursor is in the lower text area,
  12. ' hit <escape> to move it to the command grid.
  13. ' This clears the command grid so you can enter
  14. ' text immediately.
  15. '
  16. ' To execute a dot command, enter a dot plus the
  17. ' two letter abbreviation of the command in the
  18. ' upper text area.
  19. '
  20. ' Many dot commands accept an optional argument,
  21. ' but none require it.  If an required argument
  22. ' is not supplied, a window will appear to ask
  23. ' for additional information.  But you'll soon
  24. ' find it's much faster to enter arguments too,
  25. ' since you do everything without moving your
  26. ' hands from the keyboard.
  27. '
  28. ' A summary of the dot commands follows, starting
  29. ' with the non-menu bar commands.  An <enter> key
  30. ' must be pressed to execute a dot command.
  31. '
  32. '
  33. ' SYNTAX
  34. '
  35. '  .<command>[<space><argument>[<tab><argument>]]
  36. '
  37. '  # means a number
  38. '
  39. '  main menu bar commands are executed with their 2-letter mnemonic
  40. '    these accept filename argument:    .ft  .fl  .fs  .fr  .er  .ew
  41. '    these accept function name:        .vv  .vp  .vn  .vd  .vr  .vc
  42. '
  43. '  popular dot commands
  44. '    .f    find immediate - see below
  45. '    .r    replace immediate - see below
  46. '    .c    clear command window
  47. '    .s#   set tag (a-z)
  48. '    .j#   jump to tag
  49. '    .     line # of cursor
  50. '    .#    scroll to line #
  51. '    .v    view next function
  52. '    .v-   view previous function
  53. '    .v0   view PROLOG
  54. '    .a    again - repeat last dot command
  55. '    .h    help
  56. '
  57. '
  58. ' ###################################
  59. ' #####  main menu equivalents  #####
  60. ' ###################################
  61. '
  62. ' all arguments shown below are optional
  63. '
  64. '  .fn t|p|g    - FileNew       ' text|program|gui-program
  65. '  .ft filename - FileTextLoad  ' filename.*
  66. '  .fl filename - FileLoad      ' filename.x
  67. '  .fs filename - FileSave      ' filename.*
  68. '  .fm t|p      - FileMode      ' text|program
  69. '  .fr filename - FileRename    ' filename.*
  70. '  .fq          - FileQuit
  71. '
  72. '  .ec          - EditCut       ' system clipboard = 0
  73. '  .eg          - EditGrab      ' system clipboard = 0
  74. '  .ep          - EditPaste     ' system clipboard = 0
  75. '  .ed          - EditDelete    ' alternate clipboard = 1
  76. '  .eb          - EditBuffer    ' alternate clipboard = 1
  77. '  .ei          - EditInsert    ' alternate clipboard = 1
  78. '  .ee          - EditErase     ' no clipboard
  79. '  .ef text     - EditFind
  80. '  .er filename - EditRead      ' from filename to system clipboard
  81. '  .ew filename - EditWrite     ' from system clipboard to filename
  82. '
  83. '  .vf funcname - ViewFunction  ' view named function
  84. '  .vp          - ViewPrevious  ' view previously viewed function
  85. '  .vn funcname - ViewNew       ' create and view a new function
  86. '  .vd funcname - ViewDelete    ' delete [displayed] function
  87. '  .vr funcname - ViewRename    ' rename [displayed] function
  88. '  .vc          - ViewClone     ' clone [displayed] function
  89. '  .vl filename - ViewLoad      ' load function into program
  90. '  .vs filename - ViewSave      ' save function onto disk
  91. '
  92. '  .om          - OptionMisc    '
  93. '  .oc          - OptionColor   '
  94. '  .ot          - OptionTab     ' set tab width in pixels
  95. '
  96. '  .rs          - RunStart      ' start running program at beginning
  97. '  .rc          - RunContinue   ' continue running program after pause
  98. '  .rj          - RunJump       ' move execution pointer to cursor line
  99. '  .rp          - RunPause      ' pause execution - can continue, step, etc.
  100. '  .rk          - RunKill       ' kill execution - no continue, step, etc.
  101. '  .rr          - RunRecompile  ' recompile but do not execute program
  102. '  .ra          - RunAssembly   ' recompile program to assembly file
  103. '  .rl          - RunLibrary    ' recompile library to assembly file
  104. '
  105. '  .dt          - DebugToggle   ' toggle breakpoint at cursor line
  106. '  .dc          - DebugClear    ' clear all breakpoints in program
  107. '  .de          - DebugErase    ' clear all breakpoints in function
  108. '  .dm          - DebugMemory   ' display memory window
  109. '  .da          - DebugAssembly ' display assembly window
  110. '  .dr          - DebugRegister ' display registers window
  111. '
  112. '  .sc          - StatusCompile ' display compilation errors
  113. '  .sr          - StatusRuntime ' display runtime error
  114. '
  115. '  .hn          - HelpNotes     ' display notes.hlp
  116. '  .hs          - HelpSupport   ' display support.hlp
  117. '  .hm          - HelpMessage   ' display message.hlp
  118. '  .hl          - HelpLanguage  ' display language.hlp
  119. '  .ho          - HelpOperator  ' display operator.hlp
  120. '  .hd          - HelpDot       ' display dot.hlp
  121. '
  122. '
  123. '
  124. ' ############################
  125. ' #####  find & replace  #####
  126. ' ############################
  127. '
  128. '  SYNTAX:  .[*|<#>][f|r][-][<space><find text>[<tab><replace text>]]
  129. '            [*|<#>] = repetitions          (* = all instances, default = 1)
  130. '            [f|r] = find | replace
  131. '            [-] = reverse
  132. '
  133. '            [<space>find text] = a single space delimits the find text
  134. '                                (option: if not specified, same as previous)
  135. '            [<tab>replace text] = a single tab-character delimits the replace text
  136. '                                (option: if not specified, same as previous)
  137. '
  138. '  example:  .*r PIRNT  PRINT     = replace (forward) all instances
  139. '               |     |
  140. '             space  tab
  141. '
  142. '
  143.