So in other words it's like bulls**t.. VBScript is sooo badricardo 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.
NS Basic a good number two?
-
merihevonen
- Enthusiast

- Posts: 326
- Joined: Mon Jan 01, 2007 7:20 pm
- utopiomania
- Addict

- Posts: 1655
- Joined: Tue May 10, 2005 10:00 pm
- Location: Norway
@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):
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.
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 - æøå"haven't found one in the IDE or docs yet.
Haha.Brice Manuel wrote: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".NS Basic a good number two?
HotBasic can't even do integer math. (It pretends to do it, but it actually uses the FPU (!).)If you want an OOP basic, have a look at HotBasic.
- Kaeru Gaman
- Addict

- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany
- Kaeru Gaman
- Addict

- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany
As i said before, most of this things can be done using msscript with PB.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)
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
In not agree.merihevonen wrote:VBScript is sooo bad
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'.
-
Brice Manuel
- Rook Zimbabwe
- Addict

- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
@ Kaeru:
Look here:
http://www.google.com/search?hl=en&q=define%3A+bonkers
Essentially it is slang for insane...
Look here:
http://www.google.com/search?hl=en&q=define%3A+bonkers
Essentially it is slang for insane...
- DoubleDutch
- Addict

- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
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?
Maybe the .NET version of PureBasic works on PocketPC?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
- utopiomania
- Addict

- Posts: 1655
- Joined: Tue May 10, 2005 10:00 pm
- Location: Norway
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
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
- utopiomania
- Addict

- Posts: 1655
- Joined: Tue May 10, 2005 10:00 pm
- Location: Norway
Re: NS Basic a good number two?
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.
I mailed them I was interested in betatesting, so I hope to be able to check it out soon.
apps for iPhone/Android/BlackBerry devices, and that is cool news indeed.
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?
Well, that would be sweet, but then I'm sure you'd be writing a cross compiler Pure -> NS, wouldn't you? 
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )


