Handbook: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
Created page with "2.1 Conventions Used in this Handbook The following notation conventions are used in this Handbook: KEYWORDS Capital letters indicate NS Basic/App Studio keywords and other t..."
 
No edit summary
 
(27 intermediate revisions by 4 users not shown)
Line 1: Line 1:
2.1 Conventions Used in this Handbook
'''CONTENTS'''
The following notation conventions are used in this Handbook:
----
KEYWORDS
Capital letters indicate NS Basic/App Studio keywords and other text that must be typed exactly as shown. For the purposes of this manual, uppercase text indicates a required part of the Statement syntax. NS Basic/App Studio is case-insensitive: keywords are accepted with either uppercase letters, lowercase letters, or any mixture of the two. A keyword such as PRINT may be entered into your programs as print, Print, or PRINT.
placeholders
Italic text indicates a placeholder for types of information that you must supply. In the following Statement, expression is italicized to show that the EXECUTE statement requires an expression:
EXECUTE expression
    Example
This Monaco typeface indicates example program code and information that is printed on your NS Basic/App Studio screen. The following example shows a line from an NS Basic/App Studio program:
PRINT "Hello World!"


[Optional]
[[Introduction|1. Introduction]]
Brackets indicate that the enclosed items are optional. In the following example, brackets are used to show that entering a second item to display on the screen is optional for the PRINT statement:
PRINT expression1 [ ,expression2 ]
Both of these PRINT statements are legal, since PRINT accepts up to 20 expressions:
PRINT "Hello"
PRINT "Hello","World"


|
2. AppStudio Concepts
The vertical bar indicates that the items are mutually exclusive. In the following example the bar indicates that the LEN function can either be used with a string or a variable name:
 
LEN(string | variable)
:[[Conventions Used in this Handbook|2.1 Conventions Used in this Handbook]]
2.2 The Elements of an NS Basic/App Studio Program
 
A program in NS Basic/App Studio is a set of Statements. Each NS Basic/App Studio program line may consist of the following elements:
:[[The_Elements_of_an_NSB/App_Studio_Program| 2.2 Statements and Variables]]
KEYWORD arguments 'comment
 
A KEYWORD is a word from the language that NS Basic/App Studio understands. Examples are PRINT, INPUTBOX and IF. The Statement and its arguments determine what action (if any) will be taken by NS Basic/App Studio when the line is executed.
:[[Expressions and Operators|2.3 Expressions and Operators]]
Any text following ' on a line is a comment, and is ignored by NS Basic/App Studio.
 
2.2.1 Multi-Line Statements
:[[Function and Sub Procedures|2.4 Function and Sub Procedures]]
Each NS Basic/App Studio statement normally ends at the end of the statement line. If you have a very complex statement the line can be very long. This can make your programs difficult to read. You may split long statements by using the line-continuation sequence, a space followed by an underscore, ( _) at the end of the
 
:[[Projects, Forms, and Controls|2.5 Projects, Forms, and Controls]]
 
3. Using AppStudio
 
:[[Menu Options|3.1 Menu Options]]
 
:[[Deploy Bar|3.2 Deploy Bar]]
 
:[[Toolbox|3.3 Toolbox]]
 
:[[Design Screen|3.4 Design Screen]]
 
:[[Project Explorer|3.5 Project Explorer]]
 
:[[Properties Window|3.6 Properties Window]]
 
:[[Status Bar|3.7 Status Bar]]
 
:[[Code Window|3.8 Code Window]]
 
:[[Preferences|3.9 Preferences]]
 
:[[Make_Native_App_with_VoltBuilder|3.10 Make Native App with VoltBuilder]]
 
:[[Testing and Deploying|3.11 Testing and Deploying]]
 
:[[About Screen|3.12 About Screen]]
 
:[[Find/Replace|3.13 Find/Replace]]
 
:[[New Project Dialog|3.14 New Project]]
 
:[[Open Sample Dialog|3.15 Open Sample Project]]
 
:[[Wiki|3.15 Wiki]]
 
[[language_reference|4. Language Reference]]
 
[[language_reference#Controls|5. Controls Reference]]
 
[[Advanced Topics|6. Advanced Topics]]
 
[[Appendix|Appendix A: Constants]]
 
[[Appendix#B. Specifications|Appendix B: Specifications]]

Latest revision as of 14:09, 14 November 2020