WMLScript Reference

[Cover] [Previous Section] [Next Section] [Index]

Current chapter: Index
Section 34 out of 34 total sections


Index


A

abort, Lang library 50
abs, Lang library 50
Access
Variables 13
Access control
Pragmas 18
alert, Dialogs library 103
Arithmetic Operators 23
Array Operators 30
Assignment Operators 22

B

Block Comments 4
Block Statements 41
Boolean Literals 8
break Statements 45
Bytecode 113

C

Calls
Function 36
Case Sensitivity 3
ceil, Float library 62
characterSet, Lang library 51
charAt, String library 67
Client 113
Comma Operators 31
Comments
Block 4
Line 4
compare, String library 68
Comparison Operators 24, 28
Promotions hierarchy 24, 25, 29
Compound Statements 41
Conditional Operators 31
confirm, Dialogs library 104
Console library
print 107
printLn 107
Content 113
Content encoding 113
Content format 113
continue Statements 46
Conventions Used in this Manual 1

D

Data Types
Boolean 16
Floating-point 15
Integer 14
String 15
Declarations
Variables 12
Device 113
Dialogs library
alert 103
confirm 104

E

elementAt, String library 69
elements, String library 70
Empty Statements 40
escapeString, Url library 83
exit, Lang library 51
Expressions 33
Expression Statements 40
External file
Pragmas 17
External Functions 37

F

find,String library 71
float, Lang library 52
Floating-point Literals 6
Float library
ceil 62
floor 62
int 63
maxFloat 15, 63
minFloat 15, 64
pow 64
round 65
sqrt 65
floor, Float library 62
for Loop 44
format, String library 72, 73
for Statements 44
Function Calls 36
Functions
External 37
Library 38
Local script 36

G

getBase, Url library 84
getCurrentCard, WMLBrowser library 96
getFragment, Url library 84
getHost, Url library 85
getParameters, Url library 86
getPath, Url library 87
getPort, Url library 88
getQuery, Url library 89
getReferer, Url library 89
getScheme, Url library 90
getVar, WMLBrowser library 97
go, WMLBrowser library 98

H

Hexadecimal Integer Literals 5
HTML 1
HyperText Markup Language (HTML) 1

I

if Statements 43
insertAt, String library 74
int, Float library 63
Integer Literals 5
Invalid Literals 8
isEmpty, String library 75
isFloat, Lang library 52
isInt, Lang library 53
isValid, Url library 91
isvalid Operator 33

J

JavaScript 113

K

Keyword
var 12

L

Lang library
abort 50
abs 50
characterSet 51
exit 51
float 52
isFloat 52
isInt 53
max 54
maxInt 14, 55
min 55
minInt 14, 56
parseFloat 57
parseInt 58
random 59
seed 60
length, String library 75
Libraries
Notational conventions 48
Library Functions 38
Lifetime
Variables 12
Line Comments 4
Literals
Boolean 8
Floating-point 6
Hexadecimal Integer 5
Integer 5
Invalid 8
Octal Integer 5
String 7
loadString, Url library 92
Local Script Functions 36
Logical Operators 26
Loops
for 44
while 43

M

max, Lang library 54
maxFloat, Float library 15, 63
maxInt, Lang library 14, 55
Meta-information
HTTP Equiv 20
Name 19
User Agent 20
min, Lang library 55
minFloat, Float library 15, 64
minInt, Lang library 14, 56

N

newContext, WMLBrowser library 98
Notational conventions
Libraries 48

O

Octal Integer Literals 5
Operators
Arithmetic 23
Array 30
Assignment 22
Comma 31
Comparison 28
Comparisons 24
Conditional 31
isvalid 33
Logical 26
String 27
typeof 32
Origin Server 113

P

parseFloat, Lang library 57
parseInt, Lang library 58
Persistence
Variables 12
pow, Float library 64
prev, WMLBrowser library 99
print, Console library 107
println, Console library 107
prompt, Dialogs library 105

R

random, Lang library 59
refresh, WMLBrowser library 100
removeAt, String library 76
replace, String library 77
replaceAt, String library 78
Reserved Words 9
resolve, Url library 93
Resource 113
return Statements 46
round, Float library 65

S

Scope
Variables 12
seed, Lang library 60
Server 113
setVar, WMLBrowser library 101
sqrt, Float library 65
squeeze, String library 79
Statements
Block 41
break 45
Compound 41
continue 46
Empty 40
Expression 40
for 44
if 43
return 46
Variable 42
while 43
String library
chartAt 67
compare 68
elementAt 69
elements 70
find 71
format 72, 73
insertAt 74
isEmpty 75
length 75
removeAt 76
replace 77
replaceAt 78
squeeze 79
subString 80
toString 81
trim 81
String Literals 7
String Operators 27
subString, String library 80

T

toString, String library 81
trim, String library 81
typeof Operator 32

U

unescapeString, Url library 94
Uniform Resource Locator (URL) 17, 18
URL 17, 18
Url library
escapeString 83
getBase 84
getFragment 84
getHost 85
getParameters 86
getPath 87
getPort 88
getQuery 89
getReferer 89
getScheme 90
isValid 91
loadString 92
resolve 93
unescapeString 94
use meta http equiv (Pragma) 20
use meta name (Pragma) 19
use meta user agent (Pragma) 20
User 113
User agent 113
use url (Pragma) 37

V

Variables
Access 13
Declaration 12
Scope and Lifetime 12
Variable Statements 42
var Keyword 12

W

Web server 114
while Loop 43
while Statement 43
Wireless Markup Language (WML) 1, 114
Wireless Session Protocol (WSP) 20
WML 1, 114
WMLBrowser library
getCurrentCard 96
getVar 97
go 98
newContext 98
prev 99
refresh 100
setVar 101
World Wide Web (WWW) 1
WWW 1

[Cover] [Previous Section] [Next Section] [Index]


Part Number DKWS-41-002, UP.SDK Release 4.1, December 2000

Copyright © 1994-2000 Openwave Systems Inc. All rights reserved.
Please send comments and questions to sdk-doc-comments@openwave.com.