Re: integers and arrays in Java - how?
- From: Randy Webb <HikksNotAtHome@xxxxxxx>
- Date: Fri, 31 Mar 2006 11:12:58 -0500
Robert Baer said the following on 3/31/2006 6:28 AM:
Randy Webb wrote:
Thomas 'PointedEars' Lahn said the following on 3/30/2006 12:42 PM:Incorrect; the info explained why i had so much trouble.
RobG wrote:
Robert Baer wrote:
But "int" not only does not work, it also prevents reading X and Y coordinates of the mouse.
There is no 'int' type in JavaScript. Variables are typeless, their
values have types.
Not quite true. There is an `int' type, and variables can be strictly
typed, in JavaScript 2.0. However, that is not implemented in a browser
yet.
And as such, even mentioning it is useless other than a waste of bandwidth and time for anybody who reads it.
You had trouble because you were using, or attempting to use, a feature that is not part of the language. Not because of a feature that might be in a future release of the language unless you were reading a draft copy of JavaScript2.0 in which case you should have known it wasn't in use yet.
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
.
- References:
- integers and arrays in Java - how?
- From: Robert Baer
- Re: integers and arrays in Java - how?
- From: RobG
- Re: integers and arrays in Java - how?
- From: Thomas 'PointedEars' Lahn
- Re: integers and arrays in Java - how?
- From: Randy Webb
- Re: integers and arrays in Java - how?
- From: Robert Baer
- integers and arrays in Java - how?
- Prev by Date: Re: How to check progress of XMLHTTPRequest?
- Next by Date: Re: video
- Previous by thread: Re: integers and arrays in Java - how?
- Next by thread: Re: integers and arrays in Java - how?
- Index(es):
Relevant Pages
|