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:

  1. Code Window: Add Main, vb* as keywords.
  2. Code Window: lots more case normalization is being done.
  3. Controls: New Audio control – now you can play sounds!
  4. Controls: New Video control.
  5. Controls: redundant click definitions removed.
  6. Controls: Uncaught Reference Error fixed.
  7. IDE: Added style property for project.
  8. IDE: Fixed issue with long strings in HTMLview and extraheaders.
  9. IDE: New Check for Update menu item.
  10. IDE: Deploy window now has OK/Cancel buttons.
  11. IDE: New project property: Language – BASIC or JavaScript
  12. Project Explorer: Forms can be expanded or contracted.
  13. Runtime: Added check for valid browser.
  14. Samples: New AudioVideo sample.
  15. Translator: a[0,1] fixed.
  16. Translator: Dim a: a=b() fixed.
  17. Translator: If c(a) Then a.b=”x” fixed.
  18. Translator: Function window_onorientationchange() fixed.
  19. Translator: More problems with brackets fixed.
  20. 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.

  1. Code Window: Case normalization for additional keywords and DOM objects.
  2. Code Window: literal strings are now Courier New as well.
  3. Code Window: Ctl-j now handles unicode characters.
  4. Deploy: Filenames in manifest have spaces or slashes are flagged.
  5. Docs: Handbook and Language Reference updated.
  6. IDE: New extraheaders property lets you add your lines to header.
  7. IDE: Form has new method property: GET or POST.
  8. IDE: New form names now have first letter capitalized.
  9. Runtime: ‘Go’ on some browsers no longer causes unintentional submit.
  10. Samples: Extra ‘ signs removed from some samples.
  11. Samples: HTMLview has Show Map option.
    Deploy: prefixes appear again when deploying to NS Basic App Server.
  12. Translator: a = “a://b” fixed
  13. Translator: a={b:”b”,c:”c”} fixed
  14. Translator: a=new Option(Aus(i),Aus(i)) fixed.
  15. Translator: Function a_b_onclick() fixed.
  16. Translator: If a=”=” Then b=1 fixed
  17. Translator: If Mid(“1”,1,1)=1 Then Print “yes” fixed
  18. Translator: Mod fixed.
  19. Translator: MsgBox Replace(“AB.DEF”,”.”,”X”) fixed
  20. Translator: Print “>” & “,” & “<” fixed
  21. Translator: Print DatePart(“ww”,01 & “.” & 01 & “.” & 2010,2,2) fixed.
  22. Translator: V=(F ^ 3) ^ 2 fixed.
  23. 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.

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.

  1. Code Window: Font changed to Courier New.
  2. Controls: MultiInput – setValue on smallField fixed.
  3. Deploy: 4 character prefix not added when deploying to own server
  4. Deploy: Spaces in filenames changed to “_”.
  5. IDE: Bounds are now saved properly on exiting.
  6. IDE: Changing id of a control now updates event dropdown.
  7. IDE: Date meta tag added to headers.
  8. IDE: Generator meta tag added to headers.
  9. IDE: Message displayed if no write permission to current folder.
  10. IDE: Saving a project to a different folder now works.
  11. IDE: Settings file now written out immediately.
  12. nsbapp.com: location of project_template changed.
  13. Samples: HTMLview has display map option.
  14. Samples: New WebSocketsEchoServer.VBExpress2010.zip
  15. Translator: a=”a://b” translates properly
  16. Translator: ElseIf now treated as “Else If”
  17. Translator: Expression on Select statement fixed.
  18. Translator: Global no longer does anything.
  19. Translator: Replace – 4th and 5th parameters fixed.
  20. Translator: Replace(“10,5″,”,”,”.”) fixed.
  21. Translator: TypeName(CInt(1)) fixed.
  22. 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!

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:

  1. Code Window: And and Or now properly highlighted.
  2. Code Window: InStr fixed.
  3. Docs: Handbook and Language Reference updated.
  4. IDE: Form has new function: submit(). See Docs below.
  5. IDE: Form has new property: URL. See Docs below.
  6. Samples: CacheEvents shows cache events.
  7. Samples: SendData shows how to send and receive data from a server
  8. 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.

