Results 1 to 3 of 3

Thread: Closing parenthesis what am I missing?

  1. #1
    Join Date
    Mar 2013
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default Closing parenthesis what am I missing?

    Code:
    program new;
    var x,y,k:integer;
    Begin
           k:=0
           KeyDown(16);
           repeat
            MoveMouse(x,y);
            Wait(500);
            ClickMouse(x,y,1);
            k:=k+1;
           Until(k:=30);//[Error] (12:15): Closing parenthesis expected at line 11
           KeyUp(16);
           Wait(1000);
    end.

  2. #2
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    (k = 30)

    your doing := which is used to set the var.

    Simba Code:
    program new;

    var
      x,y,k:integer;

    begin
      k := 0;
      KeyDown(16);

      repeat
        MoveMouse(x,y);
        Wait(500);
        ClickMouse(x,y,1);
        k:=k+1;
      Until(k = 30);

      KeyUp(16);
      Wait(1000);
    end.

  3. #3
    Join Date
    Mar 2013
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Thanks I knew it was something simple but my eyes couldn't catch it.

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
  •