Results 1 to 3 of 3

Thread: another stuipid question

  1. #1
    Join Date
    Dec 2006
    Posts
    55
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default another stuipid question

    SCAR Code:
    Function checks: boolean;
    var
      Upchars10, I : integer;
    begin;
    Upchars10:=loadchars2(apppath+'Upchars');
       For I:=1 to 6 Do
       begin
        Case I of
             1:  if (FindText('1',UpChars10,7,660,375,704)=true) then Result := True;
             2:  if (FindText('2',UpChars10,7,660,375,704)=true) then Result := True;
             3:  if (FindText('3',UpChars10,7,660,375,704)=true) then Result := True;
             4:  if (FindText('4',UpChars10,7,660,375,704)=true) then Result := True;
             5:  if (FindText('5',UpChars10,7,660,375,704)=true) then Result := True;
             6:  if (FindText('6',UpChars10,7,660,375,704)=true) then Result := True;
        end;
       end;
       
       If result = true then telefast;
    end;

    Lol why does this function allways shows true ?
    Even when the chars is not visible

    P.S. this function is not for RS

  2. #2
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    So it returns true even without any of those numbers?

    Change 1 to 2 and tell me what happens.

  3. #3
    Join Date
    Dec 2006
    Posts
    55
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Arght
    Function checks: boolean;
    var upchars4:integer;
    begin
    UpChars4:= LoadChars2(AppPath + 'UpChars\');
    if FindText('1',UpChars4,5,676,378,711)=true then begin
    writeln (' mja atrada ')
    result:=true;
    end;
    if FindText('7',UpChars4,5,676,378,711)=true then begin
    writeln (' mja atrada ')
    result:=true;
    end;
    If result = true then telefast;
    end;



    Im going crazy
    And this code works
    Scar is mystic program

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. One Question?
    By gamer 5 in forum C#/Visual Basic Help and Tutorials
    Replies: 3
    Last Post: 01-06-2008, 10:45 PM
  2. Question?
    By SocCerSporTie in forum SRL Site Discussion
    Replies: 7
    Last Post: 10-28-2007, 02:55 PM
  3. I have a question.
    By Hey321 in forum News and General
    Replies: 1
    Last Post: 01-26-2007, 09:13 PM

Posting Permissions

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