Page 4 of 6 FirstFirst ... 23456 LastLast
Results 76 to 100 of 136

Thread: SCAR 3.21 Alpha

  1. #76
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    IntToStr does accept Int64.

  2. #77
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I got the bass dll error .
    ~Hermen

  3. #78
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Hermen View Post
    I got the bass dll error .
    Check out from the latest revision, run fixscar.exe (make sure you run it as administrator or it will crash).

    Btw, everyone, please post your suggestions or bugs on my forums so I don't miss them...
    Last edited by Freddy1990; 07-15-2009 at 08:28 PM.

  4. #79
    Join Date
    Dec 2008
    Location
    In a galaxy far, far away...
    Posts
    584
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Da 0wner View Post
    IntToStr does accept Int64.
    Im talking about StrToInt, IntToStr works fine.

    Ian, if thats true then that sux



    ~NS

  5. #80
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Oh sorry, misread it. I'm going to try something, hold on.

    Edit: I tried a buffer...doesn't work...
    Last edited by Da 0wner; 07-16-2009 at 01:08 AM.

  6. #81
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Quote Originally Posted by Freddy1990 View Post
    Or just go to Tools and press "Associate .scar files"?
    Oh, wow. You have so many useful functions that I don't know about ;D
    You added the change client title procedure?

  7. #82
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    That stuff has been there for a while...

  8. #83
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Da 0wner View Post
    That stuff has been there for a while...
    Yea, like since SCAR 2

    Quote Originally Posted by Zyt3x View Post
    Oh, wow. You have so many useful functions that I don't know about ;D
    You added the change client title procedure?
    Not yet, but please post suggestions on my forums as I said, I can't keep track of them this way...

  9. #84
    Join Date
    Jun 2009
    Location
    Manchester.
    Posts
    34
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks alot freddy, had a few problems at first but then i found a very good "how to obtain scar 3.21" tutorial and im all good. just srl now...
    your the bomb!

  10. #85
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Hey Freddy, is it possible to add in support for recursion, or is that just something the current script engine can't handle?

  11. #86
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by senrath View Post
    Hey Freddy, is it possible to add in support for recursion, or is that just something the current script engine can't handle?
    recursion?

  12. #87
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Quote Originally Posted by senrath View Post
    Hey Freddy, is it possible to add in support for recursion, or is that just something the current script engine can't handle?
    Erm, i'm pretty sure it does support recursion if it's what i think it is..

    BTW, Freddy1990: http://en.wikipedia.org/wiki/Recursi...puter_science)
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  13. #88
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    -ignore this-
    Last edited by senrath; 07-16-2009 at 11:32 AM.

  14. #89
    Join Date
    Dec 2008
    Location
    In a galaxy far, far away...
    Posts
    584
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It does allow for recursion!!

    SCAR Code:
    function RecursionTest(I: Integer): Integer;
    begin
      if (I < 1) then
      begin
        Result := I;
        Exit;
      end;
      Writeln(I);
      Result := RecursionTest(I - 1);
    end;

    begin
      RecursionTest(10);
    end.



    ~NS

  15. #90
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Ah, whoops. I forgot to put in an exit statement. Silly me. I'm much more used to working with Java than SCAR.

  16. #91
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Quote Originally Posted by senrath View Post
    It doesn't. Try running this:
    SCAR Code:
    program New;
    function RecursionTest(i: Integer):Integer;
    begin
      if i <= 1 then Result := 1;
      Result := i + RecursionTest(i - 1);
    end;
    begin
      RecursionTest(10);
    end.
    Ohhhh. You mean that!!

    Yes, that would be useful
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  17. #92
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Quote Originally Posted by Dan's The Man View Post
    Ohhhh. You mean that!!

    Yes, that would be useful
    As it turns out, recursion does work, as Nadeem just pointed out. I was just messing up the code, as I'm more used to Java than SCAR.

  18. #93
    Join Date
    Dec 2008
    Location
    In a galaxy far, far away...
    Posts
    584
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    lol yes, I think thats already been in SCAR for a very long time. QuickSort's algorithm uses recursion.



    ~NS

  19. #94
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Quote Originally Posted by senrath View Post
    As it turns out, recursion does work, as Nadeem just pointed out. I was just messing up the code, as I'm more used to Java than SCAR.
    Lol.

    I was just playing around my self and discovered you could, then i was going to reply but Nadeem already did it
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  20. #95
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    Quote Originally Posted by Freddy1990 View Post
    Check out from the latest revision, run fixscar.exe (make sure you run it as administrator or it will crash).

    Btw, everyone, please post your suggestions or bugs on my forums so I don't miss them...
    <3
    Checking out svn atm.

    EDIT:
    Works! <3
    Ce ne sont que des gueux


  21. #96
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Floor66 View Post
    <3
    Checking out svn atm.

    EDIT:
    Works! <3



    Recursion has always worked...

  22. #97
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    What does fixscar.exe do? is it for people with the .dll errors?

  23. #98
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    Yeah, it downloads the missing DLLs.
    Ce ne sont que des gueux


  24. #99
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Also, possibly, could you please add in capablities in SCAR? Or is that just not possible?

    e.g:
    scar Code:
    function IsIn(s: String): Boolean;
    begin
      Result := s in ['A'..'z'];
    end;

    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  25. #100
    Join Date
    Dec 2008
    Location
    In a galaxy far, far away...
    Posts
    584
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Dan's The Man View Post
    Also, possibly, could you please add in capablities in SCAR? Or is that just not possible?

    e.g:
    scar Code:
    function IsIn(s: String): Boolean;
    begin
      Result := s in ['A'..'z'];
    end;

    Freddy if you could do that, it'll be AWESOME



    ~NS
    Last edited by Nadeem; 07-16-2009 at 10:14 PM.

Page 4 of 6 FirstFirst ... 23456 LastLast

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
  •