Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Directory

From: joel:neely:fedex at: 14-Jan-2004 9:38

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