Re: Calling Procedure in an .e file

new topic     » goto parent     » topic index » view thread      » older message » newer message

>But when I added end procedure to the .ex file, it executed fine, which
>means (I think) that it assumed that procedure module_3 was in the main .ex
>file.  OK, so what are include files good for?  I don't get it.  How can I
>call a procedure in an .e file?


Alan, did you declare your .e procedure as global? If you didn't, module_3()
would be a LOCAL procedure to that file (in this case module33.e I think).
If you declare it global (on the .e file), you can call it from the file
that includes it (in this case your .ex file).

Regards,
    Daniel Berstein
    daber at pair.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu