home *** CD-ROM | disk | FTP | other *** search
/ Czech Crown / Koruna-Ceska.bin / utility / codewr / ctemplt.cwl < prev    next >
Encoding:
Text File  |  1994-01-04  |  1.0 KB  |  78 lines

  1. template b.c:
  2. template b.cpp:
  3.     type "reak;"
  4.     return
  5.  
  6. template c.c:
  7. template c.cpp:
  8.     type "lass \* : public {\n\n}\n"
  9.     restorepos
  10.     return
  11.  
  12. template d.c:
  13. template d.cpp:
  14.     type "o {\n\n}\nwhile(\*);\n"
  15.     restorepos
  16.     return
  17.  
  18. template g.c:
  19. template g.cpp:
  20.     type "oto ;"
  21.     Left
  22.     return
  23.  
  24. template i.c:
  25. template i.cpp:
  26.     type "f(\*) {\n\t\n\b}\n"
  27.     restorepos
  28.     return
  29.  
  30. template if.c:
  31. template if.cpp:
  32.     type "(\*) {\n\n}\nelse {\n\n}\n"
  33.     restorepos
  34.     return
  35.  
  36. template w.c:
  37. template w.cpp:
  38.     type "hile(\*) {\n\n}\n"
  39.     restorepos
  40.     return
  41.  
  42. macro ^F1.ASM:
  43.     a$ = line$
  44.     Home; ^X
  45.     type "\tpublic\t"; a$; "\n"
  46.     Home; ^X
  47.     Enter
  48.     type a$; "\tproc\n"
  49.     type "\tpush\tbp\n"
  50.     type "mov\tbp,sp\n"
  51.     type "\*\n"
  52.     type "pop\tbp\n"
  53.     type "ret\n"
  54.     Home; ^X
  55.     type a$; "\tendp\n"
  56.     restorepos
  57.     return
  58.  
  59. macro ^F2.CPP:
  60.     type "STRING s_\* =;"
  61.     restorepos
  62.     return
  63.  
  64. macro ^F2.H:
  65.     find$ = "STRING $ = *;"
  66.     replace$ = "extern STRING $;"
  67.     return
  68.  
  69. macro ^F5.CPP
  70.     ^C
  71.     Esc
  72.     ^A
  73.     Esc
  74.     return
  75.  
  76. macro =F1.CPP
  77.     Left; Right; End;    Delete
  78.     return