Page 1 of 1

2 lines of code on 1 line

Posted: Tue Feb 25, 2014 12:57 am
by Overtime
Hi all,

I would like to compress the code I've written, and I was wondering what the
syntax is to put two lines of code on one line.

e.g. instead of:
delete imports1
delete imports2

we have something like:
delete imports1 & delete imports2

Cheers

Re: 2 lines of code on 1 line

Posted: Tue Feb 25, 2014 12:59 am
by EViews Gareth
Delete imports1 imports2

Re: 2 lines of code on 1 line

Posted: Tue Feb 25, 2014 1:23 am
by Overtime
ok, bad example since I know you can do that.

What I meant was more like:

!a=15 & !b=20

instead of having to do:

!a = 15
!b = 20

ie. is there a general piece of syntax which tells the e-views to treat
what comes next as a newline

Re: 2 lines of code on 1 line

Posted: Tue Feb 25, 2014 7:54 am
by EViews Gareth
There is not.

Re: 2 lines of code on 1 line

Posted: Tue Feb 25, 2014 8:03 am
by Overtime
OK - thx.

Something for the future then.