Programmer's WorkBench (pwb.hlp) (
Table of Contents;
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Predefined PWB Macros
◄Up► ◄Contents► ◄Index► ◄Back►
─────Programmer's WorkBench─────────────────────────────────────────────────
PWB predefines a number of macros, most of which correspond to a
command in the PWB menus. You can assign a key to a menu command
by assigning the key to the corresponding macro. Note that some
menu commands such as the Open command on the File menu do not
correspond to a macro, and some macros do not correspond to a
menu command.
The table below lists the macros defined by PWB:
Macro Menu Key
◄_pwbarrange► Window menu, Arrange «_pwbarrange»
◄_pwbboxmode► Edit menu, Box Mode «_pwbboxmode»
◄_pwbbuild► Project menu, Build «_pwbbuild»
◄_pwbcancelbuild► Project menu, Cancel Build «_pwbcancelbuild»
◄_pwbcancelprint► File menu, Cancel Print «_pwbcancelprint»
◄_pwbcancelsearch► Search menu, Cancel Search «_pwbcancelsearch»
◄_pwbcascade► Window menu, Cascade «_pwbcascade»
◄_pwbclear► Edit menu, Delete «_pwbclear»
◄_pwbclose► Window menu, Close «_pwbclose»
◄_pwbcloseall► Window menu, Close «_pwbcloseall»
◄_pwbclosefile► File menu, Close «_pwbclosefile»
◄_pwbcloseproject► Project menu, Close «_pwbcloseproject»
◄_pwbcompile► Project menu, Compile «_pwbcompile»
◄_pwbfile<n>► File <n> ───
◄_pwbgotomatch► Search menu, Goto Match «_pwbgotomatch»
◄_pwbhelpnl► ─── «_pwbhelpnl»
◄_pwblinemode► Edit menu, Line Mode «_pwblinemode»
◄_pwblogsearch► Search menu, Log «_pwblogsearch»
◄_pwbmaximize► Window menu, Maximize «_pwbmaximize»
◄_pwbminimize► Window menu, Minimize «_pwbminimize»
◄_pwbmove► Window menu, Move «_pwbmove»
◄_pwbnewfile► File menu, New «_pwbnewfile»
◄_pwbnewwindow► Window menu, New «_pwbnewwindow»
◄_pwbnextfile► File menu, Next «_pwbnextfile»
◄_pwbnextlogmatch► Search menu, Next Match «_pwbnextlogmatch»
◄_pwbnextmatch► Search menu, Next Match «_pwbnextmatch»
◄_pwbnextmsg► Project menu, Next Error «_pwbnextmsg»
◄_pwbpreviouslogmatch► Search menu, Previous Match «_pwbpreviouslogmatch»
◄_pwbpreviousmatch► Search menu, Previous Match «_pwbpreviousmatch»
◄_pwbprevmsg► Project menu, Previous error «_pwbprevmsg»
◄_pwbprevwindow► ─── «_pwbprevwindow»
◄_pwbquit► File menu, Exit «_pwbquit»
◄_pwbrebuild► Project menu, Rebuild All «_pwbrebuild»
◄_pwbrecord► Edit menu, Record «_pwbrecord»
◄_pwbredo► Edit menu, Redo «_pwbredo»
◄_pwbrepeat► Edit menu, Repeat «_pwbrepeat»
◄_pwbresize► Window menu, Resize «_pwbresize»
◄_pwbrestore► Window menu, Restore «_pwbrestore»
◄_pwbsaveall► File menu, Save All «_pwbsaveall»
◄_pwbsavefile► File menu, Save «_pwbsavefile»
◄_pwbsetmsg► Project menu, Goto Error «_pwbsetmsg»
◄_pwbshell► File menu, DOS Shell «_pwbshell»
◄_pwbstreammode► Edit menu, Stream Mode «_pwbstreammode»
◄_pwbtile► Window menu, Tile «_pwbtile»
◄_pwbundo► Edit menu, Undo «_pwbundo»
◄_pwbuser<n>► Run (command <n>) ALT+F<n>
◄_pwbviewbuildresults► (special button) «_pwbviewbuildresults»
◄_pwbviewsearchresults► (special button) «_pwbviewsearchresults»
◄_pwbwindow<n>► Window <n> <file> ALT+<n>
PWB continually redefines the following macros to reflect the
current file's name:
Macro Description
◄Curfile► Full path
◄Curfileext► File extension
◄Curfilenam► File base name
PWB uses the following special-purpose macros:
Macro Description
◄Autostart► Executed on startup while reading TOOLS.INI
◄Mgreplist► List of files for logged searches, multifile
replace, Mgrep, and Mreplace
◄Restart► (Obsolete)
By default, these macros are undefined.
-♦-