Author Topic: Boolean Statements  (Read 10806 times)

0 Members and 2 Guests are viewing this topic.

Kuron

  • Guest
Re: Boolean Statements
« Reply #30 on: January 30, 2014, 09:24:56 AM »
I can't comment on FBSL, as I have never used it. 

However, the idea that there is a BASIC standard is a pipe dream.  Every variant seems to implement their own unique syntax changes, which is part of what makes each variant special in its own way.  There would be no need for so many variants if they were all identical.  Even in the heyday of BASIC, in the 70s-80s, each system had a unique BASIC and you often had to tweak code to get it to run on a different system.  Much like Microsoft's bastardization of C++ in VisualC++/VisualStudio.  If you use it, you will have issues working with other C++ compilers.  At least with C++, there is a semblance of a standard.  BASIC, has always been no-holds barred when it comes to syntax.  Even Bob Zale destroyed the legacy of PowerBASIC by introducing OOP/COM and trying to make PB a C++ wannabe language in an effort to retain users who were leaving for compilers that better supported modern versions of Windows.  Bob was not alone as there were many BASIC/C/C++ Hybrid languages.  Some good, some bad.  Few got the hybridization "right".  Bob missed it by a mile.

Coding standards have changed since the 70s and 80s.  Even leaving out OOP, what may have been acceptable as a standard even in the 90s is not acceptable now.  There is no right or wrong answer, each language needs to use what works best for them and their demographic.  If you are targeting legacy systems, legacy standards from the 70s and 80s would be ideal.  If you are targeting the 21st century, then it is best to forget the "perceived" standards of the old days.
 
If you don't like what Oxygen offers, don't use it.  Problem solved.

JRS

  • Guest
Re: Boolean Statements
« Reply #31 on: January 30, 2014, 10:57:10 AM »
To All:

If you are trying O2 and taking notes as how things work, please post them here so others can benefit from what you learned. It's a small step toward a formal documentation effort. No one is asking you to pull out your credit card but open source means freedom to view and modify the source, not a FREE lunch. O2 is only as good as the effort you're willing to invest to make it so.

There is suppose to be a PowerBASIC announcement on the future of the company on the first. It would be great if PB past users would join us and help give the OxygenBasic project a bright future.

« Last Edit: January 30, 2014, 11:08:47 AM by John »

Charles Pegge

  • Guest
Re: Boolean Statements
« Reply #32 on: January 30, 2014, 11:21:55 AM »
I'm hedging my bets with Oxygen (re: BASIC standards) , and have kept some of the ancient habits, such as line numbers, gosub, and goto in case someone  finds contemporary use for them. At the other end, OxygenBasic supports multi-inheritance and polymorphic OOP, which of course, one is not obliged to use.

But APIs are so huge and diverse these days, that an IDE to keep them all under control seems to be more important than the language itself.

PS
Emil, the #preprocess switch is now implemented to support C-style preprocessing of #define, #ifdef ..  (and %)
« Last Edit: January 30, 2014, 11:29:29 AM by Charles Pegge »

Emil_halim

  • Guest
Re: Boolean Statements
« Reply #33 on: January 30, 2014, 11:19:00 PM »

PS
Emil, the #preprocess switch is now implemented to support C-style preprocessing of #define, #ifdef ..  (and %)

thanks Charles , i will test it.