PhilBoy 0 Posted yesterday at 09:45 PM Hello, I'm working on a desktop application development project(specifically a desktop simulator tool) and this simulator was developed with Object Pascal. I'm trying to understand the architecture of the simulator and improve the features of the simulator. I have very basic knowledge of OOP but I don't know what I need to learn to be able to do the task I described above. Can anyone offer a learning roadmap to be proficient enough to do the task above? Share this post Link to post
DelphiUdIT 199 Posted 23 hours ago (edited) 1 hour ago, PhilBoy said: Hello, I'm working on a desktop application development project(specifically a desktop simulator tool) and this simulator was developed with Object Pascal. I'm trying to understand the architecture of the simulator and improve the features of the simulator. I have very basic knowledge of OOP but I don't know what I need to learn to be able to do the task I described above. Can anyone offer a learning roadmap to be proficient enough to do the task above? You can start from here: https://lp.embarcadero.com/ObjectPascalHandbookD11?utm_source=blog It is a free book from Marco Cantu. Other members of this forum may suggest you others books or resources. EDIT: and of course install the community edition of Rad Studio from here (if you are eligible for it): https://www.embarcadero.com/products/delphi/starter N.B: Take care about license, limitations and legal issue Edited 23 hours ago by DelphiUdIT Share this post Link to post
Patrick PREMARTIN 87 Posted 14 hours ago Just a question to @PhilBoy : you say Object Pascal, but do you know if it is in Delphi, Lazarus or an other environment ? Let's suppose it's Delphi, do you know what was the development version ? The language don't differ a lot between releases, but used libraries does. Share this post Link to post
Patrick PREMARTIN 87 Posted 13 hours ago You can also read the "Delphi Language Guide" from https://docwiki.embarcadero.com/RADStudio/en/Delphi_Language_Guide_Index Share this post Link to post
Paul Dardeau 0 Posted 9 hours ago 5 hours ago, Patrick PREMARTIN said: Just a question to @PhilBoy : you say Object Pascal, but do you know if it is in Delphi, Lazarus or an other environment ? Let's suppose it's Delphi, do you know what was the development version ? The language don't differ a lot between releases, but used libraries does. Is it common to have shared code between Delphi and Lazarus? If so, what are the equivalents to c preprocessor macros like "#ifdef Delphi"? Share this post Link to post
DelphiUdIT 199 Posted 8 hours ago (edited) 58 minutes ago, Paul Dardeau said: Is it common to have shared code between Delphi and Lazarus? If so, what are the equivalents to c preprocessor macros like "#ifdef Delphi"? Normally it works the other way around... you write: {$IFDEF FPC} .... for FPC {$ENDIF} {$IFNDEF FPC} .... for DELPHI {$ENDIF} or {$IFDEF FPC} .... for FPC {$ELSE} .... for DELPHI {$ENDIF} Edited 8 hours ago by DelphiUdIT 2 Share this post Link to post
Pat Foley 52 Posted 7 hours ago 17 hours ago, PhilBoy said: Can anyone offer a learning roadmap to be proficient enough to do the task above? Much of the roadmap should include reticulation of the system you are modeling. Bond graphs allow cause effect, modular construction, and the relationship between the domains to be surfaced with causal strokes the bonds (effort vs flow) are drawn . To avoid paying 20 K to Twente sim, I draw the system out in bound book. these drawings help in connecting sources to sinks. A book on bond graphs mentioned that eigenvalue would be easier to understand written as characteristic wert. 🙂 Delphi to Laz. // in lpr was dpr {$IFDEF FPC} {$MODE Delphi}// saves using specialize in generic constructs {$ENDIF} uses {$IFnDEF FPC} {$ELSE} Interfaces, // lets the laz work {$ENDIF} Share this post Link to post