spacer
Yehuda Shiran June 14, 2000
WMLScript's invalid Literal
Tips: June 2000

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
Google Going Native With Chrome
Mozilla Fixes Firefox Flaws as 3.5 Release Nears
Microsoft and Novell Still Bosom Buddies

WMLScript supports several literals that are not included in JavaScript. The invalid value is one of them. When you divide a number by zero, you get the invalid value. You also get it if an operation results in a floating-point number that is not part of the set of finite real numbers supported by the single-precision floating-point format. In fact, any data type conversion failure results in a returned value of invalid. Most of WMLScript's 70 functions return invalid in case of error.

For more on WMLScript, go to WMLScript Primer.


People who read this tip also read these tips:

Look for similar tips by subject:

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
XML and PHP Simplified · Creating a ASP.NET Contact Form · Data Filtering with PHP
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Intel to Host Live Nehalem Q&A · 12 Tips to Troubleshoot Network File-Sharing · 10 Tips for Selling on Kijiji