Results 1 to 4 of 4

Thread: How do I convert A String into a Varible?

  1. #1
    Join Date
    Aug 2007
    Location
    In Your Front Door!
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default How do I convert A String into a Varible?

    How do I convert A String into a Varible?


    Im tring to get a string out of a form but them I need to turn it into a variable so it can stop a loop, how can I do that?

    I know Integer To String Which is inttostr, I guess what is the opposite?
    This is for Jagex!

    My Public Scripts
    Simple AutoTalker
    Face Maker

  2. #2
    Join Date
    Jun 2007
    Location
    Belgium
    Posts
    333
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    function strtoint(s: string): LongInt;
    Converts string to integer.

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

    Default

    variable:= field.Text;
    Replace variable with what you want it to be and field with the editbox (or wahtever it is) with the name (usually edit1 or edit2 etc).

  4. #4
    Join Date
    Aug 2007
    Location
    In Your Front Door!
    Posts
    371
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks guys I just needed that, I didn't realize it was that simple!
    This is for Jagex!

    My Public Scripts
    Simple AutoTalker
    Face Maker

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 03-30-2008, 01:40 PM
  2. varible expected
    By RudeBoiAlex in forum OSR Help
    Replies: 4
    Last Post: 09-30-2007, 12:49 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
  •