Current Topics Flashcards
Define Scope
The duration that a resource is available to an application.
When does the scope of a resource begin and end.
The scope of a resource begins when the resource is instantiated and ends when the resource is destroyed.
What are dynamic resources?
Dynamic resources are resources that you implicitly or explicitly create and delete at run time.
What is compile-time code?
They are compile time statements that include statements that interact with static data and user interface resources(widgets) that the run time statements can reference and modify, but not destroy, during execution.
What is run-time code?
Run time statements use the static resources created by compile time statements, but can also create, use, and destroy dynamic resources at run-time. Many run-time statements also include compile-time options.
List compile-time syntax elements:
Compile time statements begin with the DEFINE keyword. The non-executable components of block header statements and END statements. Options and phrases associated with compile-time statements. Literal expressions(CONSTANTS). Preprocessor directives and definitions.
List run-time syntax elements:
All the statements not associated with compile-time statements. The options and phrases not associated with compile-time code. The block header statements of iterative blocks(OD,FOR,REPEAT) all have executable components. Assignment statements and non-literal expressions.