Jose FreePascal??

Started by James Fuller, October 04, 2015, 09:49:29 AM

Previous topic - Next topic

James Fuller

Rather than polute the FreeBasic topic I started a new one for my inquiry.
Jose,
  FreePascal?? Such a sacrilege ! :)
With your c++ header translation background why not a more BASIC approach.
I am prejudice of course but I would think bc9Basic might be worth a look.
New version tomorrow. It does have com dispatch inherited from bcx but .... not too well done in my opinion.

Also there is Armando's JADE project for a more BASIC approach to c++
https://bitbucket.org/Airr/jade

James

José Roca

#1
None of the BASICs available have all I need.

Paul Squires

If I were ever to leave BASIC then it would be C or C++. I tried C++ a year or so ago and did a fair amount with it but after using BASIC almost all my programming life, I found it to be not my preference. Last winter I did a LOT of web programming. That was a lot of fun!

Paul Squires
PlanetSquires Software

James Fuller

Jose,
  Another avenue might be Oxygen Basic.
http://www.oxygenbasic.org/forum/
Tell Charles what you want/need and see if he is open to add it.
He states it's still alpha so maybe you could get a Jose designer BASIC :)

James

José Roca

What do you have against Pascal?

James Fuller

Jose,
  I've been there with early Delphi. I never liked the syntax even back then with it's eol ";" ,and  ":=" assignment
along with the Program End. and begin/end for procedures ....
I MUCH prefer BASIC syntax, as I thought you did

Do they offer all the 64bit COM goodies you want?
I know g++ on windows is lacking in that regard or it's buried  too deep for me to find it. :)


James



José Roca

I also prefer the BASIC syntax. This is why I used Power Basic, but these BASICs made by Linuxer's aren't very suited to work with Windows.

> Do they offer all the 64bit COM goodies you want?

Yes, and many more.

What I don't like is that everybody seems to be using Lazarus with it. I want to use SDK-style, not such a bloated pig.

Anyway, I have retired, so I don't think I will do much programming. I have other activities.



José Roca

#7
It has objects and classes for OOP, and interfaces for COM programming.

It natively supports Variants and WideStrings for COM programming.

Quote
Widestrings (used to represent unicode character strings in COM applications) are implemented in much the same way as unicodestrings. Unlike the latter, they are not reference counted, and on Windows, they are allocated with a special windows function which allows them to be used for OLE automation. This means they are implemented as null-terminated arrays of WideChars instead of regular Chars. Mostly the same rules apply for WideStrings as for AnsiStrings. Similar to unicodestrings, the compiler transparantly converts WideStrings to AnsiStrings and vice versa.

It supports structured exception handling: Try...except, Try...finally, Raise.

If they added interfaces, variants, dynamic wide strings and structured exception handling to Free Basic, I will use it instead of Pascal. Power Basic has it, but it is only 32-bit. If there was a Power Basic 64-bit I wouldn't have looked at any alternative.