Jump to content

POINTER to a variable

Recommended Posts

This has to do with how autoit works, if you know this then it would be too easy to hack autoit.

There are certain few who would answer this, Jon and other developers.

(I think) What he is asking is how does autoit save data into ram and where.

Offering any help to anyone (to my capabilities of course)Want to say thanks? Click here! [quote name='Albert Einstein']Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.[/quote][quote name='Wolvereness' date='7:35PM Central, Jan 11, 2005']I'm NEVER wrong, I call it something else[/quote]

Link to post
Share on other sites

$toto = "Bonjour"

How to do for having not the value of $toto but the adress where $toto is stocked in Memory

and in th reverse how to know the value of $toto when we know the adress where $toto is stocked.


You can't. However, you can use "fake" pointers:

$toto = "Bonjour"
$ptr = "toto"

MsgBox(0, "msg1", Eval($ptr)); prints "Bonjour"
Assign($ptr, "Good morning") 
MsgBox(0, "msg1", Eval($ptr)); prints "Good morning"
MsgBox(0, "msg1", $toto); prints "Good morning" as well


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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...