Hi,
I'm interested in getting the name of a file from its path, which I have obtained by using the function stream_property(S,file_name(L)). This function returns in the variable L the absolut path of the file associated with the stream S. The only way I can think how to get the name of the file is by obtaining a list of characters associated with the atom contained in L (the path). The problem is that L variable contains the atom without ' and at the same time contains at least one time the character /. It provokes that no one of the functions atom_chars or atom_codes works.
Can you think of any other way to achive it?
Thanks.
Lorea Galech
============================================================================== Message: Address: Action: help majordomo(a)clip.dia.fi.upm.es Info. on useful commands subscribe ciao-users-request(a)clip.dia.fi.upm.es Subscribe to this list unsubscribe ciao-users-request(a)clip.dia.fi.upm.es Unsubscribe from this list <whatever> ciao-users(a)clip.dia.fi.upm.es Send message to list ----------------------------------------------------------------------------- Archived messages: http://www.clip.dia.fi.upm.es/Mail/ciao-users/ -----------------------------------------------------------------------------