PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

eVB versus NS/Basic

While I was looking at options for programming directly on my HPC, I came across NS/Basic.

http://www.nsbasic.com/ce/

Does anyone have any experience or thoughts on this product?? I am interested in getting back into doing some coding, and this looks ideal since I can use it on my 720 or my 568 as well as on my desktop. At $150 (US) it is a bit expensive, but I like the idea of NOT being chained to my desktop since I spend alot of time traveling. Any feedback would be appreciated.

According to the website,

NS Basic/CE is a complete BASIC toolkit that lets you program on a Windows CE device or on your desktop. It uses Microsoft's standard VBScript engine as its core, combined with extensions to create a complete development and runtime environment. NS Basic/CE provides a full, modern implementation of BASIC, with proper subroutines, variant data types and no line numbers. VBScript is built into the ROM of many Windows CE devices, keeping memory requirements low.

Extensions provide support for file I/O, serial I/O, WINSOCK, financial functions, database I/O and a set of standard screen input and output objects and dialog boxes. Microsoft technologies such as ADO and ActiveX are supported. Applications you create are freely distributable and are write once, run anywhere. Includes a 200 page spiral bound Handbook and lots of sample code.

With NS Basic/CE, you'll have everything you need to create great apps - completely on your HPC. No cables, no desktop toolkits, no synchronization, no downloading - or on your desktop.
It's been a while since I read anything on NS, but if I recall correctly it was concidered a much better "VB" then eVB. It had better controls, more components, fewer bugs, and allowed you to write apps directly on the PPC.
I'd like to see the creation of an open source compiler, assembler and linker for ARM that runs on Pocket PC. I would provide the source code editor. :)

Dan East
BurningSheep · 27 Jul 2002, 21:57 UTC
Why? We already have vim 4 pocketpc... ok, i guess it just isn't the same without a keyboard ;)
well if it just runs on the vbscript engine its just VB with a different UI. For instance, winsock has a nasty bug in it that you can't fix that splits up packets strangely for no reason. Using this wouldnt get around that unless the winsock API doesn't have that bug and they wrapped THAT and not the VB winsock control. I have no idea but im not shelling out $150 to find out. blah.
YodaBenCode · 29 Jul 2002, 21:53 UTC
Dan East wrote:
I'd like to see the creation of an open source compiler, assembler and linker for ARM that runs on Pocket PC. I would provide the source code editor. :)

Dan East


That would be pure Nirvana !

Come to think of it, now THAT would be a worhwhile community project. Wasn't there an ARM assembler around in the old days ?(nARM-ASM or something)
Conan · 29 Jul 2002, 22:13 UTC — road coding on the HPC
NS Basic has never really reached a big audience but if you prefer basic to C it's fully functional. I used PocketC for over a year to write Space Trker so I don;t have much knowledge of NS Basic as I evaluated it before selecting PocketC. Now I've converted to real C++ using eVC. I can only edit on the handhend & need the PC to compile.

If you just want a bit of programming fun then NS Basic will do you well but for a real program you need to thing of eVB or better still eVC++
HobbesAB · 30 Jul 2002, 17:55 UTC — road coding on the HPC
Conan wrote:
NS Basic has never really reached a big audience but if you prefer basic to C it's fully functional. I used PocketC for over a year to write Space Trker so I don;t have much knowledge of NS Basic as I evaluated it before selecting PocketC. Now I've converted to real C++ using eVC. I can only edit on the handhend & need the PC to compile.

If you just want a bit of programming fun then NS Basic will do you well but for a real program you need to thing of eVB or better still eVC++


This is what I want to do (initially). I just want to have some fun with it, and code a few things that I feel are perfectly suited within the confines of BASIC. I want to do this on my HPC just because I'm trying to get away from lugging my laptop everywhere. If I can code and compile directly on the device, then it would meet my goal.
Conan,

The NS Basic website cites NSB being as fully functional as eVB. You say that for real programming to switch to eVB or eVC. Is there something that NSB lacks that isn't obvious to the novice programmer?? For the price, I would want something that does everything it claims to do. Any insight would be appreciated.

Here is NSB's comparison:

http://www.nsbasic.com/ce/info/nsbce/vbcevsnsbasic.htm
Conan · 30 Jul 2002, 18:14 UTC — NS Basic
I thing the main thing that you will find with NS Basic is that you don't have the same performance you will get from eVC. It might take you much longer to learn C++ but you will end up being able to produce far better programs. Honest, I've been there with PocketC.

You will also lose out on the user community. NS Basic has a userbase but it's tiny compared to the eVC & eVB userbase.

You can write real programs with NS Basic but go looking for published programs & you will find very few.
look, the point is nsbasic is providing a frontend for the vb script dll. just like eVB is. Why pay a lot of money to get the same thing as eVB? I guess the only benefit is being able to develop on the device itself. But without a keyboard, and its small screen, how much fun could that be?
I see NSBasic as a utility, to hack up quick little programs on the go. If that's what you need, might wanna take a stab at PerlCE. It's (very) useful for the desktop too, especially in Linux and webdesign. It can be a REAL bitch to setup on the PPC.
MarkS · 11 Oct 2002, 02:48 UTC — Learning eVC++ instead of PocketC??
Hi Conan,

Your post caught my eye as I've been teaching myself PocketC the past few months. First on the Palm and now starting on PocketPC for my new e550g.

I'm relatively new to programming and besides learning PocketC, I've been reading some C/C++ books off and on the past year.

Just wondering since you've used PocketC and eVC++ if you could comment on how much more effort/timeframe is involved to learn eVC++ over PocketC. I know that everyone is different but it would be great to have some perspective on this since I'm learning this stuff on my own.

I recently installed eVC++ and have gotten as far as trying the proverbial 'Hello World' tutorial with it.

Any other suggestions would be greatly appreciated!! Including anyone else on the forum. :D

Mark

Conan wrote:
"NS Basic has never really reached a big audience but if you prefer basic to C it's fully functional. I used PocketC for over a year to write Space Trker so I don't have much knowledge of NS Basic as I evaluated it before selecting PocketC. Now I've converted to real C++ using eVC. I can only edit on the handhend & need he PC to compile.

If you just want a bit of programming fun then NS Basic will do you well but for
a real program you need to think of eVB or better still VC++ "
Dan East wrote:
I'd like to see the creation of an open source compiler, assembler and linker for ARM that runs on Pocket PC. I would provide the source code editor. :)

Dan East


One thing that comes to mind is to take LCC and retarget the ARM processor with it... You could then compile LCC for ARM and run it on the Jornada 7xx serie.

This shouln't be too hard and the compiler is basically free... Add an editor and you have something working.
Kzinti wrote:
(... open source compiler etc)
One thing that comes to mind is to take LCC and retarget the ARM processor with it... You could then compile LCC for ARM and run it on the Jornada 7xx serie.

This shouln't be too hard and the compiler is basically free... Add an editor and you have something working.


Or somebody could port gcc. The difficulty is knowing how to do the linking etc I would have thought, given that there are already windows ports of gcc.

Of course, I'd note that you can get GCC for PocketPCs, just not while they're running WinCE ;)

It would be worth looking out there to see if somebody has done the work - the odds are that if they have it'll rely on cygwin or something for C++ support - thus limiting you to open-source code (unless you buy it)
Thing is LCC is much smaller and easier to understand/port... It could be a (relatively) easy starting point.

I've put lot of though about this in the last few months, but finaly decided I didn't have the time to do it myself. Now that I've sold my J720, there is no more point for me to work on this.

GCC would sure be nice, but it's a monster... And these ARM devices aren't that fast.
Kzinti wrote:
Thing is LCC is much smaller and easier to understand/port... It could be a (relatively) easy starting point.

I've put lot of though about this in the last few months, but finaly decided I didn't have the time to do it myself. Now that I've sold my J720, there is no more point for me to work on this.

GCC would sure be nice, but it's a monster... And these ARM devices aren't that fast.


They're not that slow either - 200Mhz is pretty whizbang - I'd be far more concerned about RAM usage, and that's really only a major factor in C++ anyway, where lcc wouldn't help.

From a brief look it appears that gcc already works on wince-arm machines, but I'm not 100% sure. (There's a config file for it)