Jump to content
Sign in to follow this  
Georgkremer

String with Autoit

Recommended Posts

Georgkremer

How do I declare a string in Autoit, I am new here, I've googled but found nothing. Do I want to declare a string as I can add something. But I do not understand the :/

Share this post


Link to post
Share on other sites
water

Welcome to AutoIt and the forum!

I suggest you start reading the help file - at least the first chapters about the language and its concepts.

The Wiki is helpful too with a lot of tutorials.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-12-03 - Version 1.4.11.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
Georgkremer

Can you send me the link to it? :)

Share this post


Link to post
Share on other sites
Georgkremer

Oh sorry, I'm so blind. Thank you :)

Share this post


Link to post
Share on other sites
Georgkremer

I've read through this point 3.3.2 strings. But that tells me nothing. I work long hours with Viusal Basic. With (with Dim a as string = "") I made something. is not or is there something in autoit another possibility? :/

Share this post


Link to post
Share on other sites
water

Dim a as string = ""

in VB is

Global $a = ""

in AutoIt.

In AutoIt you do not need to specify a datatype. But this is described in the help file as well.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-12-03 - Version 1.4.11.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
Georgkremer

Thx ;)

Share this post


Link to post
Share on other sites
Georgkremer

last question for you how do I add a string to the already provided with an expectant expectant a farther?

Share this post


Link to post
Share on other sites
funkey

Global $sTest = "Hello"
$sTest = $sTest & " World"
$sTest &= "!"

MsgBox(0, "Test", $sTest)


Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots.
So far, the Universe is winning.

Share this post


Link to post
Share on other sites
JLogan3o13

I work long hours with Viusal Basic.

 

If this is true, you really should be accustomed to looking through help docs, rather than expecting people to spoon-feed code to you. A trip through the Help file will do wonders for your understanding of AutoIt as a language.


√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

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  

×