Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: about free pascal

  1. #1

    about free pascal

    i have encountered the site http://www.freepascal.org/ by chance, and surprised the many platforms it support (long list). i know it is a very old programming language, but i can't see any compiler coded with object pascal or its variations. it seems most if not all compilers are made with c/c++ mixed with some asm. free pascal seems beautiful i have downloaded it, and was able to run some of its opengl examples. its IDE is bad but i have used an editor and it is not hard to run fpc.exe code.pas from the command prompt. i have noticed Lazarus but i want to learn the base first, also lazarus very big.
    still don't see any reason why programming languages developers don't make their products with free pascal and instead they go to c/c++ !!!??

  2. #2
    I love Pascal and its variations. And FreePascal is a damn good compiler.

    Pascal has somehow a bad reputation. Don't know why, it is as powerful as C++ definitely. But the market rules I guess.

  3. #3
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10
    Pascal (and FreePascal) is one of my preferred programming languages.
    To have a great IDE you should use Lazarus IDE at http://www.lazarus-ide.org/
    It is a complete IDE and the full FreePascal compiler in one package.

    There was a time when I was seriously thinking to stop developing thinBasic using PowerBasic compiler and start using FreePascal.

    I also tried to use FreePascal as a backend compiler for developing thinBasic modules. I was able to develop some modules for almost all kind of variables but the kind of string we use in thinBasic (BSTR Ole32 strings) are not so compatible with FreePascal strings. In theory FreePascal WideStrings should be compatible (or equivalent) to BSTR OLE32 strings but in praxtice there are some problems returning strings from function calling. Here some info: http://stackoverflow.com/questions/9...ue-for-interop

    Maybe some day I will retry making some serious tests.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  4. #4
    hi primo
    I use Geany for most of my recreational programming, it supports numerous languages out of the box, you load a C file and provided you have gcc installed on your path all you do is click on the build button, likewise for free pascal or gfortran, python etc. https://www.geany.org

  5. #5
    Quote Originally Posted by ErosOlmi View Post
    Pascal (and FreePascal) is one of my preferred programming languages.
    To have a great IDE you should use Lazarus IDE at http://www.lazarus-ide.org/
    It is a complete IDE and the full FreePascal compiler in one package.

    There was a time when I was seriously thinking to stop developing thinBasic using PowerBasic compiler and start using FreePascal.

    I also tried to use FreePascal as a backend compiler for developing thinBasic modules. I was able to develop some modules for almost all kind of variables but the kind of string we use in thinBasic (BSTR Ole32 strings) are not so compatible with FreePascal strings. In theory FreePascal WideStrings should be compatible (or equivalent) to BSTR OLE32 strings but in praxtice there are some problems returning strings from function calling. Here some info: http://stackoverflow.com/questions/9...ue-for-interop

    Maybe some day I will retry making some serious tests.
    I would like to test it myself. Do you happen to have your "freepascal thinbasic SDK" files flying around and share them?

  6. #6
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10
    You can keep \thinBasic\SDK\SDK.Zip
    There should be a "Delphi" directory.
    In any case that SDK uses special thinBasic Core specific functions for strings that convert dynamic BSTR strings into Pascal strings and the other way round.
    Anyway, let me know.

    This evening I will search other tests and post here.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  7. #7
    Sorry Eros, the latest thinbasic distribution only contains C, BASIC and Assembler SDKs.

  8. #8
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10
    opps, sorry you are right
    I will check this evening.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  9. #9
    No problem Eros. Whenever you find time and motivation.

  10. #10
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10
    I forgot about it but there is a Delphi dedicated forum here:
    http://www.thinbasic.com/community/f...DK-development

    It is very close to FreePascal I think.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

Page 1 of 2 12 LastLast

Similar Threads

  1. Free Will
    By danbaron in forum Science
    Replies: 8
    Last Post: 13-02-2011, 08:05
  2. Free Pascal 2.2.0 released
    By ErosOlmi in forum Free Pascal
    Replies: 11
    Last Post: 14-06-2009, 14:03
  3. Free Pascal forum
    By ErosOlmi in forum Free Pascal
    Replies: 4
    Last Post: 14-06-2009, 13:51
  4. Free Pascal IDE
    By ErosOlmi in forum Free Pascal
    Replies: 4
    Last Post: 14-06-2009, 13:49
  5. powerbasic gui free
    By kryton9 in forum General
    Replies: 3
    Last Post: 02-07-2007, 08:08

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •