This site requires JavaScript, please enable it in your browser!
Greenfoot back
Dev_grey97
Dev_grey97 wrote ...

2020/11/19

Does Greenfoot require a fileSeperator, when working on different OS?

Dev_grey97 Dev_grey97

2020/11/19

#
I am working together with some people on a Greenfoot project and they use a differen OS. Do I need to code a file Seperator via System.getProperty("file.seperator")?
Super_Hippo Super_Hippo

2020/11/19

#
As long as you stick to relative paths, you shouldn’t need it. Well, I guess... I never used anything other than Windows, but I also didn’t come across problems like that here in the discussions at all.
You need to login to post a reply.