yes all file i/o need file specifications of type file!

-MAx
---
"You can either be part of the problem or part of the solution, but in the end, being 
part of the problem is much more fun."
 

> -----Original Message-----
> From: Chris Siegle [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 14, 2004 11:22 AM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] Re: Directory
> 
> 
> 
> Does the same hold true for write/binary?
> 
> Example:
> 
> Temp: "FILENAME.TXT"
> 
> write/binary Temp data
> 
>  
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> On Behalf Of
> Joel Neely
> Sent: Wednesday, January 14, 2004 10:39 AM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] Re: Directory
> 
> 
> Hi, Chris,
> 
> Chris Siegle wrote:
> > Why is it I cannot make a directory from an assigned variable name?
> > 
> > testVariable: "12312323"
> > 
> > make-dir %testVariable
> 
> The argument to MAKE-DIR should be a FILE! or URL! value, not a
> STRING! value.
> 
>      >> ? make-dir
>      USAGE:
>          MAKE-DIR path /deep
> 
>      DESCRIPTION:
>           Creates the directory structure specified.
>           MAKE-DIR is a function value.
> 
>      ARGUMENTS:
>           path -- (Type: file url)
> 
>      REFINEMENTS:
>           /deep
> 
>      (SPECIAL ATTRIBUTES)
>           catch
> 
> therefore,
> 
>      testVariable: "12312323"
>      make-dir to-file testVariable
> 
> should work for you (assuming you have write permissions in the
> current directory).
> 
> -jn-
> 
> -- 
> ----------------------------------------------------------------------
> Joel Neely            joelDOTneelyATfedexDOTcom           901-263-4446
> 
> Enron Accountingg in a Nutshell: 1c=$0.01=($0.10)**2=(10c)**2=100c=$1
> 
> -- 
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the subject.
> 
> -- 
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the subject.
> 
> 

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to