stackFiles BUG?

J. Landman Gay jacque at hyperactivesw.com
Fri Apr 9 12:41:25 EDT 2004


On 4/9/04 7:49 AM, Kevin wrote:

> 
> In the current release of Revolution one can set the "stackFiles" property via the Property Inspector the format of entries created is
> 
> <short name>,<long name><return>
> 
> this is also true when it is accessed via transcript using 
> 
> "get the stackFiles of stack XXXX"
> 
> However, when the stackFiles property is set via transcript one must specify using list format.  The entries created are not listed in the property inspector.  So any code accessing the stackFiles property must replace return with comma to get a consistant behavior.
> 
> List format <long name>,<long name>,<long name> 
> 
> Is this a BUG? 

I'm not sure what you are seeing. I just tried an experiment. I put this 
into a field:

dict,components/help/revdictionary.rev
doc,components/help/revdocumentation.rev
enc,components/help/revencyclopedia.rev

Then from the message box:

   set the stackfiles of this stack to fld 1

Then again from the message box:

  answer the stackfiles of this stack

And what I got back was a return-delimited list exactly as it was in the 
field. I could just as easily have constructed the original list in a 
variable without using a field.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


More information about the use-livecode mailing list