Jump to content
Sign in to follow this  
John117

Two lines of code in one . . .

Recommended Posts

John117

Is there working method to make:

#include <IE.au3> ;Line1
#include <Timers.au3> :Line2oÝ÷ غ(X¤zØb±«­¢+Ø¥¹±Õ±Ðí%¹ÔÌÐì襹±Õ±ÐíQ¥µÉ̹ÔÌÐìí1¥¹

Something like VBA would do to simulate a return?

Thanks

Edited by Hatcheda

Share this post


Link to post
Share on other sites
AdmiralAlkex

I don't know what "simulate a return" means, but having two includes on the same line seems pointless. When the script is compiled the text from the includes will basicly be copied in to your script where the #include statement is.

Share this post


Link to post
Share on other sites
John117

I don't know what "simulate a return" means, but having two includes on the same line seems pointless. When the script is compiled the text from the includes will basicly be copied in to your script where the #include statement is.

In VBA : behaves as a blank line or return. -like anything after it is really on its own line, but displayed differently. (grouped)

It is useful for making scripts shorter were info is of the same time but does not effect the script.

It helps to reduce the total lines and makes keeping up with work easier while writing it. I wasnt concerned with the includes -this is for all lines -that was just the first of my script.

Thanks

Share this post


Link to post
Share on other sites
avery

In VBA : behaves as a blank line or return. -like anything after it is really on its own line, but displayed differently. (grouped)

It is useful for making scripts shorter were info is of the same time but does not effect the script.

It helps to reduce the total lines and makes keeping up with work easier while writing it. I wasnt concerned with the includes -this is for all lines -that was just the first of my script.

Thanks

I know what you mean but am not sure if a method to do it.

In PERL I would often put several lines on one of they were short. IE.

$i++; $x+=1; if $d print "text";

but in au3 we don't use end of line termination things like perl ";"

If I find out a way I'll PM ya but I've wondered myself.


www.abox.orgAvery HowellVisit My AutoIt Websitehttp://www.abox.org

Share this post


Link to post
Share on other sites
AdmiralAlkex

In VBA : behaves as a blank line or return. -like anything after it is really on its own line, but displayed differently. (grouped)

It is useful for making scripts shorter were info is of the same time but does not effect the script.

It helps to reduce the total lines and makes keeping up with work easier while writing it. I wasnt concerned with the includes -this is for all lines -that was just the first of my script.

Thanks

You can "group" parts of the script with #Region and #EndRegion to make it more readable in SciTE, but I am afraid that's all.

Share this post


Link to post
Share on other sites
John117

Well, While I can't say that was what I was looking for, it just might be even better! :-) Thanks a ton!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.