Results 1 to 4 of 4
Thread: Dollar sign in a while statement
- 01-18-2011, 09:04 AM #1
Member
- Join Date
- Jan 2011
- Posts
- 2
- Rep Power
- 0
Dollar sign in a while statement
Hi!
I've just found this snippet..
It's also used again later on:Java Code:while ((s = this.val[COLOR="Red"][B]$[/B][/COLOR]reader.readLine()) != null)
And I'm wondering what the dollar sign up there does.Java Code:FFVideoSnapshotParser.access[COLOR="Red"][B]$0[/B][/COLOR]().logNewLine(s);
I've Googled this for a while but haven't found anything.. (Google doesn't search for the dollar sign and a literal "dollar sign" search turns up different thigns on the whole.
Thanks!
- 01-18-2011, 09:33 AM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,375
- Blog Entries
- 7
- Rep Power
- 17
A dollar sign is a valid identifier character (as all monetary unit characters are). I don't find them very readable.
kind regards,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
- 01-18-2011, 10:24 AM #3
Member
- Join Date
- Jan 2011
- Posts
- 2
- Rep Power
- 0
Then what is the use of the dollar sign here? I'm quite sure it does not represent a monetary value in this scenario.
- 01-18-2011, 11:01 AM #4
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,375
- Blog Entries
- 7
- Rep Power
- 17
When people rob a bank they get a penalty; when banks rob people they get a bonus.
Similar Threads
-
the @sign
By dinosoep in forum New To JavaReplies: 2Last Post: 03-28-2010, 11:07 AM -
problem sending Dollar symbol in SMS
By neerajsaxena in forum Advanced JavaReplies: 1Last Post: 01-28-2010, 06:37 PM -
sign finder
By iPetey in forum New To JavaReplies: 6Last Post: 05-01-2009, 05:24 AM -
How To self sign applet
By Chintan Patel in forum Java AppletsReplies: 1Last Post: 03-16-2009, 02:31 PM -
the dollar sign "$", prints like any other normal char in java like "a" or "*" ?
By lse123 in forum New To JavaReplies: 1Last Post: 10-20-2008, 07:35 AM


LinkBack URL
About LinkBacks


Bookmarks