Problems reading from files in the Classic environment

lists at mangomultimedia.com lists at mangomultimedia.com
Thu Oct 23 21:44:08 EDT 2003


> I came across the situation recently where I developed an app under  OS
> X that was destined for delivery under OS 9. Its core
> functionality is to read and display a series of html files. To
> ensure interoperability, the path to these files is constructed using
> the apps filename, environment and platform.
>
> The app works fine when running under OS X and OS 9 but fails when
> running in the Classic environment. When I say fails, it starts up  OK,
> it's just that it doesn't actually read any data from the
> requested files. Thinking that it was a path issue, I queried the
> existence of the files at the requested paths (if there is a file
> <filePath>), presuming that the problem was path related. The answer
> was true but the data was none! Same response even if I resorted to
> using the answer file dialog.
>
> Am I missing something basic here or is this a real problem?

I think this is an actual problem.  I was looking at a project today that
exhibited the same problem.  Works fine in OS X.2.8 and fine in OS 9 but
in Classic it fails to read the file.  This was using the get url method
rather than open file.

-- 
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com




More information about the Use-livecode mailing list