Togos <[EMAIL PROTECTED]> wrote:

>   .sub looper
>     print "i like peanuts\n"
>     shooper()

   _shooper()

>     print "goodbye\n"
>     end
>   .end

>   .sub shooper non_prototyped

   .sub _shooper

>     print "hello\n"
>   .end

Global subroutine labels have to begin with an underscore. It shouldn't
segfault though, but produce some kind of error.

When you compile it to PASM first, everything is one compilation unit
and the "shooper" label can be fixed up. This isn't done, if the label
"shooper" is in a different compilation unit.


leo

Reply via email to