Results 1 to 16 of 16

Thread: Learning SRL: Question

  1. #1
    Join Date
    May 2008
    Posts
    203
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default Learning SRL: Question

    I'm reading through every command in every file that comes with SRL on the Wiki, but it's just irritating having to go from webpage to webpage.

    Is there anyone who just put EVERY command on one page? If not I might make one for the forums as a "coder's library", made for me, but others can use

  2. #2
    Join Date
    Dec 2007
    Location
    Wizzup?'s boat
    Posts
    1,013
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Theres a few Dictionary's, but I've never seen EVERY function or procedure on one page
    I'll help you with it if you want
    Project: Welcome To Rainbow

  3. #3
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    The best way of learning SRl in my opinion would be to browse through the includes by yourself. As far as I know, the Wiki is a bit outdated and not so very informative after all. On the other hand, if you're interested in learning SCAR functions, press F1 on your keyboard while SCAR is open. If you wait a couple of seconds, an internet explorer window should pop up with all of SCAr's commands, procedures and functions. I would reccomnd to read them.

    EDIT: If you include SRL the way benjaa said, then type a dot (".") then press CTRL + space bar in SCAR, you will get a list over different procedures. This kinda also works as a "search engine", because if you type any letter(s) then press CTRL + space bar you will get a list over procedures and functions that start with those letter(s)!

  4. #4
    Join Date
    Dec 2007
    Location
    Wizzup?'s boat
    Posts
    1,013
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yeah, but make sure you have

    SCAR Code:
    {.include SRL/SRL.scar}

    at the top, so you can see all the functions in includes too

    Read EvilChickens Response ^^
    Project: Welcome To Rainbow

  5. #5
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    benjaaa, that has nothing to do with it what is meant by looking at includes is opening their scar files and reading through them.

    and Evil is right, the wiki is outdated, i think it's still scar 3.(?)

    and a way to get a good grip on what srl functions are mostly used would be to look read through the most popular scripts, or the average script.

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  6. #6
    Join Date
    May 2008
    Posts
    203
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    I read through the SCAR commands, but you say the Wiki is outdated? Uh-oh...

    I might make the massive page of commands anyway, just to have it as a resource as I code and test my future scripts.

    Thanks for your advice!

  7. #7
    Join Date
    May 2008
    Location
    Australia
    Posts
    119
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    A single page with all the functions would probably lag your computer out. What I usually do with programming is - I write the stuff I want to do. When I need a function, I go on to say - www.php.net, and look up "string length". It returns a list of functions, with usually the most relevant one in bold. In this case, it displays "strlen")

    I haven't gotten into SCAR yet - I hope there's a good way to find functions =D. I plan to start during the weekends.

  8. #8
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Don't listen to them, they're lying! Help -> SRL Manual. Best of all it still lists them by file and in order, so if you find a function/procedure that looks interesting, you can go look it up inside Scar fairly easily.
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

  9. #9
    Join Date
    Dec 2007
    Location
    Wizzup?'s boat
    Posts
    1,013
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What are you on Mixster? That file only features the Built-In functions
    Project: Welcome To Rainbow

  10. #10
    Join Date
    Apr 2007
    Location
    Michigan -.-
    Posts
    1,357
    Mentioned
    2 Post(s)
    Quoted
    4 Post(s)

    Default

    im pretty sure that it is SRL functions... the built in functions are found by hitting f1 or something. At least I think thats how you find them
    METAL HEAD FOR LIFE!!!

  11. #11
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by benjaa View Post
    What are you on Mixster? That file only features the Built-In functions
    Give me more respect or I will eat you... Think before you post, did you try doing it? Did you? No? Then you have no voice on this matter as it does if you choose SRL Manual, not Help
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

  12. #12
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    but btw mixster, in the manual it's for SRL 3.6 (i checked)

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  13. #13
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    I asked Wizzup? on the IRC and he said it's automatically generated from SRL so it should be up to date...
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

  14. #14
    Join Date
    Dec 2007
    Location
    Wizzup?'s boat
    Posts
    1,013
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sorry if I was rude Mixster

    But look it up yourself.
    It does not display the functions listed in the includes that are downloaded through subversion.
    Therefore it does not feature all the most useful/common functions
    eg/ Hoverskill, OpenBank, FindLadder, Shopscreen

    I started off using F1 for functions, but then learnt that a good 85% of the procedures and functions are within the includes
    Project: Welcome To Rainbow

  15. #15
    Join Date
    Jan 2008
    Location
    Stanford, CA
    Posts
    329
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by mixster View Post
    I asked Wizzup? on the IRC and he said it's automatically generated from SRL so it should be up to date...
    ya i look through Help=>SRL manual all the time to look up functions and it SEEMs to be ok. I mean a lotta functions i look up from there work perfectly find still.

    Quote Originally Posted by benjaa View Post
    Sorry if I was rude Mixster

    But look it up yourself.
    It does not display the functions listed in the includes that are downloaded through subversion.
    Therefore it does not feature all the most useful/common functions
    eg/ Hoverskill, OpenBank, FindLadder, Shopscreen

    I started off using F1 for functions, but then learnt that a good 85% of the procedures and functions are within the includes


    hey dude u do know that F1 is only for the built-in functions right? there is another "SRL Manual" RIGHT UNDER IT that shows mostly all of the SRL functions up-to-date

  16. #16
    Join Date
    Dec 2007
    Location
    Wizzup?'s boat
    Posts
    1,013
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ohhhh...

    someone said it was in the F1 Section

    Sorry everyone...
    Thankyou for pointing that out freakymonkey
    Project: Welcome To Rainbow

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Learning C++
    By Riffe in forum C/C++ Help and Tutorials
    Replies: 11
    Last Post: 01-14-2009, 01:52 PM
  2. Learning C/C++
    By 0wn 4 skill in forum C/C++ Help and Tutorials
    Replies: 7
    Last Post: 11-11-2008, 06:37 PM
  3. I need some help learning this please!
    By Illkillutill in forum OSR Help
    Replies: 22
    Last Post: 01-02-2008, 04:09 PM
  4. Need help learning php
    By dialeyj2 in forum Web Development
    Replies: 8
    Last Post: 11-21-2007, 06:41 AM

Posting Permissions

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