1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Request] 2 requests.

Discussion in 'Programming' started by Twister, Sep 13, 2010.

  1. Twister

    Twister Well-Known Member

    Uh, first of all could someone explain to me how to create a line which reads pointers.
    Like Char X = #

    And my other request is if someone could explain me how an autopotter sticks togheter, as in what do I all need.

    T.i.a,

    Twister.
     
  2. NonLeaf

    NonLeaf Well-Known Member

    Also i ask if someone can help me whit my Hotkey = enable/disable checkbox, i mean enable/disable checkbox's whit a hotkey, thanks :]
     
  3. Twister

    Twister Well-Known Member

    Bumpbump ;x
     
  4. dude111

    dude111 Well-Known Member

    you're bumping something that wont 404 -_-(sorry off topic i can't help you)
     
  5. Danny1994

    Danny1994 Likes to contribute Coder

  6. Nickerian

    Nickerian Well-Known Member Coder Donor


    note that the code wont work exacly since the syntax is a combination but if you fix the syntax for your lg it will works fine



    address = $00000000;
    offs = $00;


    function readPointerOffset(address, offs):integer;
    var
    value:integer;
    begin

    try
    {
    asm
    push eax
    mov eax, [address]
    mov eax,[eax]
    add eax, [offs]
    mov eax,[eax]
    mov [value],eax
    pop eax
    end;
    }
    catch // if invalid
    {
    value = -1;
    }

    return value;
    end;



    call by using
    Value = readPointerOffset(address, offs);
     

Share This Page