Jump to content

Recommended Posts

Posted

Hi all... im programmer web more 6 years!! I love autoit3 in work 2 mounth :lmao: is little day :)

Look my script of php:

<?
$num = 1;
$word = "sim";
$word1 = "autoit3 victory";

$rider = "word$num";

echo $$rider;
?>

But i need make for Autoit3 is not work :(

$num = 1
$word = "sim"
$word1 = "autoit3 victory"

$rider = "word$num"

msgbox(0,"test",$$rider)

All that's example ... i need script good au3

I wait answer is thanks :P

Programmer PHP, ASP, CGI, Perl, Delphi, JScript, ......... :)

  • Moderators
Posted

there's your issue... only 1 $ necessary

$num = 1

$word = "sim"

$word1 = "autoit3 victory"

$rider = "word$num"

msgbox(0,"test",$$rider)

Hmm, looks like Larry caught it, but with the $$ , the variable in quotes wouldn't work either.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

Hmm, looks like Larry caught it, but with the $$ , the variable in quotes wouldn't work either.

oops, i didn't even see that concatenation... i saw quotes and moved on, didn't even look at the string...
Posted

It seems those 6 years made you forget to overlook code

oh come on man. everyone does it. hell, i did it while posting in this thread. and i bet if you look back at the older posts of anyone on the forum you'll find atleast one silly error
Posted

oh come on man. everyone does it. hell, i did it while posting in this thread. and i bet if you look back at the older posts of anyone on the forum you'll find atleast one silly error

sorry, this looks like i over-reacted this morning, but i mean it was his very first post asking for help, and i didn't think that mockery would convey the kind of welcome that we want for new users to the forums...

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
×
×
  • Create New...