Sign in to follow this  
Followers 0
Info

"StartFromLine()"

7 posts in this topic

#1 ·  Posted (edited)

"JumpToLine()" / "GoLine()" / "StartFromLine()" or something like that...

So is there something like:

JumpToLine("3")
asldkasldkl;asdfjlakfjklsfjklsfjlskjfl
MsgBox(64, "HEHE!", "You skipped line 2!")

Thanks...

Edited by Info

Share this post


Link to post
Share on other sites



#CS

asldkasldkl;asdfjlakfjklsfjklsfjlskjfl

#CE

MsgBox(64, "HEHE!", "You skipped line 2!")

Share this post


Link to post
Share on other sites

Okay... Thanks.

Do you know how can I combine it with 'GuiCtrlCreateInput'?

Like I write in the Input the line I wanna skip to...

Share this post


Link to post
Share on other sites

You should probably provide a better description of your goal, because jumping to a line in the script isn't possible. You will need to learn how to use functions.

Share this post


Link to post
Share on other sites

No. Before you ask why not, I'm going to say that this type of function is very much a Goto and I think it has been established that the developers do not want Goto.

Share this post


Link to post
Share on other sites

Lolcakes()
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
Func Lolcakes()
    MsgBox(0, "LOL CAKES!", "You skipped a 20 lines... ^_^")
EndFunc  ;==>Lolcakes

Goto sucks. Now what is your end result wanting to be?

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  
Followers 0