AKD BASIC User Guide |
Table of Contents
1 About this User Guide 16
2 Program View 17
2.1 Toolbar Options 17
2.1.1 New ... 17
2.1.2 Save / Save As 17
2.1.3 Open 18
2.1.4 Edit Parameters Section 18
2.1.5 Compile / Download / Run 18
2.1.6 Continue / Pause / Stop 18
2.1.7 Debug 18
2.1.8 View 19
2.1.9 Format Document 19
2.1.10 Insert Code Snippet 19
2.1.11 Upload? 19
2.1.12 Lock 19
3 AKDBASICLanguage 20
3.1 AKD BASIC Program Structure 20
3.1.1 Local Variables 20
3.1.2 Global Variables 20
3.2 Program Sections 21
3.2.1 Program Template 21
3.2.2 Setup Parameter Definitions 21
3.2.3 Global Variables, Constants, and Aliases 22
3.2.4 Variable Definitions 22
3.2.5 Constant Definitions 22
3.2.6 Alias Definitions 23
3.3 Main Program, Subroutines, Functions & Interrupt Handlers 23
3.3.1 Main Definitions 23
3.3.2 Subroutine Definition 24
3.3.3 Function Definition 25
3.3.4 Interrupt Handler Definition 25
3.4 Language Definition 26
3.4.1 Lexical Conventions 26
3.4.2 Identifiers 26
3.4.3 Data Types 26
3.4.4 Literal Constants 27
3.4.5 Decimal Integer Constants 27
3.4.6 Hexadecimal Constants 27
3.4.7 Floating-Point Constants 27
3.5 Statements 28
3.5.1 Alias 28
3.5.2 Call 28
Kollmorgenâ„¢ | March 30, 2012 4