Page 2 of 3

Posted: Sun Mar 18, 2007 7:57 pm
by merihevonen
ricardo wrote:NSBasic uses the msscript to do the tasks it describes that can do.

Its exactly as if you use msscript from PB.

Its like running vbs script.
So in other words it's like bulls**t.. VBScript is sooo bad :(

Posted: Sun Mar 18, 2007 9:19 pm
by utopiomania
@ricardo: It's based on VBScript, so it will compile and run script files out of the box, but they
have also extended VBScript with statements, functions and GUI controls, so it's more than
VBScript. It can use most activeX controls available for example, or interface with COM
aware apps such as MS Word/Excel very easily.

Besides this, I find the concept of properties, methods and objects very easy to work with,
and I like the 'sub objectName_event(arglist)' way of handling events too. In my view this is
a much better concept than the procedural/event loop type that PB and many other languages
use.

As for the exe's it produces, they are small (>= 280kb), and depends on no other files to be
distributed as far as understand it from the docs (if you don't use any activeX controls of course)

The biggest problem I've run into so far is with non A-Z characters. I modified a code sample,
and this (the form caption):

Code: Select all

fileSystemObjectSample.text = "Filesystem Object Test - æøå"
produced garbage, it couldn't handle the " æøå" part. I'm shure there's a solution to this, but I
haven't found one in the IDE or docs yet.

Posted: Sun Mar 18, 2007 10:11 pm
by Trond
Brice Manuel wrote:
NS Basic a good number two?
The phrase "number two" has a slightly different meaning here in the USA. Based on our meaning, I think NS Basic is indeed a good "number two".
Haha.
If you want an OOP basic, have a look at HotBasic.
HotBasic can't even do integer math. (It pretends to do it, but it actually uses the FPU (!).)

Posted: Sun Mar 18, 2007 10:46 pm
by Kaeru Gaman
Trond wrote:HotBasic can't even do integer math. (It pretends to do it, but it actually uses the FPU (!).)
ARGL... that is sick!

Posted: Sun Mar 18, 2007 10:52 pm
by srod
Agreed, that's just bonkers! Kind of like cracking a nut with a bag of nukes!

Posted: Sun Mar 18, 2007 11:12 pm
by Kaeru Gaman
srod wrote:Agreed, that's just bonkers! Kind of like cracking a nut with a bag of nukes!
"bonkers" is a nice expression.
do you have background-info about that idiom? pls PN me if you have....
...I'm learning more english every day...

Posted: Sun Mar 18, 2007 11:51 pm
by ricardo
utopiomania wrote:@ricardo: It's based on VBScript, so it will compile and run script files out of the box, but they
have also extended VBScript with statements, functions and GUI controls, so it's more than
VBScript. It can use most activeX controls available for example, or interface with COM
aware apps such as MS Word/Excel very easily.

Besides this, I find the concept of properties, methods and objects very easy to work with,
and I like the 'sub objectName_event(arglist)' way of handling events too. In my view this is
a much better concept than the procedural/event loop type that PB and many other languages
use.

As for the exe's it produces, they are small (>= 280kb), and depends on no other files to be
distributed as far as understand it from the docs (if you don't use any activeX controls of course)
As i said before, most of this things can be done using msscript with PB.

Another very nice possiblitie is doing it using LUA and PB.

I develope some basic interpreter in PB/LUA that let me manage GUI very similar than VB. But my executable is less that 80 k without any runtimes needed and all the power of LUA scripting he he

Posted: Sun Mar 18, 2007 11:54 pm
by ricardo
merihevonen wrote:VBScript is sooo bad :(
In not agree.

VBS is very powerfull and very easy to use for some tasks, basically interacting with OutLook, Excel, Power Point, etc.

In some situations is very handy and as i said a powerfull tool.

But if can be done within PB no need to get some external 'compiler'.

Posted: Mon Mar 19, 2007 12:19 am
by Brice Manuel
As for the exe's it produces, they are small (>= 280kb)
Ack! That is big, not small!

Posted: Mon Mar 19, 2007 4:43 pm
by Rook Zimbabwe
@ Kaeru:

Look here:
http://www.google.com/search?hl=en&q=define%3A+bonkers

Essentially it is slang for insane...

Posted: Mon Mar 19, 2007 5:21 pm
by DoubleDutch
The problem is that (without using Microsoft's compilers) as a 'BASIC', NS Basic has no real competition on the Pocket PC - if only PureBasic could compile ARM code...

Maybe the .NET version of PureBasic works on PocketPC?

Posted: Mon Mar 19, 2007 8:48 pm
by theNerd
NS Basic is VBScript with some extensions added. The VBScript is written as a resource to the runtime.

Posted: Tue Apr 03, 2007 10:11 pm
by utopiomania
Just an update, the problem with the extended characters was a bug of course and I'm probably going to register this one,
since I've found vbscript to be a very useful and powerful tool.

One very intriguing possibility is to combine vbscript with html to have both the power to do some heavy lifting, and almost
any type of nice GUI you like at the same time.

Don't think this can be done in nsbasic itself, but if I can use nsbasic to learn vbscript (and create som apps along the road),
it will probably make it well worth registering.

PS, and the support seems very good too, they answer right away, no problems :)

Re: NS Basic a good number two?

Posted: Fri Nov 19, 2010 5:43 pm
by utopiomania
Another update, they are working on a product called NS Basic/App Studio which is for writing
apps for iPhone/Android/BlackBerry devices, and that is cool news indeed. 8)

I mailed them I was interested in betatesting, so I hope to be able to check it out soon.

Re: NS Basic a good number two?

Posted: Fri Nov 19, 2010 6:08 pm
by blueznl
Well, that would be sweet, but then I'm sure you'd be writing a cross compiler Pure -> NS, wouldn't you? :-)