Briefly describe type of and isvalid operators



Briefly describe type of and isvalid operators..

Answer / rakhi aul

isvalid:- Isvalid is a operator whic returns the true value if a URL has right syntax,and also returns a false if URL has wrong syntax.

in other word we can say that,
The isvalid operator is used to test the validity of a variable or the result type of executing an expression. A boolean value is returned to denote the results of the test. A true is returned if the variable or result type is valid. A false is returned if the variable or result type is invalid.
Do not confuse this operator with the URL.isValid function which is used to validate the syntax of a URL address string.

The classic case of an invalid result type for an expression is dividing by zero. In this example, as expected, the isvalid operator returns a false.
Type of:-The typeof operator is used to determine the type of a given expression. An integer is returned that defines the type.

There are five types recognized by WMLScript:

Type Integer
Integer 0
Floating-point 1
String 2
Boolean 3
Invalid 4

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Engineering AllOther Interview Questions

Why it is a preferable option in parallelextender development ?

0 Answers  


How would you design a gravity dam for holding back water?

0 Answers  


what is major differnet between hub and switch and also defferent between router and switch

0 Answers   ACS,


what is ads

2 Answers   HP,


hi friends.... i want do telecom course, iam getting confused. plz tell me courses and levels in that field. iam fresher B.E ECE student. and plz tell institutes in hydrabad or bangalure.

0 Answers  






what is the difference between C and C++? what is the difference between scanf and gets? what is mean by extern what is the use of it? what will happen if i say delete this> Difference between C structure and C++ structure? What is the difference between overloading and overridding? Explain the need for "virtual Destructor" Can we have "virtual Constructors"? What is the different types of polymorphism> What is virtual functions? How to implement virtual function in "C"? What are the different types of storage classes?

0 Answers  


what is the best part of your life ?

1 Answers  


I have Job A and Job B in jcl. I want to trigger Job B from Job A. Please advise.

0 Answers   TCS,


differance between impedance relay,mho relay, reactance relay in detail

8 Answers   Ecil, GATE,


synchronous and asynchronous transmission

0 Answers  


Elements can be added or removed at either end but not in the middle ?

1 Answers  


Paul the octopus who has been forecasting the outcome of FIFA world cup matches with tremendous accuracy has now been invited to predict ICC world cup matches in 2011. We will assume that the world cup contenders have been divided into 2 groups of 9 teams each. Each team in a group plays the other teams in the group. The top two teams from each group enter the semi finals ( after which the winner is decided by knockout). However, Paul has a soft spot for India and when India plays any team, Paul always backs India. Alas, his predictions on matches involving India are right only 2 out of 3 times. In order to qualify for the semi finals, it is sufficient for India to win 7 of its group matches. What is the probability that India will win the ICC world cup?

1 Answers   TCS,


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4451)
  • Electrical Engineering Interview Questions Electrical Engineering (16632)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)