- Posts: 5
- Thank you received: 0
- Forum
- CodeTyphon Studio
- CT Pascal Programming
- How class/component to use for map strin->integer or pointer?
×
Discussions for CodeTyphon Object Pascal Programming Language
Question How class/component to use for map strin->integer or pointer?
- Andrzej B
- Topic Author
- Offline
- New Member
-
Less
More
2 years 6 months ago #14174
by Andrzej B
How class/component to use for map strin->integer or pointer? was created by Andrzej B
or other maps;
If templates are enabled in FreePascal?
If templates are enabled in FreePascal?
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
2 years 6 months ago #14175
by Sternas Stefanos
PilotLogic Architect and Core Programmer
Replied by Sternas Stefanos on topic How class/component to use for map strin->integer or pointer?
Please Sir
what exactly do you mean ?
what exactly do you mean ?
PilotLogic Architect and Core Programmer
Please Log in or Create an account to join the conversation.
- Andrzej B
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
2 years 6 months ago #14176
by Andrzej B
Replied by Andrzej B on topic How class/component to use for map strin->integer or pointer?
There is module fgl.pp and hasbut I can't add fgl in uses part. In which package is fgl?
Maybe modules with generic are not visible untilI set options "enable generic"?
generic TFPGMap<TKey, TData> = class(TFPSMap)
Maybe modules with generic are not visible untilI set options "enable generic"?
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
2 years 6 months ago - 2 years 6 months ago #14179
by Sternas Stefanos
PilotLogic Architect and Core Programmer
Replied by Sternas Stefanos on topic How class/component to use for map strin->integer or pointer?
Sir
fgl.pp is part of FPC (FreePascal)
C:\codetyphon\fpcsrc\rtl\objpas\fgl.pp
so NOT need to add any Typhon IDE package to your app.
Just add to you app "uses" fgl unit, the compiler (FPC) know where FPC files are.
FPC don't knows where Typhon IDE files are, for this reason you must add packages to your app
fgl.pp is part of FPC (FreePascal)
C:\codetyphon\fpcsrc\rtl\objpas\fgl.pp
so NOT need to add any Typhon IDE package to your app.
Just add to you app "uses" fgl unit, the compiler (FPC) know where FPC files are.
FPC don't knows where Typhon IDE files are, for this reason you must add packages to your app
PilotLogic Architect and Core Programmer
Last edit: 2 years 6 months ago by Sternas Stefanos.
Please Log in or Create an account to join the conversation.