Joseph F. Ryan wrote:
Leopold Toetsch wrote:
I don't have a docs/macros.pod. I guess my version of imcc is old (-:
The update your parrot please. A lot of these issues are documented and
solved.
For instance, in the interests of speed, it would be nice if perl6
builtins written in perl6 wou
Leopold Toetsch wrote:
Joseph F. Ryan wrote:
I'm really curious as to this myself. I didn't even know an
"include" existed; its not in the imcc docs.
Its in docs/macros.pod, though this file is not mentioned in the main
doca AFAIK.
I don't have a docs/macros.pod. I guess my version of
Joseph F. Ryan wrote:
I'm really curious as to this myself. I didn't even know an
"include" existed; its not in the imcc docs.
Its in docs/macros.pod, though this file is not mentioned in the main
doca AFAIK.
... I only bring this up
because around a month ago, I started working on use/inc
K Stol wrote:
Hello,
Just 1 more question, for me to get it right.
When I have 2 modules, for example like this:
---main.imc---
.sub _main
bsr _hellosub
end
.end
.include hello.imc
--
---hello.imc--
.sub _hellosub
/* print "hello" or whatever */
ret
.end
---
K Stol wrote:
Hello,
Just 1 more question, for me to get it right.
When I have 2 modules, for example like this:
---main.imc---
.sub _main
bsr _hellosub
end
.end
.include hello.imc
--
---hello.imc--
.sub _hellosub
/* print "hello" or whatever */
ret
.end
---
Klaas-Jan
- Original Message -
From: "Leopold Toetsch" <[EMAIL PROTECTED]>
To: "K Stol" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 4:44 PM
Subject: Re: IMCC and multiple source files
> K Stol wrote:
>
> > he
K Stol wrote:
hello,
Is it possible to have a program, which consists of multiple IMCC source files?
Not yet, directly.
As a workaround, other files can be .include-ed into main, at least from
now on, I have committed a change and a test for this.
Are there some kind of 'header'-like files?
hello,
Is it possible to have a program, which consists of multiple IMCC source files?
So, something like this: (pseudo code, don't know IMCC (yet))
-
/* File #1: */
...
call funcA
...
sub funcB(x)
/* do something */
end sub
...