NS Basic/App Studio 1.1.3 Released!

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

There are some nice usability improvements this time.
– Compiles are much, much faster in many cases.
– You can add code files (.cod, .bas, .txt) to your project.
– Default form sizes for many popular devices can be specified.
– Message now appears when the cached version is being updated.

Notes:

  1. Deploy: Incrementatal compile can cut build time dramatically. See below.
  2. Deploy: Cache status now displayed when updating. See below.
  3. Deploy: If app is updated, app is automatically restarted.
  4. IDE: Default form size added.
  5. IDE: Code Files added.
  6. IDE: Code Files Import/Export added.
  7. IDE: Form Import/Export added.
  8. IDE: Property Help text now displayed.
  9. Docs: Handbook and Language Reference updated.
  10. Installer: removed reference to folder that was not created.
  11. Runtime: fixed problems with rotation and control sizing.
  12. Samples: Geolocation now shows more information, updates itself.
  13. Samples: CacheEvents sample removed – obsolete.
  14. Samples: CreateDiv: shows how to create a control on the fly.
  15. Samples: Signature: Shows how to capture and display signatures and drawings.
  16. Translator: Case normalization for ‘timestamp’ and ‘form’ fixed.
  17. Translator: d = new Date() translates correctly.
  18. Translator: Dim names2(): ReDim names2(0,4) translates correctly.
  19. Translator: Naming conflict in String function fixed.


Documentation Changes for Version 1.1.3

  1. Incremental Compile: Only the code modules which have changed since the last compile will be recompiled.

  2. Caching: If there is a fresh copy of your app on the server, status messages will now be displayed as the files load. Once all the files are loaded, the app will restart automatically. This takes the guesswork out of knowing whether the new version of your app has loaded. Your program can continue to do processing as this is going on.

    To check if updating is going on, check if NSB_eCount>1.

    To override the standard handling of cache events, add this code to your program:

    	Sub oncache(e)
    	  'do what processing you need (or nothing)
    	End Sub
  3. Default Form Size: The IDE has a number of default form sizes built in. You can ignore these and enter your own height and width. If you know the size of a popular device you would like added to the list, send the info to us.

NS Basic/App Studio 1.1.2 Released!

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

There are some nice usability improvements this time.
– You don’t have to change your default browser to test your apps.
– Deploying an app that has already be deployed once is much faster.
– Block comments are now enabled.

Notes:

1.1.2

  1. Deploy: No longer runs in the default browser. Tries Chrome first, Safari next, then gives a message requesting that a compatible browser to be installed.
  2. Deploy: Refresh Deploy just uploads the app, not all the other files.
  3. Code Window: Jumping to a function scrolls it to the top.
  4. Code Window: Block comment/uncomment a section of code by right clicking or from the Edit menu.
  5. Code Window: Cos() is colored properly.
  6. Deploy: Missing files for titlebar added.
  7. Deploy: Trailing spaces on # USER FILES ignored.
  8. Deploy: Status bar is updated more frequently.
  9. Deploy: Exclude Thumbs.db from manifest.
  10. Docs: Handbook and Language Reference updated.
  11. IDE: Bug in moving Project Explorer tree items fixed.
  12. IDE: Project Explorer buttons have disabled images.
  13. IDE: Updates window enlarged and positioned properly.
  14. Installer: ReadMe file can be opened at end of installation.
  15. Language: Capitalization issues fixed on interval and timeout functions.
  16. PhoneGap: iOS helper file changed from phonegap-0.9.3.min.js to phonegap.js
  17. Runtime: Some variables in canned code were not properly declared.
  18. Samples: slight change to GetData.
  19. Samples: TwoForms modified to use transitions.
  20. Samples: CacheEvents now gives more information.
  21. Translator: ‘ sub = no longer causes problems.
  22. Translator: a[0]=atn(1) fixed.
  23. Translator: FormatNumber((a[1] Mod Reg[0]),9) fixed.
  24. Translator: If A = “a” Or b = “b” Or c = “c” Then… fixed.
  25. Translator: Int() and CInt() are now consistant with VB.
  26. Translator: Print a[0]^5 fixed.
  27. Translator: v1 = Sin((Lat1r – Lat2r) / 2) ^ 2 fixed.

NS Basic/App Studio 1.1.1 Released!

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

Some of the most important changes are:
– Improved support for international languages: check the Arabic sample.
– New sample showing how to use PhoneGap to access contacts and camera.
– Ability to get the row and column when grid clicked.

