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
2 lines of code on 1 line
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: 2 lines of code on 1 line
Delete imports1 imports2
Re: 2 lines of code on 1 line
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
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
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: 2 lines of code on 1 line
There is not.
Re: 2 lines of code on 1 line
OK - thx.
Something for the future then.
Something for the future then.
Who is online
Users browsing this forum: No registered users and 1 guest
