Welcome to Esato.com
wml function error
Click to view updated thread with images
Posted by EME.NABIL
i need help in this error in wml
every time i tray to ran this code it display this message
Start tag expected, '<' not found
and i tray to solve it but i cant
and this is the code
extern function count()
{
var inputNumber = Dialogs.prompt("Enter a number to be squared", "" );
var numberSquared = square( Lang.parseInt (inputNumber ) );
var outputSquare = inputNumber + "squared is " + numberSquared;
WMLBrowser.setVar( "result1",outputSquare);
WMLBrowser.go( "#result" );
}
function square( y )
{
return ( y * y );
}
Click to view updated thread with images
© Esato.com -
From the Esato mobile phone discussion forum