Use of Square Brackets in filenames
Posted: Thu Apr 28, 2011 3:26 pm
Hi Andreas,
Spotted a bug, if you do something like this:
If a filename stored in the string contains a [ or ] I get an HollywoodPlayer error: Text format tag after square bracket not recognized.
I stumbled across this error by accident whilst navigating through a file lister I am producing, directory was full of ADFs and some contain these pair of brackets. I cannot see a way around this problem at a coder's end.
On a similar trail of thought is it possible to Trap HollywoodPlayer errors at all? Can't find anything in the documentation. Foreinstance handling uninitialised arrays often throws up an exception, it would be nice to contain these.
Spotted a bug, if you do something like this:
Code: Select all
createtextobject(x,files$[x-1], #LEFT, 270)
I stumbled across this error by accident whilst navigating through a file lister I am producing, directory was full of ADFs and some contain these pair of brackets. I cannot see a way around this problem at a coder's end.
On a similar trail of thought is it possible to Trap HollywoodPlayer errors at all? Can't find anything in the documentation. Foreinstance handling uninitialised arrays often throws up an exception, it would be nice to contain these.