Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. mmaxwell

    Date functions - Undeclared Identifier

    Great Lou - many thanks. Michael
  2. mmaxwell

    Date functions - Undeclared Identifier

    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
  3. mmaxwell

    Date functions - Undeclared Identifier

    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
  4. mmaxwell

    typed constants -v- true constants

    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.

Part and Inventory Search

Back
Top