Hi Lou -
No, I haven't. I have not seen this advice anywhere and presumably there are other functions that need mention in the uses clause? Is there a list? I couldn't find it under help (Delphi 7 Enterprise).
Many thanks for your prompt help.
Michael
I'm tearing my hair out!
this simple line
Edit1.Text:= InttoStr(DaysInAMonth(2020,2));
gives when I compile
[Error] Unit1.pas(35): Undeclared identifier: 'DaysInAMonth'
However I use the function (& other date functions) I get the same. Help please!
Many thanks
Michael
I am new to Delphi.
The following should work -
procedure TForm1.Button1Click(Sender: TObject);
const a: Integer=0;
begin
a:=7;
end;
I get error "Left side cannot be assigned to"
I would expect this if I used const a:=12; but not as above.
I would appreciate some guidance.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.