FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   JLS and Array accessor prefixes
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: JLS and Array accessor prefixes  (Read 356 times)
benelek

35160983516098 WWW Email
JLS and Array accessor prefixes
« on: Feb 25th, 2003, 8:18am »

ive got 2 questions:
 
1. what does the "JLS" stand for, that is referenced to whenever an error is found in some code?
 
2. what does "Array accessor prefix must be an array type but was "{0}" [JLS 10.1]" mean? it's related to a rather lengthy piece of code, so unless someone asks for it i won't post it. the line the error ocurred on is the following short snippet. Code:
thePt[1]=vs[ptNum];

 
thanks,
 
-jacob
 
benelek

35160983516098 WWW Email
Re: JLS and Array accessor prefixes
« Reply #1 on: Feb 25th, 2003, 9:31am »

don't worry about question 2. thanks to Martin for finding a solution for that one
 
Martin

122417302122417302martingomez_listsmg1ph WWW Email
Re: JLS and Array accessor prefixes
« Reply #2 on: Feb 25th, 2003, 5:51pm »

JLS = Java Language Specification
 
fry


WWW
Re: JLS and Array accessor prefixes
« Reply #3 on: Feb 25th, 2003, 9:12pm »

yeah, that's a compiler error bubbling up from kjc. it speaks in terms of java language spec, since presumably that's how they implemented the compiler.
 
benelek

35160983516098 WWW Email
Re: JLS and Array accessor prefixes
« Reply #4 on: Feb 26th, 2003, 9:22am »

does the number correspond to a reference to some specific part of the java spec? if so, how/where can i check out that part of the spec?
 
Martin

122417302122417302martingomez_listsmg1ph WWW Email
Re: JLS and Array accessor prefixes
« Reply #5 on: Feb 26th, 2003, 1:39pm »

http://java.sun.com/docs/books/jls/
 
specific to jls 10.1
http://java.sun.com/docs/books/jls/second_edition/html/arrays.doc.html#2 5518
 
benelek

35160983516098 WWW Email
Re: JLS and Array accessor prefixes
« Reply #6 on: Feb 26th, 2003, 2:10pm »

thanx
 
Pages: 1 

« Previous topic | Next topic »