de en es fr
Let the machine help
Light teasing, exhibition, BDSM, sissyfication, watersports... with sounds and pictures


Post new topic Reply to topic  [ 1 post ] 
Author Message
 Reminder for Groovy, Java, etc. about slashes : / and \
PostPosted: Sat Mar 29, 2014 12:29 pm 
Offline
Site Admin
User avatar
About slashes / and backslashes \ in scripts :

Division
/
Code:
def x = 4 / y


file path
/ (yes even with Ms Windows)
Code:
useFile("mfolder/test.odt")


Special characters in strings
\
Code:
def s = "A quote, an apostroph, a backslash and a new line : \" \' \\ \n "


Top
 Profile Send private message 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010 - 2020
This website uses session cookies only.