Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

$ in identifiers?!?  RSS feed

 
Leandro Oliveira
Ranch Hand
Posts: 298
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there any problem with using $ in identifiers??? I know jls states that _ and $ can be used but somebody (not here, in the forum) said it is problematic!! is it true???
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
shouldn't be....
this code works fine and dandy:

*Note the characters when printed out might not be displayed correctly in the command window -- this isn't a problem of the program, but of the command window.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!