At 03:18 PM 11/21/2003 -0500, Dan Sugalski wrote:
These could use some documenting (and yes, I know the answer to many) for
future use for folks generating PIR. (Hint, hint -- documentation is a
good thing)

*) How do I declare an externally visible subroutine?

*) How do I store a global variable

*) How do I load a global variable

*) How do I call an external function

*) How do I get the sub pmc for a sub declared later (or earlier) in the
file?

*) How do I (or even can I) have a file-scoped variable? (like .local,
only for all code in the file)


I just checked in an intial IMCC faq (parrot/imcc/docs/imcfaq.pod)

Hopefully we'll get it linked up in HTML format to the web site asap.

The FAQ is small, but it at least answers all of the above.

I did not go in too much depth about subs because I've got a wave
of changes to commit soon, so I want to hold off on documenting
syntax that is about to be deprecated.

Feel free to send me more questions for the FAQ.

-Melvin




Reply via email to