Is there a way to put an include statement (referencing an outside program) within a subroutine?
I get the error "Nested subroutine" when trying this.
Include statement in subroutine
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Include statement in subroutine
No, you cannot.
You can use exec, though.
You can use exec, though.
Re: Include statement in subroutine
Great. Thanks. "EXEC" works in my subroutine.
Who is online
Users browsing this forum: No registered users and 2 guests
