Re: subroutine to array

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

On Tue, 02 Dec 2008 02:38:45 GMT, QoS@domain.invalid wrote:

Quoted text here. Click to load it
Not sure what you mean by 'subroutine bits'. There is a way
to run dynamically generated code at runtime. And/or there is
a way to store references to subroutines (addresses) into an
array at runtime (the compiler will optimize static occurances
of references), then call them later. There is only compile-time
and run-time code. Interpeter may be a partial misnomer.

That you have created a dynamic array (run-time) means you
can join the elements into a string and pass it to the eval()

If though, you just want to print out subroutines, I don't
(or never heard of) know an internal function that will print
those out. There may be, dunno. I would be suprised though.


Site Timeline