Professional Documents
Culture Documents
Jeard>
Value1:
This is the first card in the deck
Value:
Result :
br/>$(answer)
ecept” label=“Result”>
‘cale, wmIs#operation(‘answe! ’,$(amount),'$(operator)’,$(amount2))"/>
‘ow, cale.wmls is the function file, means script which contains all the functions
ss
hichis needed in eale.wml
tem function operation(result,val1,operate,val2)
Scanned with CamScanner18-2017 Sixth Semoator, Mobile Computing
inwavall = vals
1
olso if(operatons’ MULT)
ansevall * val
i
WMLMrow orvotVar(rosult ans);
WML Browse
: '
Q.7. db) What . .
: v Known awa “deck”, Data in the deck is structured into ong
Ans. AWML document
or more “ards” (pages) ~ each of whieh repres
YML docks nro stored on an ordinary wel s
anal NIM type in addition to plain HTML and variants. The WML cards
when requested b Wy a bridge (WAP gateway), which sits between
Inobile devices and the World Wide Wob, passing payes from one to the other much like
f proxy, Tho gateways send tho WML pages on ina form suitable for mobile device
reception (WAT Binary XML). This process is hidden from the phone, so it may access
the paye in the same way as a browser accesses HTML, using a URL (for example, http
fexamplo.com/fun.vmb). (Provided the mobile phone operator has not specifically locked
the phone to provent access of user-specified URLS.)
WML, has a scaled-down set of procedural elements which can be used by the’
author to control navigation to other cards,
Whon a WML page is accessed from a mobile phone, all the cards in the page are
downlonded from the WAP the user goes to another card of the same deck,
the mobile browser does not have to send any requests to the server since the file that
contains the deck is already stored in the wireless device.
__« You ean put links, text, images, input fields, option boxes and many other elements
inneard,
Example: