Author Topic: FreeBASIC  (Read 9777 times)

0 Members and 1 Guest are viewing this topic.

Aurel

  • Guest
Re: FreeBASIC
« Reply #15 on: December 06, 2017, 08:43:26 AM »
Quote
bringing the Oxygen closer to that follow-up that
hmm ...what that means ?

well facebook for basic -programmers heh
i dont know but i ..you know I hate faceBook
maybe is not bad idea  ::)

ooups ...sorry Eduardo ...welcome to the forum!  :)

JRS

  • Guest
Re: FreeBASIC
« Reply #16 on: December 06, 2017, 09:16:26 AM »
Quote from: Chales Pegge
I think it might be possible to standardise Basic as a scripting language ...

BASIC's only future is in the form of a typeless scripting language with a mature syntax everyone knows how to use.

Most BASIC efforts today are toys that are never fully implemented.

edcronos

  • Guest
Re: FreeBASIC
« Reply #17 on: December 06, 2017, 09:56:57 AM »
Quote from: Chales Pegge
I think it might be possible to standardise Basic as a scripting language ...

BASIC's only future is in the form of a typeless scripting language with a mature syntax everyone knows how to use.

Most BASIC efforts today are toys that are never fully implemented.

the Basic language of this the beginning had a problem of pradronization
a small program did not run without adaptation in another Basic, from Sinclair to msx for example
this scares a more professional use
how many versions of BASIC that already existed with changes in the use of variables or functions, and how many of C?

Quote
bringing the Oxygen closer to that follow-up that
hmm ...what that means ?
there are still many many VBA users for professional use
some applications get really slow even with the use of arrays
 
if you can take the Oxygen into the vba, as the syntax is similar can give an advance in the use and this bring the interest of professional programmers


I'm sorry for using a translator to communicate, nowadays it's even shameful not to know English

Aurel

  • Guest
Re: FreeBASIC
« Reply #18 on: December 06, 2017, 10:52:14 AM »
No there is no problem with that ..i mean language
my english is sometimes too crappy  ;D
VBA hmmm i never use that ...and well BASIC is not language for proffesionals
i think  ::)

JRS

  • Guest
Re: FreeBASIC
« Reply #19 on: December 06, 2017, 11:10:02 AM »
Script BASIC is used by two major commerical entities for their controllers. (BacNet, IoT, ...) SB is mature and stable enough that SB was burnt into firmware. If SB were to have bugs, millions of dollars in controllers would have to be thrown in the trash.

edcronos

  • Guest
Re: FreeBASIC
« Reply #20 on: December 06, 2017, 11:15:07 AM »
No there is no problem with that ..i mean language
my english is sometimes too crappy  ;D
VBA hmmm i never use that ...and well BASIC is not language for proffesionals
i think  ::)
My English is zero.

but what differentiates Basic from C language?

what is for professional use or not, what is it that defines it?
vba on the contrary is not professional, besides being stuck to the program has no way to protect the content
excel for example is normally used only as a graphical interface
usually most users seek ease of implementation

JRS

  • Guest
Re: FreeBASIC
« Reply #21 on: December 06, 2017, 11:20:37 AM »
Quote

but what differentiates Basic from C language?

Not much. I think I've already made that point with the C BASIC gcc preprocessor include.

edcronos

  • Guest
Re: FreeBASIC
« Reply #22 on: December 06, 2017, 11:32:35 AM »
Quote

but what differentiates Basic from C language?

Not much. I think I've already made that point with the C BASIC gcc preprocessor include.

which is why I say that only Basic is lacking a solid base, where developers only add features, and do not change as you write the basics
where simple rows with variables, arrays, loops and if do not need to be re-executed, where goto goes from the taste of the programmer, not from who wrote the compiler

JRS

  • Guest
Re: FreeBASIC
« Reply #23 on: December 06, 2017, 11:57:15 AM »
Script BASIC is a traditional BASIC that is thread safe, embeddable with it's own multi-threaded memory manager that exceeds the limitations Windows enforces on that platform.

If you're going to try to compete with the big boys, you better have something unique.

Aurel

  • Guest
Re: FreeBASIC
« Reply #24 on: December 06, 2017, 12:14:04 PM »
First of all ScriptBasic is ScriptBasic  and not usual traditional Basic used as educational
programming language and is not very much for Windows
i mean is better than crap called python.
Yeah why C -- C syntax and complete language is oriented to as much as posible
better transformation to machine language and that is why is very fast.
Also i dont know why you insist on VBA - or basic from Office pack...is that VBA?
If you whish to use or to try Oxygen Basic then download package and try...
asking questions before you try is almost useless..because i really dont know for
any Oxygen basic example that work with VBA or similar.

JRS

  • Guest
Re: FreeBASIC
« Reply #25 on: December 06, 2017, 12:24:20 PM »
Here you go Aurel. VBScript/VBA/WSHost are widely used as glue interfacing with Office tools.

Code: Script BASIC
  1. IMPORT COM.sbi
  2.  
  3. oscript = COM::CreateObject("WScript.Shell")
  4. COM::CallByName(oscript,"Run",vbMethod,"onecust.vbs")
  5. COM::ReleaseObject(oscript)
  6.  

edcronos

  • Guest
Re: FreeBASIC
« Reply #26 on: December 06, 2017, 01:22:31 PM »
First of all ScriptBasic is ScriptBasic  and not usual traditional Basic used as educational
programming language and is not very much for Windows
i mean is better than crap called python.
Yeah why C -- C syntax and complete language is oriented to as much as posible
better transformation to machine language and that is why is very fast.
Also i dont know why you insist on VBA - or basic from Office pack...is that VBA?
If you whish to use or to try Oxygen Basic then download package and try...
asking questions before you try is almost useless..because i really dont know for
any Oxygen basic example that work with VBA or similar.

and why BASIC can not be a language of professional use if it is not very different from C?
I speak of VBA not only because I use it, but because it has a large amount of dependent users, and are dependent precisely on the ease of use.
the small user who understands little is that they are the majority, but these are that attract the economic interest of few entrepreneurs
I commented because the community is very extense, and this would spread knowledge about Oxygen more easily.
with more people talking about it and using it even if for simple things it attracts the interest of big users and maybe developers

my interest in Oxygem is precisely to use with excel and vba, with this I can have the knowledge gained in forums and communities of the sector

edcronos

  • Guest
Re: FreeBASIC
« Reply #27 on: December 10, 2017, 11:32:38 AM »
I think vba was also implemented in other professional applications
precisely because of the ease of learning and implementation
like autocad and corel

it is not that language is weak, but the lack of standardization disrupts
yes it is a language for beginners but this does not prevent that it is used professionally

many things we do are just for testing and hobby,

the excel vba has not decayed despite the years because excel is a great presentation window next to the vba it becomes flexible and fast to mount some project without having to draw windows,
unfortunately it is not commercial and it is neither possible to protect the project effectively

edcronos

  • Guest
Re: FreeBASIC
« Reply #28 on: December 11, 2017, 03:15:30 AM »
I saw that Oxigen has a very flexible syntax
I like it,
but could have put a selection key for each syntax
I say this not only to avoid the programmer getting confused
but to allow portability
thus allowed until the exchange of key words of the various versions
something like gosub's "ret" by returning some versions of basic
tbm would guarantee write codes can paste in others without fear of syntax failures
@thinBasic
Goto ss <--- error
Gosub ss <--- error

I think this would allow an interchange between versions and greater flexibility as well as greater security in carrying codes from one to the other

I think that thinbasic has something like keyword exchanges, this along with syntax picker and some kind of function modules could make Oxygen in the intermediary of the several existing versions where disappearing the person becomes orphaned
« Last Edit: December 11, 2017, 03:29:39 AM by edcronos »

Charles Pegge

  • Guest
Re: FreeBASIC
« Reply #29 on: December 11, 2017, 02:16:31 PM »
Yes, I agree there are a number of portability problems.uit  it should be possible to create emulations of other basics by exploiting Oxygen's ability to override existing names and confine them within a namespace or scope.

I deliberately removed the assembler switch as well, so OxygenBasic is now a fusion of Basic, C and Assembly code :)