Looking up objects inside local subroutines?

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

paues
Posts: 201
Joined: Fri Apr 15, 2011 7:16 am
Location: Stockholm, Sweden

Looking up objects inside local subroutines?

Postby paues » Fri Aug 08, 2025 1:51 am

Is there some way to querying objects created inside a local subroutine from within that same subroutine? Both @isobject and @wlookup check for objects in the workfile but, unless those are provided as arguments to the subroutine, they are out-of-scope from the subroutine. (To me, it would seem more logical and useful if @isobject and @wlookup checked for objects accessible within the current scope.)

Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests