>
New Topic
>
Reply<
Esato Forum Index
>
General discussions >
Non mobile discussion
> wml function error
Bookmark topic
i need help in this error in wml
every time i tray to ran this code it display this message
Start tag expected, '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 );
}
--
Posted: 2008-06-19 19:36:25
Edit :
Quote
New Topic
Reply