Given input is not tokenized properly
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ganesh_Raman
Posted On:   Monday, September 13, 2004 05:40 AM

I will explain with example: My input string is as follows: "parametername1=value1 parametername2=value2" Now, if i dont give value for any of the parameter it should say value missing for the "parametername". If i give any parameter which is not defined then it should say unknown parameter. Now there are 2 parameters 'name' and 'age'. If my input is nameage=john it should say unknown parameter 'nameage' instead it is saying value missing for the parameter 'name'. Can anyone help me out in this. Thanks in advance Ganz    More>>

I will explain with example:
My input string is as follows:
"parametername1=value1 parametername2=value2"

Now, if i dont give value for any of the parameter it should say value missing for the "parametername".

If i give any parameter which is not defined then it should say unknown parameter.

Now there are 2 parameters 'name' and 'age'.
If my input is
nameage=john
it should say unknown parameter 'nameage'
instead it is saying value missing for the parameter 'name'.

Can anyone help me out in this.

Thanks in advance
Ganz

   <<Less
About | Sitemap | Contact