![](http://www.nsbasic.com/app/info/images/idetour.jpg)
![](http://www.nsbasic.com/app/info/images/helloworld.jpg)
![](http://www.nsbasic.com/app/info/images/installiphone.jpg)
![](http://www.nsbasic.com/app/info/images/installandroid.jpg)
You can download the demo here.
Other useful URLs:
NS Basic/App Studio 1.0.8 released!
NS Basic/App Studio 1.0.8 is ready to download. You can download it from
the same URL as before.
This update has both fixes and some new stuff.
Here is what is new and fixed:
- Code Window: Add Main, vb* as keywords.
- Code Window: lots more case normalization is being done.
- Controls: New Audio control – now you can play sounds!
- Controls: New Video control.
- Controls: redundant click definitions removed.
- Controls: Uncaught Reference Error fixed.
- IDE: Added style property for project.
- IDE: Fixed issue with long strings in HTMLview and extraheaders.
- IDE: New Check for Update menu item.
- IDE: Deploy window now has OK/Cancel buttons.
- IDE: New project property: Language – BASIC or JavaScript
- Project Explorer: Forms can be expanded or contracted.
- Runtime: Added check for valid browser.
- Samples: New AudioVideo sample.
- Translator: a[0,1] fixed.
- Translator: Dim a: a=b() fixed.
- Translator: If c(a) Then a.b=”x” fixed.
- Translator: Function window_onorientationchange() fixed.
- Translator: More problems with brackets fixed.
- Translator: If A=”a” Then:MZahl=1:z1 =2:End If fixed.
Notes:
– There are two new controls: Audio and Video. They let you include
sounds and video in your app. Sound is pretty straightforward, but the
video types need to be carefully formatted.
– We’ve had requests from people who want to use the IDE purely with
JavaScript. We have added a language property to the project. While it
defaults to BASIC, it can be changed to JavaScript, in which case, no
translation is done on the code. If you use this feature, let us know
how it works for you.
NS Basic/App Studio 1.0.7 is ready!
NS Basic/App Studio 1.0.7 is ready to download. You can download it from the same URL as before.
This update has both fixes and some new stuff.
- Code Window: Case normalization for additional keywords and DOM objects.
- Code Window: literal strings are now Courier New as well.
- Code Window: Ctl-j now handles unicode characters.
- Deploy: Filenames in manifest have spaces or slashes are flagged.
- Docs: Handbook and Language Reference updated.
- IDE: New extraheaders property lets you add your lines to header.
- IDE: Form has new method property: GET or POST.
- IDE: New form names now have first letter capitalized.
- Runtime: ‘Go’ on some browsers no longer causes unintentional submit.
- Samples: Extra ‘ signs removed from some samples.
- Samples: HTMLview has Show Map option.
Deploy: prefixes appear again when deploying to NS Basic App Server. - Translator: a = “a://b” fixed
- Translator: a={b:”b”,c:”c”} fixed
- Translator: a=new Option(Aus(i),Aus(i)) fixed.
- Translator: Function a_b_onclick() fixed.
- Translator: If a=”=” Then b=1 fixed
- Translator: If Mid(“1”,1,1)=1 Then Print “yes” fixed
- Translator: Mod fixed.
- Translator: MsgBox Replace(“AB.DEF”,”.”,”X”) fixed
- Translator: Print “>” & “,” & “<” fixed
- Translator: Print DatePart(“ww”,01 & “.” & 01 & “.” & 2010,2,2) fixed.
- Translator: V=(F ^ 3) ^ 2 fixed.
- Translator: With Canvas.getContext(“2d”) fixed.
Notes:
– TThe project has a new property: extraheaders. This allows you to add addtional header lines to the <head> section of the generated code. An example would to include an extra JavaScript library, you would add:
<script src="myLib.js" type="text/javascript"></script>
– POST lets you send more data to the server. SeeĀ Tutorial 07 for a more information.
WebSocket Support
Starting with Version 1.0.6, NS Basic/App Studio supports web sockets. WebSockets define a full-duplex single socket connection over which messages can be sent between client and server. The WebSocket standard simplifies much of the complexity around bi-directional web communication and connection management.
It’s also easy to use from NS Basic. The new release has a sample client app that runs on the device, as well as a desktop server sample. It’s all explained in the new Tech Note, WebSockets.
NS Basic/App Studio 1.0.6 released!
NS Basic/App Studio 1.0.6 is ready to download. You can download it from the same URL as before.
This update has both fixes and some new stuff.
- Code Window: Font changed to Courier New.
- Controls: MultiInput – setValue on smallField fixed.
- Deploy: 4 character prefix not added when deploying to own server
- Deploy: Spaces in filenames changed to “_”.
- IDE: Bounds are now saved properly on exiting.
- IDE: Changing id of a control now updates event dropdown.
- IDE: Date meta tag added to headers.
- IDE: Generator meta tag added to headers.
- IDE: Message displayed if no write permission to current folder.
- IDE: Saving a project to a different folder now works.
- IDE: Settings file now written out immediately.
- nsbapp.com: location of project_template changed.
- Samples: HTMLview has display map option.
- Samples: New WebSocketsEchoServer.VBExpress2010.zip
- Translator: a=”a://b” translates properly
- Translator: ElseIf now treated as “Else If”
- Translator: Expression on Select statement fixed.
- Translator: Global no longer does anything.
- Translator: Replace – 4th and 5th parameters fixed.
- Translator: Replace(“10,5″,”,”,”.”) fixed.
- Translator: TypeName(CInt(1)) fixed.
- Tutorials: 09 Websockets added.
This should be our last update this year. We wish all of you a very Happy New Year – next year looks like it will be an exciting one!
Getting started with PhoneGap videos
http://www.phonegap.com/2010/12/14/phonegap-getting-started-screencasts/
(Thanks, Lennie!)
Virtualbox WIN/XP and Ubuntu Wine
Lanny Rosiky from the Czech Republic reports that NS Basic/App Studio runs on Virtualbox WIN/XP and on Ubuntu Wine with the Linux version of Chrome.
Are you using App Studio on an interesting configuration? Let us know!
NS Basic/App Studio 1.0.5 released
NS Basic/App Studio 1.0.5 is ready to download. You can download it from the same URL as before.
This update has both fixes and some new stuff. Here they are:
- Docs: New Tutorial 07: Communicating with a server
- Docs: Handbook and Language Reference updated.
- Samples: ComboBox sample now shows how to clear.
- Translator: a=”IF NOT a;” fixed.
- Translator: cstr(0) and cstr(1) fixed.
- Translator: Date and Time fixed for all time zones
- Translator: Functions in form of object_onsomething fixed.
- Translator: Instr(“12345″,”3”) fixed.
- Translator: Some syntax errors handled more gracefully.
Sorry for the quick update from 1.0.4. The guy working on the Translator had a great day yesterday, knocking off quite a few items. We felt it would be good to get them into people’s hands right away.
Communicating with a Server
Release 1.0.4 made it possible to send and receive information from a server. Together with a new sample, SendData, there is a new tutorial on the website:
http://www.nsbasic.com/app/technotes/TT07.htm
NS Basic/App Studio 1.0.4 released
NS Basic/App Studio 1.0.4 is ready to download. You can download it from the same URL as before.
This update has both fixes and some new stuff. Here they are:
- Code Window: And and Or now properly highlighted.
- Code Window: InStr fixed.
- Docs: Handbook and Language Reference updated.
- IDE: Form has new function: submit(). See Docs below.
- IDE: Form has new property: URL. See Docs below.
- Samples: CacheEvents shows cache events.
- Samples: SendData shows how to send and receive data from a server
- Samples: SQL sample now works
The big news in this release is the new SendData sample. It shows how you can collect data on a form, send it to a server, and receive a reply from that server. It’s surprisingly simple. You can start digging into the sample right away: we will be publishing documentation explaining how it works as soon as we can.