Re:Variables
Quote
In article <3397252E.7...@bentley.com> Christopher Iverson <chris.iver...@bentley.com> writes:
>I have Delphi 1.0.
>Is there a way to make variables accessable from form to form.
>I tried public and it didn't work.
If unit "X" declares variable "XForm" as a VAR in the interface section, and
unit "Y" specifies "uses X" in either the implementation or the interface
section*, then unit "Y" can see and manipulate the variable "XForm."
* placement in one section or the other may be essential to avoid "circular
unit reference" error messages.