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

write a program to accept 2 numbers from user calculate sum of each digit,reverse the orignal number and display

2 Answers  


what do you mean by CPU register?

0 Answers  


Name all parameters for virtual private networks. what are different metrics of virtual private networks

0 Answers  


How small can you make a computer? What are the limiting factors?

0 Answers  


how i run the assembly language code

0 Answers  






Differentiate between data base and data mart?

0 Answers   TCS,


i can access command prompt in my pc. when i type cmd in run,message comes-you are restricted.contact admin. why is it so? how can acces it by just logging in as a user and not as admin.?????

0 Answers  


Tell me about a major problem you recently handled. Were you successful in resolving it? in petroleum side ?

0 Answers   Byco,


Explain Belady's Anomaly.

0 Answers  


1. Design a counter which counts 0, 4, 8, 2, 6, and repeats using: 1.a using JK flip flops 1.b using T flip flops 1.c using D flip flops 2. Modify your design in question 1.a so that the circuit works according to the following function table X Y F 0 0 Clear 0 1 No Change 1 0 Parallel Loading 1 1 Count 3. Design a circuit that detects the pattern 010 in a serial input X considering: 3.a Overlapping 3.b No overlapping

0 Answers  


Write a program to maintain a singly linked list having the following functions: a) Creation of the list b) Displaying the list. c) Swap all nodes at consecutive even odd positions. E.g.: The nodes at position 1 should be swapped with node 2, node 3 with node 4 and so on.

0 Answers   C DAC, CDAC,


how much the percentile as a good percentile in elitmus.

0 Answers  


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)