Results 1 to 5 of 5

Thread: A few random questions (now you're curious?)

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

    Default A few random questions (now you're curious?)

    Alright, here goes:

    1.) When making an include file, when you declare variables outside the functions/procedures, can they be used in whatever script you use them in?

    2.) If the above question is "yes", if you make variables with the same name in a script as one in an include file, will there be errors?

    I believe that's all for now, I'll edit and bump appropriately if I get any more questions!

  2. #2
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    TIAS.

    Make a var in your script called LoggedIn and see what happens ^^.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

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

    Default

    Oh...

    So for my own include file, would you suggest making variable names IN and OUTSIDE the functions/procedures something odd or not used? Or would varibles INSIDE functions/procedures inside include files not harm script variables?

    Give a real answer this time I've lost my access to my scar files now

  4. #4
    Join Date
    Apr 2007
    Posts
    994
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    In the procedures: Local variables.
    [QUOTE]<GoF`> oh no its Raymooond
    <Raymooond> Heya
    <GoF`> is it ray or some other ray?
    <LeeLokHin> No idea
    <LeeLokHin> Raymond, what's the game you like the most?
    <Raymooond> Runescape
    <-- LeeLokHin has kicked Raymooond from #srl (Faker.)[/QUOTE]

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

    Default

    Quote Originally Posted by Lee Lok Hin View Post
    In the procedures: Local variables.
    Thanks, that's what I was hopin for!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. curious, why is 71runemaker banned?
    By the smith400 in forum News and General
    Replies: 8
    Last Post: 01-26-2008, 06:50 PM
  2. New player - curious about something
    By nefar in forum News and General
    Replies: 21
    Last Post: 10-28-2007, 03:02 PM
  3. Random Questions and Things
    By Here in forum News and General
    Replies: 20
    Last Post: 07-20-2007, 05:16 PM
  4. Curious
    By Boreas in forum SRL Site Discussion
    Replies: 2
    Last Post: 10-12-2006, 01:47 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
  •