Notes:

  1. Controls: Add image map tag to Image control.
  2. Controls: Grid now returns row, col on click.
  3. Deploy: <Doctype> changed to be HTML5 standard.
  4. Deploy: Blank lines in manifest no longer needed.
  5. Deploy: Make <body> min-height device aware.
  6. Docs: Technote 09 Using PhoneGap API added.
  7. Docs: Handbook and Language Reference updated.
  8. IDE: Fixed unicode in property values.
  9. IDE: Save always saves, regardless of dirty status.
  10. IDE: Added prompt for form deletion.
  11. IDE: Fixed selection problem in Form Editor.
  12. Language: New function GetLocale() added.
  13. Language: New function Log10() added.
  14. Language: VBNullString constant added.
  15. Samples: ComboBox shows how to get name of selected item
  16. Samples: PhoneGapAPI added.
  17. Samples: Tutorial2 and SQLSample2 fixed.
  18. Samples: New HelloWorldArabic
  19. Translator: /*….*/ treated as block comment.
  20. Translator: a.value=”” Or b.value=”” Or c.value=”” fixed.
  21. Translator: DateAdd past end of year fixed.
  22. Translator: Msgbox DatePart(“d”,Now) fixed.
  23. Translator: nStr(2,”12345″,”23″) fixed.
  24. Translator: REM (all by itself) fixed.
  25. Translator: Round(CDbl(“10”),2) fixed.
  26. Translator: x=5: Dim a(x) fixed.

NS Basic/App Studio 1.1.0 Released!

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

The major new thing in this release is support for PhoneGap. There is a new setting in Project Properties, as well as 2 new Tech Notes. Have fun!

Notes:

  1. Support for PhoneGap added.
  2. PhoneGap API is now supported.
  3. IDE: New project property: phonegap
  4. Tutorials: New Tutorial 11: Using PhoneGap to create an iOS App
  5. Tutorials: New Tutorial 12: Using PhoneGap to create an Android App
  6. Code Window: case normalizes control names
  7. Controls: improvements to iMenu
  8. IDE: Now checks for duplicate control names
  9. IDE: Project explorer icons tweaked.
  10. Samples: Improvements to Geolocation, iMenu, getDate
  11. Translator: MsgBox 1 / (1 + 2011 mod 4) fixed.

Read the full release notes here:
http://www.nsbasic.com/app/info/Readme.htm

NS Basic/App Studio 1.0.10 Released!

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

This update has both fixes and some new stuff.

Notes:

  1. Controls: Buttons now render properly on Android.
  2. Controls: Grid sets width from column sizes if possible.
  3. Controls: iMenu now has addItem, replaceItem and deleteItem methods.
  4. Controls: Text, TextArea: Added onkeypress event.
  5. Deploy: Control positioning changed from Fixed to Absolute.
  6. Docs: Handbook and Language Reference updated.
  7. IDE: “Cannot open project in read only location” fixed.
  8. IDE: firstform property changes if form name changes.
  9. IDE: New icons for Project Explorer
  10. IDE: Sometimes dropdown to go to _click in code did not work.
  11. Language: New screen size functions added to SysInfo().
  12. Samples: iMenu sample updates with new functions.
  13. Samples: New GetDate sample in SpinningWheel subfolder.
  14. Samples: SendDate and CacheEvents have manifest fixed.
  15. Translator: ‘If (a=true) And _ [return] (b=false) Then’ fixed.
  16. Translator: a = { 1: “a”, 2: “b”, 3: “c”} fixed.

The iMenu control has a number of new functions – they are listed under Menu in the Language Reference.

Thanks to Carmine Castiglia for the new iMenu functions. I am sure they will be appreciated by many!

NS Basic/App Studio 1.0.9 released!

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:

  1. Code Window: Added more JavaScript keywords
  2. Code Window: REM statements are no longer case normalized.
  3. Deploy: Added message if file does not exist.
  4. Docs: Handbook and Language Reference updated.
  5. Controls: Grid – New functions added. See below.
  6. Controls: MultiInput.disable fixed.
  7. Controls: Scoping problems in complexfunctions fixed.
  8. IDE: Fixed bug with toolbar resizing.
  9. IDE: Project name change in Save As now changes relevant properties.
  10. IDE: Top line in Project Explorer renamed.
  11. Samples: Geolocation overhauled.
  12. Samples: New MoveTheBall shows use of device motion sensors.
  13. Samples: PictureBox updated and improved.
  14. Samples: New SqlSample2 shows reading, writing database.
  15. Samples: Grid sample updated.
  16. Translator: _onevents fixed (for good?)
  17. Translator: a=vbTab fixed.
  18. Translator: If A=”a” Then:MZahl=1:z1 =2:End If fixed.
  19. Translator: if not(a) and not(b) Then… fixed.
  20. Translator: More problems with brackets fixed.
  21. 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 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.