|
![](/i/fill.gif) |
It's quite possible.
Use file i/o to generate an .inc file, then include
it.
But it would get ugly....
Dan
Wayne Gordon wrote:
>
> Ronald L. Parker wrote:
> >
> > On Sat, 24 Oct 1998 18:19:12 -0500, Wayne Gordon <way### [at] phoenix net>
> > wrote:
> >
> > >> or, alternatively, some way to convert strings to identifiers, like
> > >> this:
> > >
> > >Impossible.
> >
> > Not impossible. Just not useful except as a workaround for the lack
> > of other data types. For examples of languages that can do this (but
> > in which most people wisely choose not to) see Perl or Lisp and look
> > at the 'eval' function.
>
> I meant that it was impossible to do in POV's scripting language
> right now, not necessarily impossible in another language. POV can
> convert the contents of a string to a numerical value and assign
> that value to a variable, but it is not possible to convert a string
> to an identifier as was asked.
--
http://www.flash.net/~djconnel/
Post a reply to this message
|
![](/i/fill.gif) |