Axional development libraries
Server side javascript
XSQL to JS
XSQL to JS
Content
22
Back to parent
Functions: XSQL to JS equivalence
Hello world:
Input arguments
Local functions:
Return values
Variables and scope
Global scope
Local scope
Block scope
Data types
Several variables in a line
Declaring variables without values assigned
Assigning decimal values
Date variables
Statements
Statement commons
Syntax
Comments
Variables
Operators
Arithmetic Operators
Assignment Operators
Comparison Operators
Logical Operators
Booleans data
Strings
Definition
String methods
Number Format
Arithmetics
Arithmetic operators
Mathematical tasks
BCMath Arbitrary Precision Mathematics
Dates
Date creation
Date getters
Date adders
Date comparison
Date as a prepared statement
Arrays
Creating an Array
Access an Array
Changing element at an Array
Loop over an Array
Clear an array
Properties
Methods
Maps.90
Title of first section
Title of second section
Structs
Server side script Objects
Object
Object Constructors
VTables
Create a vtable and insert values
vtable.insert matrix
vtable.addColumns
vtable.addVTable
vtable.clear
vtable.elementAt
vtable.clone
Files.120
Title of first section
Title of second section
Control statements
IF statement
IFTHEN statement
IFNULL statement
SWITCH statement
Loop statements
WHILE statement
FOR statement
FOREACH statement
Break and Continue
DB statements
Table
DB connections.20
Execute procedure and functions
Select and cursors
DML Statements
Excel
Create a workbook
Create a sheet
Using a formula
Example
JSON-DOM.170
Creating - xml file
XML to string
XML - The index-Of method
XML to DOM
Process Log
Process log example
System functions.200
Title of first section
Title of second section
Error and exception handling
Exception
SQL Communication area
Obtain a serial
Obtain number of registers
Obtain a row
Obtain names of columns
Web studio integration
Report
Button Actions
TX Manager
×