Results 1 to 3 of 3

Thread: Makeing a whole array into a string???

  1. #1
    ronny.m.p Guest

    Makeing a whole array into a string???

    Well i'm useing an array in my script (one that i created for an auto-responder of sorts). Problem is is that later in the script i need it to make every string in that array into 1 big string. I'm sorry if i being vauge but i really want to keep this script secret for now. Also the array caontains integers and booleans but the strings all have the same beggining (RonnyText[0] := and RonnyText[1] := etc...); Please give me some input!

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

    Default

    SCAR Code:
    function IntoOne : string;
    var i : integer;
    begin
      for i := 0 to GetArrayLength(RonnyText) - 1 do
        result := result + RonnyText[i];
    end;

    You may need to modify it a bit, if you want spaces or sumthing.

  3. #3
    ronny.m.p Guest

    Default

    thankyou.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. new script, do you think its worth makeing?
    By Lance in forum News and General
    Replies: 5
    Last Post: 02-08-2009, 10:58 PM
  2. Need help with makeing my first script
    By r c r a f t in forum OSR Help
    Replies: 2
    Last Post: 10-17-2007, 06:11 PM
  3. Replies: 2
    Last Post: 07-15-2007, 03:34 AM
  4. Replies: 2
    Last Post: 05-28-2007, 05:00 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
  •