On 19/1/02 11:41 am, Almesj� Niklas <[EMAIL PROTECTED]> wrote:

> Is there any way to check if a path is relative or
> absolute? On windows I think an absolute path always
> contain a ":", and a relative can not contain ":". But on
> Mac.. an absolute path does not contain ":". Anything else
> you can check for?
> any ideas appreciated,

You're right about Windows, and on the Mac and other platforms (not Windows)
check for a leading slash.

Kevin

Kevin Miller <[EMAIL PROTECTED]> <http://www.runrev.com/>
Runtime Revolution Limited - Power to the Developer!
Tel: +44 (0) 870 747 1165.  Fax: +44 (0)1639 830 707.

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to