Page 1 of 1

bypas an error

Posted: Wed Apr 25, 2012 9:29 am
by xabierpayet
i´m doing a directoryopus like program, but i have a problem with drives, i can add the amiga drives using info command with no problem, but if i compile under windows and i attempt to use (exists c: d: e: ... etc) to add drives if any drive is not found, the program tells an error if any drive is not found an exit, is possible bypass this error for check the drives?

esta=exists("Z:")
if esta=true
....
else
....
endif

Re: bypas an error

Posted: Fri Apr 27, 2012 2:10 pm
by airsoftsoftwair
Not really. You currently can't check available drives on Windows with Hollywood directly. You need to use some external program to do that for you or write a plugin.

Re: bypas an error

Posted: Fri May 04, 2012 9:38 am
by xabierpayet
ok, thanks andreas

Re: bypas an error

Posted: Fri May 04, 2012 1:49 pm
by djrikki
It is an unfortunate situation, this is the downside of trying to keeping Hollywood platform independence. How far do you bend your code to match target platforms? That is the question Andreas is surely faced with. Its all about priorities.

Re: bypas an error

Posted: Sat May 05, 2012 11:28 pm
by xabierpayet
yes it´s true, but i´m sure that andreas can solve this problem, maybe a new plugin can solve this problem.