In summary all macros will have a certain minimum amount of code in them. This basic required portion of code can be represented as:
PROGRAM macro_name;
BEGIN
program statements;
END macro_name.
The italicized text above will vary from macro to macro. It is important to remember these few rules:
We have covered a large part of the basics of the DCAL language. As .html in the introduction to this lesson, much of the material covered here may not make perfect sense to you at first. Keep this lesson in mind as you progress in the tutorial and refer back as needed.
Since we have not written any new source code in this lesson, it would probably be a good idea to review the sample macros contained in your DCAL/SAMPLES subdirectory or at the end of the DCAL manual. See if you can spot the features we discussed in this lesson.
End of Lesson 2
SITE SEARCH
©DATACAD LLC 1984-2020 | Top of Page | DATACAD Home Page | Online Store | Get Support | Get DataCAD eNews | General Disclaimer | Site Map