NS Basic/App Studio 1.0.3 released

You can download it from the same URL as before.

  1. Code Window: Case normalization improved.
  2. Code Window: Some functions beginning with i were not highlighted.
  3. Deploy: Manifest file simplified.
  4. Deploy: Problems with samples running offline fixed.
  5. IDE: Images in properties no longer require quote signs.
  6. IDE: New project defaults to last directory used.
  7. Samples: All samples updated with new manifest.
  8. Translator: Errors are handled gracefully.
  9. Translator: form1_onsubmit fixed.
  10. Translator: Function return values fixed.
  11. Translator: Set a=b fixed.

The manifest is simpler now: all it needs in it is your own files, if
you have any. The rest are taken care of for you.

NS Basic/App Studio 1.0.2 released

NS Basic/App Studio 1.0.2 is ready to download. You can download it from the same URL as before.

  1. Forms: Add new style property.
  2. Code Window: Type Ctl J to see the translated JavaScript.
  3. Controls: Grid: Add new cellstyle property
  4. Controls: Grid: reduce default padding, font size default is now 10 and populate each cell with a space.
  5. Controls: Grid: multiple grids can have different styles.
  6. Controls: TextBox: Add inputType of hidden.
  7. Samples: HTMLview’s manifest fixed so image is deployed.
  8. Samples: Added tutorial samples.
  9. Samples: GetData retrieves data from a remote site.
  10. Translator: some color constants were incorrect
  11. Translator: Msgbox “Grid(4,4)=” & Grid1.getValue(3,3)
  12. Translator: Function ComboBox1_onchange
  13. Translator: datediff(“ww”,fromdate,todate)

WebSockets

We have just uploaded Version 1.0.1. One the things it includes is a new sample called WebSockets.

WebSockets are a very new part of HTML5. They implement a higher level of the regular sockets protocol, with improved security and other advantages. This means, however, that it won’t just simply connect to Windows Winsock. There is more information here:

http://websockets.org/echo.html

WebSockets are supported starting in iOS 4.2.1. They have not appeared in Android yet.

We will be adding more information about WebSockets as we develop it.

NS Basic/App Studio 1.0.1 released

We have just put NS Basic/App Studio 1.0.1 up. You can download it from the same URL as before.

This update concentrates, not unexpectedly, on fixes. Here they are:

  1. Deploy: Meta tag viewport.user-scalable changed to no.
  2. Deploy: Missing file in deploy fixed.
  3. Deploy: Unique name for registered users is now lower case.
  4. Docs: Tutorial 1 updated to show Android install.
  5. Docs: Appearance of Language Reference improved.
  6. Docs: Handbok updated.
  7. Runtime: Titlebar images now all show.
  8. IDE: NSB Icon now appears in top left corner
  9. IDE: Removed single quotes around image names.
  10. IDE: Problem deleting forms is fixed.
  11. Controls: Label.value is now called textContent (same as runtime)
  12. Samples: new WebSockets is an early demo
  13. Translation: a = ((i/100) ^ 12 * a)
  14. Translation: a = Eval(“Grid1_” & x & “_” & y)
  15. Translation: a = NSBVersionView
  16. Translation: a=”<img src=””mario.jpg””>”
  17. Translation: If (Location.coords.longitude > 0) Then Amendment = ” east”
  18. Translation: Dim Amendment; Amendment = “”
  19. Translation: LGA(0) = “a” : LGA(1) = “b” : LGA(2) = “b”
  20. Translation: MsgBox “aaaa ()”
  21. Translation: MsgBox a.b.c()
  22. Translation: MsgBox a.b.c(0)[name]