exercism / euphoria

Exercism exercises in Euphoria.
https://exercism.org/tracks/euphoria
MIT License
3 stars 7 forks source link

path separators #78

Closed petelomax closed 3 months ago

petelomax commented 3 months ago

I used include std\sequence.e on the Windows CLI but once uploaded it needs to be include std/sequence.e

Thankfully the latter works fine on both: should that be mentioned anywhere?

ghaberek commented 3 months ago

The manual suggests using forward slash for compatibility. I recommend always using forward slash for include paths and leaving out quotes unless the path contains spaces, in which case I recommend removing the spaces from the directory name, if possible.

Note that under Windows, you can also use the forward slash '/' instead of the usually back-slash '\'. By doing this, the file paths are compatible with Unix systems and it means you don't have to 'escape' the back-slashes.