Stack Directory?

Chipp Walters chipp at chipp.com
Wed Sep 11 21:19:00 EDT 2002


Klaus (or other),

Why do you use "effective filename" instead of just "filename"??

-Chipp

> -----Original Message-----
> From: metacard-admin at lists.runrev.com
> [mailto:metacard-admin at lists.runrev.com]On Behalf Of Klaus Major
> Sent: Wednesday, September 11, 2002 8:05 AM
> To: metacard at lists.runrev.com
> Subject: Re: Stack Directory?
> 
> 
> Bonjour Domi,
> 
> > I have stack with a "scores" field.
> > I want to write the scores to a text file *in the same folder*
> > Is it possible to get the directory property for a stack, i.e. the 
> > folder in which it resides?
> 
> Mais oui, mon ami :-)
> 
> C'est tres simple...
> 
> ...
> put the effective filename of this stack into fn
> set the itemdel to "/"
> delete item -1 of fn
> put "/" after fn
> ...
> 
> et voila, fn now holds the actual folder.
> 
> Do this at openstack and store it in a global var or
> in a custom property.
> 
> Then you can build your "high-score" string like:
> ...
> global the_stored_directory
> put xxxx into url("file:" & the_stored_directory & "the_scores.abc")
> ...
> 
> or with a custom prop:
> ...
> put xxxx into url("file:" & the_stored_directory of this stack & 
> "the_scores.abc")
> 
> > Anyway, I have a "answer folder" command, but I want to avoid it...
> > -- 
> > Regards,
> > Dominique
> 
> Au revoir
> 
> Klaus Major
> klaus.major at metascape.org
> 
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
> 



More information about the metacard mailing list