Access directory relatively
Magistrello Alejandro (SFA)
magistra at TELEFONICA.COM.AR
Mon Aug 5 20:13:12 UTC 2002
>I want to import files from a directory relative to the location of the
>location of the current image/vm.
>
>FileDirectory default directoryNamed: 'whatever'
>
>seems to do what I want.
>
>Questions:
> * Does this work properly cross-platform?
It should, as long you don´t hardcode a pathNameDelimiter
> * Is this location relative to the VM, current image, or something else?
i think its relative to the .changes, but verify this in
FileDirectory>default comments
> * Is there a better way?
>
i can´t tell
>Thanks,
>
>-Eric
Alejandro
More information about the Squeak-dev
mailing list
|