Top Level Core Functions | |
eval(expression) | Evaluates a string of JavaScript code without reference to a particular object. |
isNaN(expression) | Evaluates an argument to determine if it is not a number. |
parseFloat("string") | Parses a string argument and returns a floating-point number. |
parseInt("string") | Parses a string argument and returns an integer. |
escape("str" [,1]) | Returns the hexadecimal encoding of an argument in the ISO Latin-1 character set; used to create strings to add to a URL. |
unescape("str") | Returns the ASCII string for the specified hexadecimal encoding value. |
Boolean(value) | Converts an object to a boolean. |
Number("str") | Converts a string to a number. |
String(value) | Converts an object to a string. |
Global Properties |
lasso |
ENCODE_BREAKS |
ENCODE_HTML |
ENCODE_NONE |
ENCODE_SMART |
ENCODE_URL |
Global Functions |
addResponseHeader() |
decodeURL() |
deleteResponseHeader() |
encodeBreaks() |
encodeHTML() |
encodeSmart() |
encodeURL() |
flush() |
redirect() |
setWriteEncoding() |
ssjs_getCGIVariable() |
write() |
Lasso Global Properties |
commonCodeVersion |
defaultSession |
editionVersion |
opAnd |
opAny |
opBeginsWith |
opContains |
opEndsWith |
opEquals |
opGreaterThan |
opGreaterThanEquals |
opLessThan |
opLessThanEquals |
opNot |
opNotBeginsWith |
opNotContains |
opNotEndsWith |
opOr |
platformName |
Lasso Global Functions |
getDatabaseNames() |
getTableNames() |
LassoSession Object Functions |
execute() |
getResultCode() |
getResultMessage() |
getVariable() |
getVariables() |
setVariable() |
getVariableCount() |
hasExecuted() |
getResultSet() |
getInputParameters() |
Lasso InputParameters Object Properties |
action |
databaseName |
logicalOperator |
maxRecords |
password |
primaryKeyName |
primaryKeyValue |
returnColumms |
searchColumns |
skipRecords |
sortColumns |
tableName |
userName |
Lasso ResultSet Object Functions |
close() |
columnName() |
columnProtection() |
columnType() |
columns() |
foundCount() |
listValues() |
next() |
related() |
repeats() |
shownCount() |
Lasso SearchColumn Object Properties |
name |
operator |
value |
Array Object Properties |
length |
prototype |
Array Object Functions |
concat(array2) |
join("char") |
push() |
pop() |
reverse() |
shift() |
slice(i,[j]) |
sort(compareFunc) |
unshift() |
Control Statements |
if (condition) { statementsIfTrue } |
if (condition) { statementsIfTrue } else { statementsIfFalse } |
result = condition ? expression1 : expression2 |
for ([init expr]; [condition]; [update expr]) { statements } |
for (var in object) { statements } |
while (condition) { statements } |
with (object) { statements } |
do { statements } while (condition) |
switch (expression) { case label1 : statements [break] case label2 : statements [break] ... [default : statements] } |
Date |
prototype |
get/setDate() |
get/setDay() |
get/setHours() |
get/setMinutes() |
get/setMonth() |
get/setSeconds() |
get/setTime() |
get/setYear() |
getTimezoneOffset() |
parse("dateString") |
toGMTString() |
toLocaleString() |
toString() |
UTC(date vals) |
Function |
caller |
arguments[ ] |
prototype |
(None) |
Math Object Properties |
E |
LN2 |
LN10 |
LOG2E |
LOG10E |
PI |
SQRT1_2 |
SQRT2 |
Math Object Functions |
abs(val) |
acos(val) |
asin(val) |
atan(val) |
atan2(val1, val2) |
ceil(val) |
cos(val) |
exp(val) |
floor(val) |
log(val) |
max(val1, val2) |
min(val1, val2) |
pow(val1, power) |
random() |
round(val) |
sin(val) |
sqrt(val) |
tan(val) |
Number |
MAX_VALUE |
MIN_VALUE |
NaN |
NEGATIVE_INFINITY |
POSITIVE_INFINITY |
prototype |
Number |
toString() |
Operators | |
Comparison | |
== |
Equals |
!= |
Does not equal |
> |
Is greater than |
>= |
Is greater than or equal to |
< |
Is less than |
<= |
Is less than or equal to |
Arithmetic | |
+ |
Plus (and string concat.) |
- |
Minus |
* |
Multiply |
/ |
Divide |
% |
Modulo |
++ |
Increment |
-- |
Decrement |
-val |
Negation |
Assignment | |
= |
Equals |
+= |
Add by value |
-= |
Subtract by value |
*= |
Multiply by value |
/= |
Divide by value |
%= |
Modulo by value |
<<= |
Left shift by value |
>>= |
Right shift by value |
>>>= |
Zero fill by value |
&= |
Bitwise AND by value |
|= |
Bitwise OR by value |
^= |
Bitwise XOR by value |
Boolean | |
&& |
AND |
|| |
OR |
! |
NOT |
Bitwise | |
& |
Bitwise AND |
| |
Bitwise OR |
^ |
Bitwise XOR |
~ |
Bitwise NOT |
<< |
Left shift |
>> |
Right shift |
>>> |
Zero fill right shift |
Miscellaneous | |
delete |
Property destroyer |
new |
Object creator |
this |
Object self-reference |
typeof |
Value type |
void |
Return no value |
RegExp |
input |
multiline |
lastMatch |
lastParen |
leftContext |
rightContext |
$1...$9 |
(None) |
Regular Expression Object Properties |
global |
ignoreCase |
lastIndex |
source |
Regular Expression Object Functions |
compile(regexp) |
exec("string") |
test("string") |
str.match(regexp) |
str.replace(regexp,str) |
str.search(regexp) |
str.split(regexp[,limit] |
String Object Properties |
length |
prototype |
String Object Functions |
anchor("anchorName") |
big() |
blink() |
bold() |
charAt(index) |
charCodeAt([i]) |
concat(string2) |
fixed() |
fontcolor(#rrggbb) |
fontsize(1to7) |
fromCharCode(n1...) |
indexOf("str" [,i]) |
italics() |
lastIndexOf("str" [,i]) |
link(URL) |
match(regexp) |
replace(regexp,str) |
search(regexp) |
slice(i,j) |
small() |
split(char) |
strike() |
sub() |
substr(start,length) |
substring(intA, intB) |
sup() |
toLowerCase() |
toUpperCase() |