Results 1 to 9 of 9

Thread: What am I doing wrong?

  1. #1
    Join Date
    Mar 2013
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default What am I doing wrong?

    FindObj (x, y, 'ank', 261, 133);
    if Findobj (x, y, 'ank', 261, 133); then
    begin
    It says that don`t have then but I do and when I try to change it it says something with parameters.
    First day of trying out this stuff please help?

  2. #2
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by WeBot4u View Post
    FindObj (x, y, 'ank', 261, 133);
    if Findobj (x, y, 'ank', 261, 133); then
    begin
    It says that don`t have then but I do and when I try to change it it says something with parameters.
    First day of trying out this stuff please help?
    I don't quite understand what you are saying? It says you don't have what?

  3. #3
    Join Date
    Mar 2013
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Oh wow such a fail it says I don`t have "THEN" in my line but I do.

  4. #4
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by WeBot4u View Post
    Oh wow such a fail it says I don`t have "THEN" in my line but I do.
    Because you have a ';' before the 'then' so it doesn't recognise it as the same statement

  5. #5
    Join Date
    Mar 2013
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Thanks but now I have this problem:
    Procedure ChopTree;

    Identifier ":" expected

    Could you help?

  6. #6
    Join Date
    May 2007
    Posts
    527
    Mentioned
    12 Post(s)
    Quoted
    109 Post(s)

    Default

    Quote Originally Posted by WeBot4u View Post
    Thanks but now I have this problem:
    Procedure ChopTree;

    Identifier ":" expected

    Could you help?
    Simba Code:
    procedure ChopTree();

  7. #7
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Quote Originally Posted by WeBot4u View Post
    Thanks but now I have this problem:
    Procedure ChopTree;

    Identifier ":" expected

    Could you help?
    Can you post the lines above and below that, as well as the error lines in simba tags?

  8. #8
    Join Date
    Mar 2013
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Procedure GoBank;

    Identifier ":" expected

    I already tried procedure GoBank();

  9. #9
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Quote Originally Posted by WeBot4u View Post
    Procedure GoBank;

    Identifier ":" expected

    I already tried procedure GoBank();
    Please post the code above and below it as well

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
  •