#
# First, standard part
#
# see : WMLScript Standard Libraries Specification, WAP-194-WMLSL-20000925-a
@Lang 0
abs 0 1
min 1 2
max 2 2
parseInt 3 1
parseFloat 4 1
isInt 5 1
isFloat 6 1
maxInt 7 0
minInt 8 0
float 9 0
exit 10 1
abort 11 1
random 12 1
seed 13 1
characterSet 14 0
#
@Float 1
int 0 1
floor 1 1
ceil 2 1
pow 3 2
round 4 1
sqrt 5 1
maxFloat 6 0
minFloat 7 0
#
@String 2
length 0 1
isEmpty 1 1
charAt 2 2
subString 3 3
find 4 2
replace 5 3
elements 6 2
elementAt 7 3
removeAt 8 3
replaceAt 9 4
insertAt 10 4
squeeze 11 1
trim 12 1
compare 13 2
toString 14 1
format 15 2
#
@URL 3
isValid 0 1
getScheme 1 1
getHost 2 1
getPort 3 1
getPath 4 1
getParameters 5 1
getQuery 6 1
getFragment 7 1
getBase 8 0
getReferer 9 0
resolve 10 2
escapeString 11 1
unescapeString 12 1
loadString 13 2
#
@WMLBrowser 4
getVar 0 1
setVar 1 2
go 2 1
prev 3 0
newContext 4 0
getCurrentCard 5 0
refresh 6 0
#
@Dialogs 5
prompt 0 2
confirm 1 3
alert 2 1
# see : WMLScript Crypto Library, WAP-161-WMLScriptCrypto-20010620-a
@Crypto 6
signText 16 4
# see : EFI Framework, WAP-231-EFI-20010511-a
# (External Functionality Interface)
@efi 7
set 0 3
get 1 2
getFirstName 2 1
getNextName 3 2
getAllAttributes 4 1
getAttribute 5 2
getClassProperty 6 2
getUnits 7 1
query 8 1
invoke 9 3
call 10 3
status 11 1
control 12 3
# see : WAP Persistent Storage Interface, WAP-227-PSTOR-20010530-a
@Pstor 9
enum 0 2
getStatus 1 0
create 2 2
remove 3 1
getAttribute 4 2
setAttribute 5 3
getDataSize 6 1
getData 7 3
setData 8 3
setDataSize 9 2
#
# Second, telephony part
#
# see : WAP Wireless Telephony Application Interface, WAP-268-WTAI-20010715-p
@WTAPublic 512
makeCall 0 1
sendDTMF 1 1
addPBEntry 2 2
#
@WTAVoiceCall 513
setup 0 2
accept 1 2
release 2 1
sendDTMF 3 2
callStatus 4 2
list 5 1
#
@WTANetText 514
send 0 2
list 1 2
remove 2 1
getFieldValue 3 2
markAsRead 4 1
#
@WTAPhoneBook 515
write 0 3
search 1 2
remove 2 1
getFieldValue 3 2
change 4 3
#
@WTACallLog 519
dialled 0 1
missed 1 1
received 2 1
getFieldValue 3 2
#
@WTAMisc 516
setIndicator 0 2
endContext 1 0
getProtection 2 0
setProtection 3 1
# see : WTAI GSM Specific Addendum, WAP-255-WTAIGSM-20010710-p
@WTAGSM 518
hold 0 1
retrieve 1 1
transfert 2 2
deflect 3 2
multiparty 4 0
separate 5 1
sendUSSD 6 4
netinfo 7 1
callWaiting 8 1
sendBusy 9 1
# see : WTAI ANSI 136 Specific Addendum, WAP-269-WTAIIS136-20010710-p
@WTAANSI136 517
sendFlash 0 2
sendAlert 1 2
# see : WTAI PDC Specific Addendum, WAP-270-WTAIPDC-20010714-p
@WTAPDC 520
hold 0 1
retrieve 1 1
transfert 2 2
deflect 3 2
multiparty 4 0
separate 5 1
# see : WTAI IS-95 Specific Addendum, WAP-228-WTAIIS95-20010710-p
@WTAIS95 521
sendText 0 6
cancelText 1 1
sendAck 2 1
#
# Third, private part
#
# see : Nokia WML Script Reference, Version 1.1 September 1999
#       Appendix B: WMLScript non-standard library
@Debug 98
# Warning : Nokia's proprietary extension, ID not documented
openFile 0 2
closeFile 1 0
println 2 1
# see : WMLScript Reference UP.SDK R4.B3 - October 1999
@Console 99
# Warning : Phone.com specific, ID not documented
print 0 1
println 1 1

@Buffer 32768
length 0 1
isEmpty 1 1
create 2 1
fill 3 2
subBuffer 4 3
copyAt 5 3
fillAt 6 4
fromInt8 7 1
fromInt16 8 1
fromInt32 9 1
fromUint8 10 1
fromUint16 11 1
fromString 12 2
toInt8 13 2
toInt16 14 2
toInt32 15 2
toUint8 16 2
toUint16 17 2
dumpHexa 18 1

