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.

Reply via email to