Cannot use variable defined it TdwsUnit in other unit

Issue #132 new
Former user created an issue

I have TdwsUnit component which includes variable myVar: String

In main script there is:

uses Test;

in unit Test this script:

unit Test;
myVar := 'test';

At compile i have Syntax Error: Unknown name "myVar" [line: 2, column: 1, file: Test] But in main script it's ok.

Comments (0)

  1. Log in to comment