Quote Originally Posted by de_jean_7777 View Post
Or you could use the DirectorySeparator constant.
e.g.
Code:
LoadImage('resources'+DirectorySeparator+'visual'+DirectorySeparator+'Ring.png');
Sure, the constants identifier is a bit long, but it makes paths portable accross any platform.
this can sort of be compensated by just making your own local variable...
Code:
var
  dslash : String = DirectorySeparator;
I'm sure you can't assign values from variables inside a const statement. And if this form of assignment doesn't work, which I think I remember it can, only if it's a global variable not a local variable inside a function of procedure.