On Jun 6, 2006, at 2:08 PM, Josh Mellicker wrote:
I'm going to ask some dumb questions, I am still fuzzy on paths and
some basic variable issues:
After this:
answer file "locate the .htm file for me please" as sheet
put it into htmPathFile
if i put:
put URL "file:" & htmPathFile into fld "htm"
this results in the path & filename going in the field, not the
contents of the file.
----
2.
but this:
put "file:" & htmPathFile into tFile
put URL tFile into fld "htm"
results in the actual text content of that file being put in.
----
I don't understand why they are different?!?
Josh,
This is a quirk that has gotten many of us at some time. The problem
is the order in which rev resolves parts of the statement. Try this:
put URL ("file:" & & htmPathFile into fld "htm")
That forces the file name to be resolved before the put URL part of
the statement.
Devin
Devin Asay
Humanities Technology and Research Support Center
Brigham Young University
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution