Undeclared identifier '___StringHelper'
Hi!
After updating to FastScript ver. 1,7, an error will be raised, if I compile the flowing script.
Syntax:
if (Text>'') and (Text[1]) = 'A' then
;
Error message:
Undeclared identifier '___StringHelper'
Please help
Regards
Christian
After updating to FastScript ver. 1,7, an error will be raised, if I compile the flowing script.
Syntax:
if (Text>'') and (Text[1]) = 'A' then
;
Error message:
Undeclared identifier '___StringHelper'
Please help
Regards
Christian
Comments
constructor TfsScript.Create(AOwner: TComponent);
begin
inherited;
FItems := TStringList.Create;
FItems.Sorted := True;
FLines := TStringList.Create;
FStatement := TfsStatement.Create(Self, '', '');
FSyntaxType := 'PascalScript';
FUnitLines := TStringList.Create;
Add('__StringHelper', TfsStringHelper.Create);
Add('__ArrayHelper', TfsArrayHelper.Create('__ArrayHelper', -1, fvtVariant, ''));
end;
I modified the source as you wrote, but now I receive this error in "TfsMethodHelper.GetValue" function:
"Invalid variant type conversion"
I'm running the same pascal script.
Regards
Christian
if (Text>'') and (Text[1]) = 'A' then
should be:
if (Text<>'') and (Text[1] = 'A') then