March 2010
Beginner
760 pages
18h 51m
English
Although HLA does not automatically call constructors and destructors associated with your classes, HLA does provide a mechanism whereby you can force HLA to automatically emit these calls: by using the _initialize_ and _finalize_ compile-time string variables (i.e., val constants) that HLA automatically declares in every procedure.
Whenever you write a procedure, iterator, or method, HLA automatically declares several local symbols in that routine. Two such symbols are _initialize_ and _finalize_. HLA declares these symbols as follows:
val
_initialize_: string := "";
_finalize_: string := "";HLA emits the _initialize_ string as text at the very beginning of the routine's body, that is, immediately ...
Read now
Unlock full access