Results 1 to 4 of 4

Thread: Invalid Number of Parameters?

  1. #1
    Join Date
    Oct 2006
    Location
    Philadelphia
    Posts
    75
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Invalid Number of Parameters?

    What does Invalid number of parameters mean? Does it mean that i dont have the right things after a function? Im trying to use the mouse function wat parameters do i need to set?

  2. #2
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Mouse(x,y,rx,ry,true)
    Invalid means u dont have enough info the parentahsees
    Here is an example:
    Mouse(45,68,3,3,true)

    It will right click at 45,68 with a randomness of 3 pixels in the X and 3 pexles in the T direction

  3. #3
    Join Date
    Feb 2006
    Location
    Australia, NSW.
    Posts
    1,461
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    begin
      ClickMouse(1, 1);
    end.
    Line 2: [Error] (2:17): Invalid number of parameters in script
    That will give you the error because you're missing one of input parametres that the procedure requires:
    SCAR Code:
    begin
      ClickMouse(1, 1, [b]true[/b]);
    end.

    So you may have missed out one of the inputs.

  4. #4
    Join Date
    Oct 2006
    Location
    Philadelphia
    Posts
    75
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    thanks that was th exact problem. You explained it well.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Invalid Number Of Parameters
    By decide in forum OSR Help
    Replies: 3
    Last Post: 07-28-2008, 06:11 AM
  2. Invalid number of parameters
    By kristahlyn in forum OSR Help
    Replies: 2
    Last Post: 06-16-2007, 02:39 PM
  3. Invalid Number of Parameters
    By richyyrich09 in forum OSR Help
    Replies: 6
    Last Post: 06-12-2007, 10:48 PM
  4. invalid number of parameters
    By stuckman in forum OSR Help
    Replies: 4
    Last Post: 05-27-2007, 01:32 PM
  5. Invalid Number Of Parameters
    By Any-key in forum OSR Help
    Replies: 12
    Last Post: 04-21-2007, 12:11 AM

Posting Permissions

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