NS Basic/App Studio 1.0.9 is ready to download. You can download it from the same URL as before.
This update has both fixes and some new stuff.
Notes:
Code Window: Added more JavaScript keywords
Code Window: REM statements are no longer case normalized.
Deploy: Added message if file does not exist.
Docs: Handbook and Language Reference updated.
Controls: Grid – New functions added. See below.
Controls: MultiInput.disable fixed.
Controls: Scoping problems in complexfunctions fixed.
IDE: Fixed bug with toolbar resizing.
IDE: Project name change in Save As now changes relevant properties.
IDE: Top line in Project Explorer renamed.
Samples: Geolocation overhauled.
Samples: New MoveTheBall shows use of device motion sensors.
Samples: PictureBox updated and improved.
Samples: New SqlSample2 shows reading, writing database.
Samples: Grid sample updated.
Translator: _onevents fixed (for good?)
Translator: a=vbTab fixed.
Translator: If A=”a” Then:MZahl=1:z1 =2:End If fixed.
Translator: if not(a) and not(b) Then… fixed.
Translator: More problems with brackets fixed.
Translator: Problem with Select…Case fixed.
We have made some changes to the Grid control. There are a number of new functions – they are listed under Grid in the Language Reference. One of the new functions is cell(row,col). Please use this function instead of the current Grid_row_col to refer to cells. The Grid_row_col method deprecated and will stop working in a future release.
The changes make the Grid control more HTML compliant. It is possible that your rows will be drawn with a different height than before: you will need to adjust your code if this happens to you.
I would also like to thank Carmine Castiglia for his new Grid functions and Thomas Gruber for the new SQL sample. I am sure they will be appreciated by many!
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.
– 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:
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.