Results 1 to 9 of 9

Thread: Mod

  1. #1
    Join Date
    May 2007
    Location
    Some where fun.
    Posts
    2,891
    Mentioned
    1 Post(s)
    Quoted
    5 Post(s)

    Default Mod

    What is mod in scar?

    How do i use Mod in scar?

  2. #2
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    http://en.wikipedia.org/wiki/Modulo_operator

    I could've sworn there was a topic about this same thing a few days ago.
    :-)

  3. #3
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    The remainder of two numbers.

    Edit: I could of sworn the same..

  4. #4
    Join Date
    May 2007
    Location
    Some where fun.
    Posts
    2,891
    Mentioned
    1 Post(s)
    Quoted
    5 Post(s)

    Default

    so the mod of 15 / 4 is 3?

  5. #5
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

  6. #6
    Join Date
    Feb 2009
    Posts
    2,155
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    lol its my trhread that there talking about its in members

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

    Default

    Quote Originally Posted by Camaro' View Post
    so the mod of 15 / 4 is 3?
    You mean, 15 mod 3 is this, yes.

    program New;
    begin
    Writeln(IntToStr(15 mod 4))
    end.
    Successfully compiled (62 ms)
    3
    Successfully executed

  8. #8
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    You mean, 15 mod 3 is this, yes.

    program New;
    begin
    Writeln(IntToStr(15 mod 4))
    end.
    Successfully compiled (62 ms)
    3
    Successfully executed
    15 mod 3 = 0...

    15 mod 4 = 3...

    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

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

    Default

    Blarg, you get it, sorry for the confusion, just writeln it and youll see, not too complicated. Thanks Naba!

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
  •