Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 221 lines (217 sloc) 3.374 kB
674776b @fperrad now Copyright Parrot Foundation
authored
1 # Copyright (C) 2006-2009, Parrot Foundation.
1f8d77c [WMLScript]
fperrad authored
2 # $Id$
3
66a14d1 [WMLScript]:
fperrad authored
4 #
5 # First, standard part
6 #
7 # see : WMLScript Standard Libraries Specification, WAP-194-WMLSL-20000925-a
8 @Lang 0
9 abs 0 1
10 min 1 2
11 max 2 2
12 parseInt 3 1
13 parseFloat 4 1
14 isInt 5 1
15 isFloat 6 1
16 maxInt 7 0
17 minInt 8 0
18 float 9 0
19 exit 10 1
20 abort 11 1
21 random 12 1
22 seed 13 1
23 characterSet 14 0
24 #
25 @Float 1
26 int 0 1
27 floor 1 1
28 ceil 2 1
29 pow 3 2
30 round 4 1
31 sqrt 5 1
32 maxFloat 6 0
33 minFloat 7 0
34 #
35 @String 2
36 length 0 1
37 isEmpty 1 1
38 charAt 2 2
39 subString 3 3
40 find 4 2
41 replace 5 3
42 elements 6 2
43 elementAt 7 3
44 removeAt 8 3
45 replaceAt 9 4
46 insertAt 10 4
47 squeeze 11 1
48 trim 12 1
49 compare 13 2
50 toString 14 1
51 format 15 2
52 #
53 @URL 3
54 isValid 0 1
55 getScheme 1 1
56 getHost 2 1
57 getPort 3 1
58 getPath 4 1
59 getParameters 5 1
60 getQuery 6 1
61 getFragment 7 1
62 getBase 8 0
63 getReferer 9 0
64 resolve 10 2
65 escapeString 11 1
66 unescapeString 12 1
67 loadString 13 2
68 #
69 @WMLBrowser 4
70 getVar 0 1
71 setVar 1 2
72 go 2 1
73 prev 3 0
74 newContext 4 0
75 getCurrentCard 5 0
76 refresh 6 0
77 #
78 @Dialogs 5
79 prompt 0 2
80 confirm 1 3
81 alert 2 1
82 # see : WMLScript Crypto Library, WAP-161-WMLScriptCrypto-20010620-a
83 @Crypto 6
84 signText 16 4
85 # see : EFI Framework, WAP-231-EFI-20010511-a
86 # (External Functionality Interface)
87 @efi 7
88 set 0 3
89 get 1 2
90 getFirstName 2 1
91 getNextName 3 2
92 getAllAttributes 4 1
93 getAttribute 5 2
94 getClassProperty 6 2
95 getUnits 7 1
96 query 8 1
97 invoke 9 3
98 call 10 3
99 status 11 1
100 control 12 3
101 # see : WAP Persistent Storage Interface, WAP-227-PSTOR-20010530-a
102 @Pstor 9
103 enum 0 2
104 getStatus 1 0
105 create 2 2
106 remove 3 1
107 getAttribute 4 2
108 setAttribute 5 3
109 getDataSize 6 1
110 getData 7 3
111 setData 8 3
112 setDataSize 9 2
113 #
114 # Second, telephony part
115 #
116 # see : WAP Wireless Telephony Application Interface, WAP-268-WTAI-20010715-p
117 @WTAPublic 512
118 makeCall 0 1
119 sendDTMF 1 1
120 addPBEntry 2 2
121 #
122 @WTAVoiceCall 513
123 setup 0 2
124 accept 1 2
125 release 2 1
126 sendDTMF 3 2
127 callStatus 4 2
128 list 5 1
129 #
130 @WTANetText 514
131 send 0 2
132 list 1 2
133 remove 2 1
134 getFieldValue 3 2
135 markAsRead 4 1
136 #
137 @WTAPhoneBook 515
138 write 0 3
139 search 1 2
140 remove 2 1
141 getFieldValue 3 2
142 change 4 3
143 #
144 @WTACallLog 519
145 dialled 0 1
146 missed 1 1
147 received 2 1
148 getFieldValue 3 2
149 #
150 @WTAMisc 516
151 setIndicator 0 2
152 endContext 1 0
153 getProtection 2 0
154 setProtection 3 1
155 # see : WTAI GSM Specific Addendum, WAP-255-WTAIGSM-20010710-p
156 @WTAGSM 518
157 hold 0 1
158 retrieve 1 1
159 transfert 2 2
160 deflect 3 2
161 multiparty 4 0
162 separate 5 1
163 sendUSSD 6 4
164 netinfo 7 1
165 callWaiting 8 1
166 sendBusy 9 1
167 # see : WTAI ANSI 136 Specific Addendum, WAP-269-WTAIIS136-20010710-p
168 @WTAANSI136 517
169 sendFlash 0 2
170 sendAlert 1 2
171 # see : WTAI PDC Specific Addendum, WAP-270-WTAIPDC-20010714-p
172 @WTAPDC 520
173 hold 0 1
174 retrieve 1 1
175 transfert 2 2
176 deflect 3 2
177 multiparty 4 0
178 separate 5 1
179 # see : WTAI IS-95 Specific Addendum, WAP-228-WTAIIS95-20010710-p
180 @WTAIS95 521
181 sendText 0 6
182 cancelText 1 1
183 sendAck 2 1
184 #
185 # Third, private part
186 #
187 # see : Nokia WML Script Reference, Version 1.1 September 1999
188 # Appendix B: WMLScript non-standard library
189 @Debug 98
190 # Warning : Nokia's proprietary extension, ID not documented
191 openFile 0 2
192 closeFile 1 0
193 println 2 1
194 # see : WMLScript Reference UP.SDK R4.B3 - October 1999
195 @Console 99
196 # Warning : Phone.com specific, ID not documented
197 print 0 1
198 println 1 1
199
200 @Buffer 32768
201 length 0 1
202 isEmpty 1 1
203 create 2 1
204 fill 3 2
205 subBuffer 4 3
206 copyAt 5 3
207 fillAt 6 4
208 fromInt8 7 1
209 fromInt16 8 1
210 fromInt32 9 1
211 fromUint8 10 1
212 fromUint16 11 1
213 fromString 12 2
214 toInt8 13 2
215 toInt16 14 2
216 toInt32 15 2
217 toUint8 16 2
218 toUint16 17 2
219 dumpHexa 18 1
220
Something went wrong with that request. Please try again.