Results 1 to 4 of 4

Thread: Incorrect documentation for Virtual keys!

  1. #1
    Join Date
    May 2008
    Location
    Canada
    Posts
    665
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default Incorrect documentation for Virtual keys!

    Just noticed as I was trying it.
    http://docs.villavu.com/simba/script...dkeyboard.html

    This should have typed out 0-9 and some of the letters.
    Simba Code:
    program new;
    var
    i:integer
    begin
    for i := 30 to 49 do
    begin
    Keydown(i);
    keyup(i);
    end;
    end.
    Last edited by mrpickle; 04-13-2017 at 06:00 AM.

  2. #2
    Join Date
    May 2008
    Location
    Canada
    Posts
    665
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    A-Z is 65-90
    0-9 is 47-57

  3. #3
    Join Date
    May 2012
    Location
    Glorious Nippon
    Posts
    1,011
    Mentioned
    50 Post(s)
    Quoted
    505 Post(s)

    Default

    Quote Originally Posted by mrpickle View Post
    A-Z is 65-90
    0-9 is 47-57
    It's hex, not dec. Use '$' to go from hex to dec. e.g. $ff = 255.

    Code:
    INSERT: 45
    DELETE: 46
    HELP: 47
    0: 30  <-- it switches to hex
    1: 31
    2: 32
    3: 33
    Last edited by Citrus; 04-13-2017 at 12:13 PM.

  4. #4
    Join Date
    May 2008
    Location
    Canada
    Posts
    665
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by Citrus View Post
    It's hex, not dec. Use '$' to go from hex to dec. e.g. $ff = 255.

    Code:
    INSERT: 45
    DELETE: 46
    HELP: 47
    0: 30  <-- it switches to hex
    1: 31
    2: 32
    3: 33
    Ohh that makes sense. Thank you.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •