Bug report: inappropriate error message in imgFileRef()

Michael 'Mickey' Sattler michael at GeekTimes.com
Fri Aug 3 17:26:14 PDT 2001


If the imgFolder parameter specifies a non-existent folder 
imgFileRef() reports - incorrectly - that the image file can't be 
found in the folder, rather than saying that the folder doesn't exist.

For example,

{imgFileRef("foo.jpg", imageFolder:"hd:images")}

reports

[Macro error: imgFileRef: Can't continue because there is no file 
named foo.jpg in the folder 'hd::images'.]

while adding a colon to the end of the string makes everything better.

-- 
Michael "Mickey" Sattler, Geek Times   <mailto:michael at GeekTimes.com>
San Francisco, California, USA    <http://www.GeekTimes.com/michael/>

I was born not knowing and have had only a little time to change that here
and there. -- Richard Feynman (1918 - 1988)




More information about the Frontier-Users mailing list