[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Usage Examples
----------------------------------------------------------------------------
All of the examples in this guide are color-coded for quick
browsing. All template, or <<UIcode...endUIcode>> blocks are in
color or underlined, and all resulting .PRG code is shown in
reverse video. For Example, the following piece of code is taken
from the template library section.
Example:
If generating Clipper Summer '87 code, with a box
of dimensions 10,10,20,20, you might use:
<<UIcode>>
savebox=ask_for_box("Pick the box to save")
call_save_screen(savebox,"thisbuf")
<<endUIcode>>
which would result in generated code of
thisbuf=savescreen(10,10,20,20)
To make the call to restore the screen, use:
<<UIcode>>
call_restore_screen(savebox,"thisbuf")
<<endUIcode>>
which would generate
restscreen(10,10,20,20,thisbuf)
We will use this convention throughout the guide.
See Also:
Conventions
More on Using a Norton Guide
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson