Results 1 to 2 of 2

Thread: omg why??

  1. #1
    Join Date
    Oct 2007
    Location
    If (Online) then Loc := ('On comp') else Loc := ('Somewhere else!');
    Posts
    2,020
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default omg why??

    i can never get my scripts to say how many times they have logged in,banked,or any of the randoms for that instance why is this???

    SCAR Code:
    /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
    |     SRL 4 Randoms Report     |
    |      [url]www.srl-forums.com[/url]      |
    |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
    \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/

    i feel stupid but i need to ask

  2. #2
    Join Date
    Mar 2008
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Make a variable of whatever you want it to be, for instance.

    SCAR Code:
    Var
    Banked : integer

    procedure Banking;
    begin
      //whatever
      //then whenever its done
      inc(Banked)//+1 to the banked variable
    end;

    Procedure Proggy;
    begin
      writeln('banked '+inttostr(Banked)+'times')// Converts the banked variable to a string and displays the banked times =)
    end;

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
  •