Reported By: Erick Engelke Reported On: 10/4/2022 For: Version 3.02 Build 7
# 4905Compiler Not Resolving Functions in Project Unit for Non-Visual Projects Correctly I've written some non-interactive files, but ran into a problem. I've reduced my problem to one {DEFINE} in a sample project which determines whether the code can compile or not.
Specifically with the current version, I cannot use TStringList.Create() in a function, but i can in the 'main' function.
project test2;
uses WebCore;
type
TProcessFile = class( TObject )
public
myfile : TStringList;
end;
var
tempfile : TProcessFile;
procedure test;
begin
tempfile := TProcessFile.Create;
tempfile.myfile := TStringList.Create;
end;
begin
test;
tempfile := TProcessFile.Create;
tempfile.myfile := TStringList.Create;
end.
ResolutionFixed Problem on 10/22/2022 in version 3.02 build 8
Products AffectedElevate Web Builder Elevate Web Builder Trial