commenting out a block of code

For questions regarding programming in the EViews programming language.

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

kruanne
Posts: 2
Joined: Thu Oct 30, 2008 11:09 am

commenting out a block of code

Postby kruanne » Thu Nov 05, 2009 6:59 am

Hello,
I have a simple question: is there a way to comment out a block of code like, e.g. in C /*... */ does?
I know, of course, about ' which comments out a single line, but being able to comment out a whole block of code would be quite convenient.

kruanne.

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: commenting out a block of code

Postby trubador » Thu Nov 05, 2009 7:32 am

EViews 7 has (or will have) this feature, but I do not think there is an easy way to do something similar in earlier versions. Yet, you can always put an IF statement around the lines that you want to be inactive...


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests