Page 1 of 1

Could PureBasic somehow replace JavaScript?

Posted: Wed Jul 11, 2012 2:27 am
by RichAlgeni
Or be used in place of JavaScript?

I'd much rather be proficient in PureBasic, since it's so powerful! I have to admit, I LOATHE JavaScript!

Couldn't PureBasic be used in place, or be called by JavaScript? Flash and Java are executables, aren't they?

Has anyone done anything like this?

Re: Could PureBasic somehow replace JavaScript?

Posted: Wed Jul 11, 2012 2:42 am
by IdeasVacuum
All depends on what the purpose of the code is. JavaScript is usually used as part of a web page. It has a command to run an exe file that is already on the PC: http://www.dotnetspider.com/resources/1 ... cript.aspx

Re: Could PureBasic somehow replace JavaScript?

Posted: Wed Jul 11, 2012 2:54 am
by rsts
RichAlgeni wrote:Or be used in place of JavaScript?

I'd much rather be proficient in PureBasic, since it's so powerful! I have to admit, I LOATHE JavaScript!

Couldn't PureBasic be used in place, or be called by JavaScript? Flash and Java are executables, aren't they?

Has anyone done anything like this?
Not likely, but there is http://www.nsbasic.com/app/

Re: Could PureBasic somehow replace JavaScript?

Posted: Wed Jul 11, 2012 7:25 pm
by RichAlgeni
I had moved a bracket to the previous line, just because I thought I'd be consistent, and all hell broke loose!

That's why I was wondering if we could use a PB executable in place, or called by JavaScript.

Thanks guys.

Re: Could PureBasic somehow replace JavaScript?

Posted: Sat Jul 14, 2012 4:29 pm
by Nituvious
What are you need done in Javascript that you want to do in PureBasic instead?
If you want to use PureBasic as a web language then you'll need some sort of interpreter, probably in the form of a web server. IIRC There is one floating around the forums somewhere.

Re: Could PureBasic somehow replace JavaScript?

Posted: Sat Jul 14, 2012 4:42 pm
by Mohawk70