Compile Time VS Run Time

I have read through many of the good FAQs about CON programming.  These contain a list of the CON commands in alphabetical order and what they are used for.  They usually also contain examples and a 'common questions' section.

But they don't really talk about the major difference in some of the commands.

Some of the commands are only valid during compile time.

To understand what I mean by Compile TIme, please read the Language Basics section.

This means that define and definequote have no representation in the compiled CON code: they are only used at compile time.

Even the VARs that I've added are compiled down to their basic representation: an ID.  This greatly compresses the size of the compiled code (script).

This has implications on some of the requested commands and how they will be implemented.  For instance, there is one request for 'run-time' quotes. As I say in my comment on that feature, this would greatly increase the size of the script because the actual string would need to be contained in the compiled code.

 

Copyright © 2000, Matt Saettler. All Rights Reserved