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

TOPIC:

F*ck CodeTools 7 years 3 days 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 7 years 3 days ago #11201

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4538
  • Thank you received: 1116
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 7 years 3 days 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 7 years 3 days ago #11204

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4538
  • Thank you received: 1116
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 7 years 2 days 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