home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR8 / QF22S.ZIP / QF.CFG < prev    next >
Text File  |  1993-08-08  |  13KB  |  525 lines

  1. ;
  2. ; QUIET FLIGHT CONFIGURATION FILE
  3. ; -------------------------------
  4. ;
  5. ; Copyright COB System Designs, Inc. All Rights Reserved.
  6. ;
  7. ; This is the file that holds all of our settings as well as any expansion
  8. ; macro information you have.  Please see the documentation.
  9. ;
  10. ; Internal Keywords:
  11. ;            $FULLFILE.   = Full File Name with PATH
  12. ;            $PATH.       = File's Current Path
  13. ;            $FILE.       = File Name + File Ext
  14. ;            $EXT.        = File Extension
  15. ;            $DATE.       = Today's Date - 11/09/92
  16. ;            $DATESTR.    = Today's Date String - November 11, 1992
  17. ;            $FILEDATE.   = IF this is an existing file - use the last date
  18. ;                           saved ELSE use DATESTR
  19. ;            $DOW.        = Day of Week - Monday
  20. ;            $TIME.       = Current Time
  21. ;            $NAME.       = Author's Name // See Below in 
  22. ;                           [EXPANSION=Defaults]
  23. ;            $COMPANY.    = Company name in Copyright. 
  24. ;                           See Below in [EXPANSION=Defaults]
  25. ;            $VERSION.    = Version #
  26. ;            $YEAR.       = Year (for Copyright usually)
  27. ;
  28. ;  You may also define directives on the fly - and you will be prompted
  29. ;  for the answer.
  30. ;
  31. ;  For instance, $SHOESIZE.
  32. ;  If no $SHOESIZE. is found in the local or Defaults section - you will be
  33. ;  prompted for its value.
  34. ;
  35. ;  In addition, you may insert a DOS environment variable in your
  36. ;  expansion by enclosing the variable name between percent signs (%).
  37. ;  For instance, if you have set the DOS environment variable AUTHOR to
  38. ;  "Sammy", adding the following line to your header section will insert
  39. ;  Sammy where %AUTHOR% is placed:
  40. ;
  41. ;       * Author.....: %AUTHOR%
  42. ;  ==>  * Author.....: Sammy
  43. ;
  44. ;  This is helpful because when Richard logs on this machine he can
  45. ;  change the DOS Environment by typing in SET AUTHOR=RICHARD at the
  46. ;  DOS prompt.  When he adds a new header it will have his name in the
  47. ;  header instead of Sammy.
  48.  
  49.  
  50. ;---------------------------------------------------------------------------
  51. ; Quiet Flight General Configuration
  52. ;---------------------------------------------------------------------------
  53. [GENERAL]
  54.  
  55. ; All global configuration items will be placed in here.
  56. ; Restore Command = a bookmark.  When you save your file (using Ctrl-Enter),
  57. ; Quiet Flight inserts a BookMark so that the next time you load the file
  58. ; your cursor will be placed right where you left off.
  59. ; Place RESTORE=ON in any [GENERAL=<extensions>] where you want to
  60. ; have the restore macro work.
  61. ;
  62. Restore=OFF
  63. StartupMessageMenu=ON
  64.  
  65. ; BRIEF Keys - only three at current - Home, End, Del -
  66. ; when ON
  67. ;         Home = emulates BRIEF where 1st one takes you to beginning of
  68. ;                line, 2nd to top of Screen, 3rd to Begin of File
  69. ;         End  = emulates BRIEF where 1st one takes you to end of
  70. ;                line, 2nd to Bottom of Screen, 3rd to End of File
  71. ;         Del  = emulates BRIEF where if a block is marked, it is deleted
  72. ;                otherwise just delete the character.
  73. ;
  74. BriefKeys=OFF
  75.  
  76.  
  77. ; Set this to ON if you wish to let CTRL-TAB jump to the next
  78. ; fill-in-the-blank character (~) in expansion macros
  79. ;
  80. JumpNext=OFF
  81.  
  82. ; Newheader = When you open a new file, do you want a header automatically
  83. ; inserted?
  84. NewHeader=OFF
  85.  
  86. ; This is the directory where the Project Manager looks for .prj files.
  87. ProjectDir=
  88.  
  89. ;---------------------------------------------------------------------------
  90. ; Quiet Flight Configuration Settings:  dBASE program files
  91. ;---------------------------------------------------------------------------
  92. [GENERAL=.PRG .FMT .CH]
  93. Restore=ON
  94. ; Newheader = When you open a new file, do you want a header automatically
  95. ; inserted?
  96. NewHeader=ON
  97.  
  98. ;---------------------------------------------------------------------------
  99. ; Quiet Flight Configuration Settings:  TSE Source Files
  100. ;---------------------------------------------------------------------------
  101. [GENERAL=.S .INC]
  102. Restore=ON
  103. NewHeader=ON
  104.  
  105.  
  106. ;---------------------------------------------------------------------------
  107. ; Quiet Flight Configuration Settings:  C and C++ Files
  108. ;---------------------------------------------------------------------------
  109. [GENERAL=.C .CPP .H]
  110. Restore=ON
  111. JumpNext=ON
  112. NewHeader=ON
  113.  
  114.  
  115. ;---------------------------------------------------------------------------
  116. ; Default configuration for the QF Flow program
  117. ;---------------------------------------------------------------------------
  118. [FLOW]
  119. Indent=3
  120. MultiIndent=2
  121. FuncIndent=OFF
  122. CaseIndent=ON
  123. Errorcheck=ON
  124. Comment=ON
  125. CommentStr=&&*
  126.  
  127.  
  128. ;---------------------------------------------------------------------------
  129. ; Default configuration for the ZIP lister
  130. ;---------------------------------------------------------------------------
  131. [ZIP]
  132. ; if you've renamed PKWARE's PKZIP or PKUNZIP, please make note of the
  133. ; new names in the following section.
  134. ZipFile=PKZIP
  135. UnZipFile=PKUNZIP
  136.  
  137.  
  138.  
  139. ;---------------------------------------------------------------------------
  140. ; Keyword Expansions: Defaults for any file extension
  141. ;---------------------------------------------------------------------------
  142. [EXPANSION=Defaults]
  143. ; insert your name and Company here.
  144. name=[Your name -- Change in QF.CFG]
  145. company=[Your Company -- Change in QF.CFG]
  146. PRG_Compiler=FoxPro 2.5
  147. C_Compiler=Borland C++ 3.0
  148. TSE_COMPILER=TSE v1.00 PreRelease
  149. QfRes=QFRestore »67,1«
  150. TD=$DATE. $TIME. ~
  151. LM=Last Modified: $DATE. @ $TIME.
  152.  
  153.  
  154.  
  155. ;---------------------------------------------------------------------------
  156. ; Keyword Expansions:  dBASE program files
  157. ;---------------------------------------------------------------------------
  158. [EXPANSION=.SPR .PRG .MPR .QPR .FMT .CH]
  159. ACW=ACTIVATE WINDOW ~
  160. ALS=ALLTRIM(STR(~))
  161. DEW=DEACTIVATE WINDOW ~
  162. GAT=GATHER ~
  163. IND=INDEX ON 
  164. INT=INDEX ON ~ TAG ADDITIVE
  165. INS=INSERT ~ INTO 
  166. OKL=ON KEY LABEL ~
  167. PAR=PARAMETERS ~
  168. PKC=PUSH KEY CLEAR
  169. POK=POP KEY 
  170. PRI=PRIVATE ~
  171. RCW=Randy Wallin
  172. REP=REPLACE ~ WITH 
  173. RMK=Ryan Katri
  174. SCM=Steve Mackie
  175. SCT=SCATTER 
  176. SETO=SET ORDER TO ~ 
  177. SETOO=SET ORDER TO ~ OF 
  178. SETR=SET RELATION TO ~ INTO 
  179. STF=STORE .F. TO ~
  180. STO=STORE ~ TO 
  181. STT=STORE .T. TO ~
  182. UIS=USE ~ IN SELECT(1)
  183. WAW=WAIT WINDOW ~
  184. ; ----------------------------------------------------------------------
  185. ; SEE QFEXTRA.CFG for additional xBase expansions.
  186. ; ----------------------------------------------------------------------
  187. DOW={
  188. DO WHILE $Expression.
  189.    ~
  190. ENDDO &&* $Expression.
  191. }
  192.  
  193. DOT={
  194. DO WHILE .T.
  195.    ~
  196. ENDDO &&* .T.
  197. }
  198.  
  199. DON={
  200. DO WHILE .NOT. EOF()
  201.    ~
  202.    SKIP
  203. ENDDO &&* .NOT. EOF()
  204. }
  205.  
  206. FOR={
  207. FOR $FOR Expression eg i=1 to 50.
  208.    ~
  209. ENDFOR &&* $FOR Expression eg i=1 to 50.
  210. }
  211.  
  212. IFF={
  213. IF $Expression.
  214.    ~
  215. ENDIF &&* $Expression.
  216. }
  217.  
  218. IFE={
  219. IF $Expression.
  220.    ~
  221. ELSE
  222. ENDIF &&* $Expression.
  223. }
  224.  
  225. IFN={
  226. IF .NOT. $Not Expression.
  227.    ~
  228. ELSE
  229. ENDIF &&* .NOT. $Not Expression.
  230. }
  231.  
  232. SCA={
  233. SCAN $Expression.
  234.    ~
  235. ENDSCAN &&* $Expression.
  236. }
  237.  
  238. DOC={
  239. DO CASE
  240.    CASE $Expression.
  241.         ~
  242.    CASE $Expression.
  243.         
  244.    CASE $Expression.
  245.         
  246.    OTHERWISE
  247.         
  248. ENDCASE
  249. }
  250.  
  251. PUPO={
  252. PUSH KEY CLEAR
  253. ~
  254. POP KEY
  255. }
  256.  
  257. SAV={
  258. SAVE SCREEN TO $ScreenVariable.
  259. RESTORE SCREEN FROM $ScreenVariable.
  260. }
  261.  
  262.  
  263. FUN={
  264. *──────────────────────────────────────────────────────────*
  265. * Function....: $FUNCTION.
  266. * Assumes.....:
  267. * Parameters..:
  268. * Action......:
  269. * Returns.....:
  270. * Notes.......:
  271. *──────────────────────────────────────────────────────────*
  272. FUNCTION $FUNCTION.
  273. ~
  274. RETURN
  275. *EOF $FUNCTION.
  276.  
  277. }
  278.  
  279. PRO={
  280. *──────────────────────────────────────────────────────────*
  281. * Procedure...: $PROCEDURE.
  282. * Assumes.....:
  283. * Parameters..:
  284. * Action......:
  285. * Notes.......:
  286. *──────────────────────────────────────────────────────────*
  287. PROCEDURE $PROCEDURE.
  288. ~
  289. RETURN
  290. *EOP $PROCEDURE.
  291. }
  292.  
  293. HEADER={
  294. * Program....: $FILE.
  295. * Version....: $VERSION.
  296. * Author.....: $NAME.
  297. * Date.......: $FILEDATE.     Last Modified: $DATE. @ $TIME.
  298. * Notice.....: Copyright (c) $YEAR. $COMPANY., All Rights Reserved.
  299. * QFRestore..: »0,0«
  300. * Compiler...: $PRG_COMPILER.
  301. * Abstract...: $FILE. ~
  302. * Changes....:
  303. }
  304. ;Insert these 3 lines to the above header, if you use PVCS.
  305. ;*  $Logfile:   K:/q3/qf.cfv  $
  306. ;* $Revision:   1.0  $
  307. ;*  $Modtime:   06 Dec 1992 20:26:56  $
  308.  
  309.  
  310. ;---------------------------------------------------------------------------
  311. ; Keyword Expansions:  TSE Source files
  312. ;---------------------------------------------------------------------------
  313. [EXPANSION=.S .INC]
  314. ;NAME=[Your Name Goes Here - Change in QF.CFG]
  315. TIDA=$TIME. ~$DATE.
  316. VER=$VERSION.  $DATE.
  317.  
  318. PUPO={
  319. PushPosition()
  320. ~
  321. PopPosition()
  322. }
  323.  
  324. POPW={
  325. if PopWinOpen($Start Col., $Start Row., $End Col., $End Row., $BoxType., $Title (include Quotes)., $Color.)
  326.    ~
  327.    PopWinClose()
  328. endif // PopWinOpen($Title (include Quotes).)
  329. }
  330.  
  331. PUPB={
  332. PushBlock()
  333. UnmarkBlock()
  334. ~
  335. PopBlock()
  336. }
  337.  
  338. CAS={
  339. case $CASE Expression.
  340.    when ~
  341.          
  342.    when 
  343.          
  344.    otherwise
  345.          
  346. endcase // $CASE Expression.
  347. }
  348.  
  349. rep={
  350. repeat
  351.    ~
  352. until $REPEAT Expression.
  353. }
  354.  
  355. WHI={
  356. while $WHILE Expression.
  357.    ~
  358. endwhile // $WHILE Expression.
  359. }
  360.  
  361. IFF={
  362. if $IF Expression.
  363.    ~
  364. else
  365. endif // $IF Expression.
  366. }
  367.  
  368. IPRO={
  369. integer proc $Procedure Name.(~)
  370.    
  371. end $Procedure Name.
  372. }
  373.  
  374. PRO={
  375. proc $Procedure Name.(~)
  376.    
  377. end $Procedure Name.
  378. }
  379. SPRO={
  380. string proc $Procedure Name.(~)
  381.    
  382. end $Procedure Name.
  383. }
  384.  
  385. HEADER={
  386. /*
  387. Program....: $FILE.
  388. Version....: $VERSION.
  389. Author.....: $NAME.
  390. Date.......: $DATE.  $TIME.  Last Modified: $DATE. @ $TIME.
  391. Notice.....: Copyright $YEAR. $COMPANY., All Rights Reserved.
  392. QFRestore..: »0,0«
  393. Compiler...: $TSE_COMPILER.
  394. Abstract...:
  395. Changes....:
  396.  
  397. */
  398.  
  399. }
  400.  
  401.  
  402. ;---------------------------------------------------------------------------
  403. ; Keyword Expansions:  C and C++ files
  404. ;---------------------------------------------------------------------------
  405. [EXPANSION=.C .H .CPP]
  406. HEADER={
  407. /*
  408. Program....: $FILE.
  409. Version....: $VERSION.
  410. Author.....: $NAME.
  411. Date.......: $DATE. $TIME.    Last Modified: $DATE. @ $TIME.
  412. Notice.....: Copyright $YEAR. $COMPANY., All Rights Reserved.
  413. QFRestore..: »0,0«
  414. Compiler...: $C_COMPILER.
  415. Abstract...:
  416. Changes....:
  417. */
  418.  
  419. }
  420.  
  421. FORR=[
  422. for (~)
  423. {
  424.    ~
  425. }
  426. ]
  427.  
  428. IFF=[
  429. if (~)
  430. {
  431.    ~
  432. }
  433. ]
  434.  
  435. WHI=[
  436. while (~)
  437. {
  438.    ~
  439. }
  440. ]
  441.  
  442. SWI=[
  443. switch (~)
  444. {
  445.    case :
  446.       ~
  447.       break;
  448.    case :
  449.       ~
  450.       break;
  451.    default:
  452.       ~
  453. }
  454. ]
  455.  
  456.  
  457. ;---------------------------------------------------------------------------
  458. ; Keyword Expansions:  Text files
  459. ;---------------------------------------------------------------------------
  460. [EXPANSION=.DOC .TXT .MSG .ME]
  461. BYE={
  462. All the very best to you and yours.
  463.                                   $NAME.~
  464. }
  465.  
  466. HELLO={
  467. Dear ~
  468. }
  469.  
  470. QFL=Quiet Flight
  471.  
  472. ;---------------------------------------------------------------------------
  473. ; QFGenScr Screen Template: Default & FoxPro
  474. ;---------------------------------------------------------------------------
  475. [GENSCR]
  476.  
  477. ; BaseOne  = ON if screen row/columns start at base position 1, OFF otherwise
  478. ; PreCode  = Generated before the window coordinates or @ SAY/GETS
  479. ; Window   = Code to define the window name & coordinates
  480. ; Get      = @ GET statement(s)
  481. ; Say      = @ SAY statement(s)
  482. ; PostCode = Generated after everything else
  483. ;
  484. ; In addition to the internal macros defined above, the following
  485. ; additional keywords are defined:
  486. ;            $WINTOP.     = Upper row coordinate of marked window
  487. ;            $WINLEFT.    = Upper column coordinate of marked window
  488. ;            $WINBOTTOM.  = Lower row coordinate of marked window
  489. ;            $WINRIGHT.   = Lower column coordinate of marked window
  490. ;            $ROW.        = Current Row relative to the window
  491. ;            $COL.        = Current Column relative to the window
  492.  
  493. BaseOne=Off
  494. PreCode=*** Screen Generated by Quiet Flight on $DATE. @ $TIME.
  495. Window=DEFINE WINDOW $Window Name. FROM $WINTOP., $WINLEFT. TO $WINBOTTOM., $WINRIGHT.
  496. Say=@ $ROW., $COL. SAY $FIELD.
  497. Get=@ $ROW., $COL. GET $FIELD.
  498. PostCode={
  499. *** End of Quiet Flight Screen Code
  500.  
  501. }
  502.  
  503. ;---------------------------------------------------------------------------
  504. ; QFGenScr Screen Template: TSE Source Files
  505. ;---------------------------------------------------------------------------
  506. [GENSCR=.S .INC]
  507.  
  508. BaseOne=ON
  509. PreCode=// Screen Generated by Quiet Flight on $DATE. @ $TIME.
  510. Window=PopWinOpen($WINLEFT., $WINTOP., $WINRIGHT., $WINBOTTOM., 1, $Window Title., $Attribute.)
  511. Say={
  512. VGotoXY($COL., $ROW.)
  513. Write($FIELD.)
  514. }
  515. Get=
  516. PostCode={
  517.  
  518. // Put the rest of your code here
  519.  
  520. PopWinClose()
  521. // End of Quiet Flight Screen Code
  522.  
  523. }
  524.  
  525.