--- Giles Williams <[EMAIL PROTECTED]> wrote:

> Um, I'm passing it a string, not a FolderItem ( such as
> "path/to/file" )
> 
>   Should it pick this up - and thanks, I've now realised I
> shouldn't  
> be using this :)

Oops, sorry, skimmed your code too quickly.  SaveInfo actually is
a string, so that would explain why the compiler did not object,
however it's only a String because that's the closest RB variable
type to "a chunk of binary data", which is what the SaveInfo
actually is.  So as far as the compiler is concerned, you can
pass any String to GetRelative and it won't care, but at runtime
the GetRelative function will be looking inside that string for a
particular (and undocumented) binary data structure, and if it
doesn't find it, GetRelative will return Nil.


Mark Nutter

Quick and easy regex creation and debugging!
http://www.bucktailsoftware.com/products/regexplorer/

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to