Is it possible to display included source code

105 views Asked by At

Have a subroutine with a $include file item in it. One of the common variables held in the $include file isn't being updated.

Wondering if somehow the include isn't being included, hence question regarding displaying source code including $include source code.

1

There are 1 answers

1
Van Amburg On BEST ANSWER

In UniVerse an include is a bit of source that is pulled in at compilation time and added to the source of your program.

If you have something like this...

$INCLUDE INC.BP OBJ.LOGGING.MESSAGES

The compiler will use the VOC entry "INC.BP" as the file and read in all of the lines from the record "OBJ.LOGGING.MESSAGES" as if they were entered in the source code.

You should be able to view or edit this as you would any other bit of source code. If you can compile your code than the include file at least exists.