ODBiC Discussion Board


RE: Dynamic directories for $createfile() and $renamefile() ??, David Richardson, 11-29-2004

Are you getting a "non-numeric expression" error?

by Roger Harris, November 29, 2004 14:51

Function arguments are evaluated as arithmetic expressions unless special operation characters like "/" are in quotes. Even though it's only required for any special characters, it's generally good practice to put everything except variable references in quotes. Try this:

<% SET thisfile=$renamefile($tempfile$,"/"$directory_name$"/tempfile.csv") %>


Replies:


Post Your Reply:

Name   
E-mail  optional
Topic  
Message:

HTTP Link: 
Link text: 

          


Copyright ©1997-2003, Roger Harris. All rights reserved.