>>  <<  Ndx  Usr  Pri  JfC  LJ  Phr  Dic  Rel  Voc  !:  wd  Help  User

Lab Author

The Lab Authoring system can be used to create lab files. Load it from menu item Studio/Author.

A lab is created as a header, plus lab chapters and sections. Each section is displayed in two panes - the top pane is the text, and the lower pane is the code. Either may be empty.

Press the Run button to run the code in any section. The Lab is run in the session window, i.e. LABWINDOWED is ignored. Any errors are displayed in a message box. The code is not run automatically as you navigate through the lab.

You can step through the lab by pressing the advance shortcut key when the Author form has focus. This simulates the normal running of the lab. Note that the Author form has to have the focus to advance.

To load and run the lab exactly as the user would run it, use the menu item File/Run Lab.

Note that if your Lab creates Windows forms, you need to ensure that wd commands are sent to the correct form. Start your code sections with appropriate PREPARE statements, for example:

wd 'psel myform'

The Wrap button wraps the text pane to the current width. Use Edit/UnWrap to undo; this is only available immediately after a wrap has been done. Otherwise, use Edit/Restore Section to restore the pane to its original state.

The width indicator shows the current default width. Only part of the width indicator will show if the choice of Font and Width makes it too wide to display in the window - in which case, resize the window, or reduce the Font or Width settings.

The Sounds items are enabled only when the lab has sounds. Check Enable to play the sounds when running each section. Use the Insert button to insert a sound in the code.

The menu items are mostly self-explanatory, for example:

Section/Restore Section

Restores the panes to the initial values when you moved to the section


Sets the font used in the two panes


Sets the lab header

>>  <<  Ndx  Usr  Pri  JfC  LJ  Phr  Dic  Rel  Voc  !:  wd  Help  User