Well, you have to wait to eternity then. This issue have been discussed one billions times already and I'm sorry to disapoint you but the answer is no. There never was, is and won't ever be OOP support for PB in the near future.
OOP is useless anyway because it's mostly requested by programmers using C++ or languages with a similar syntax. It just overcomplicates things for the regular BASIC / Indie developer.
I still use other BASIC dialects, the OOP support and it very helps
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Fluid Byte wrote:Well, not for me and Fred already declined it. I guess he has his reasons...
Besides, how many BASIC dialects support OOP?
The most
For example:
VB, Blitzmax, XProfan, Emergence Basic, FreeBasic and so on
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Freebasic has some object support in the last beta. the docs say things like
Object-related features such as functions declared inside Type blocks are supported only with the -lang fb option since version 0.17b
and
CLASS: We would have put something useful here (honest) except this feature isn't implemented in the compiler yet. But since it will get added in future, and there are several other document pages that need to link here, we thought it safe to include in anyway.
I think if you get a full listing of all the basics around most will not be oop
Other than VB, I've never heard of a professional OOP Basic compiler (I haven't searched too hard but I have looked around in the past. I'd be interested to know of one)
Paul Dwyer
“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
Depends what you mean by 'professional' I guess. There's RealBasic for example (many would argue that this is 'professional' - though not my cup of Earlgrey!), HotBasic, Emergence Basic. I reckon for as many non-oop basics there are as many oop ones.
I use both these days and I reckon I'm better off for it.
I may look like a mule, but I'm not a complete ass.
srod wrote:Depends what you mean by 'professional' I guess. There's RealBasic for example (many would argue that this is 'professional' - though not my cup of Earlgrey!), HotBasic, Emergence Basic. I reckon for as many non-oop basics there are as many oop ones.
I use both these days and I reckon I'm better off for it.
Do you mean that because of the price of €400?
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
srod wrote:Depends what you mean by 'professional' I guess. There's RealBasic for example (many would argue that this is 'professional' - though not my cup of Earlgrey!), HotBasic, Emergence Basic. I reckon for as many non-oop basics there are as many oop ones.
I use both these days and I reckon I'm better off for it.
Do you mean that because of the price of €400?
No, but now that you mention it...
I may look like a mule, but I'm not a complete ass.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
HotBasic is oop-like, not real oop. The outcome of this is that sometimes the syntax (keywords) is somewhat strange that doesn't look like thought through, but looks like a workaround that is here to stay.
On the other side if you need a fast math, the FPU object is faster than other math libs in other languages I've tested (except hand optimized asm ...).
“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
Objects
... FPU HotBasic exclusive
...
Thanks to Raymond Filiatreault for permission to use two of his FPU routines: conversion of string to FPU value and FPU value to string.