Jump to content
Sign in to follow this  
JavaScript_Freek

@CRFL and @LF

Recommended Posts

JavaScript_Freek

What are those? Are those some kind of functions or something that they do? Also, are there more of these?


[center]Cookyx.com :: Simple LAN Chat[/center]

Share this post


Link to post
Share on other sites
avery

What are those? Are those some kind of functions or something that they do? Also, are there more of these?

They are AutoIt3 Built in Macro's.. Very handy!

http://www.autoitscript.com/autoit3/docs/macros.htm

@CR Carriage return, Chr(13); sometimes used for line breaks.

@CRLF = @CR & @LF ;occasionally used for line breaks.

Example I use:
Func _userinfo()
    ;@ComputerName @LogonDomain @OSVersion @UserName
    ;_s("Running as User: " & @UserName & " On: " & @ComputerName & "@" & @LogonDomain & " Version: " & @OSVersion & " " & @OSServicePack)
    GUICtrlSetData($label_info_1, "Running as User: " & @UserName & " On: " & @ComputerName & @CRLF & "Version: " & @OSVersion & " " & @OSServicePack)
EndFunc   ;==>_userinfo
Edited by avery

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

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.