Esato

Forum > General discussions > Non mobile discussion > wml function error

Author wml function error
EME.NABIL
Model not set
Joined: Jun 19, 2008
Posts: 0
PM
Posted: 2008-06-19 19:36
Reply with quoteEdit/Delete This PostPrint this post

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 );
}


Access the forum with a mobile phone via esato.mobi