Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Object Pascal Programming Language
  • Page:
  • 1

TOPIC:

F*ck CodeTools 6 years 11 months ago #11200

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 0
Hello!
My code:
...

{$MODE DELPHI}   

type
  TLogQueue = TQueue<TLogData>;

...

And if i down ctrl + space in any lines of code then codetools return error
 Error: expected identifier, but found =
But i not have compile error and in CT 6.2 not exist this error. Please help me

Please Log in or Create an account to join the conversation.

F*ck CodeTools 6 years 11 months ago #11201

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
FreePascal has many many changes on this

please try
{$mode objfpc}{$H+}
    
type
  TLogQueue = specialize TQueue <TLogData>;
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

F*ck CodeTools 6 years 11 months ago #11203

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 0
Sir, i have more 600 000 lines of delphi code =(

Please Log in or Create an account to join the conversation.

F*ck CodeTools 6 years 11 months ago #11204

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
My suggestion

split and put the declaration of your
type
TLogQueue = specialize TQueue <TLogData>;

to a new Unit with {$mode objfpc}{$H+} directive
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

F*ck CodeTools 6 years 11 months ago #11206

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 0
Hmmm, you best of the best =)

Please Log in or Create an account to join the conversation.

  • Page:
  • 1