Results 1 to 3 of 3

Thread: hello help needed

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

    Default hello help needed

    what means the dunction:
    InToStr
    $
    I've got a script, i doest works as it has to work i think it's something with this can you guys help me figure this out?

  2. #2
    Join Date
    Oct 2006
    Posts
    412
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    If you mean IntToStr, then that takes any number, an integer, and makes it readable by string related functions.

    Example:

    var
    number:Integer;
    stringednumber:String;
    number:=5;
    stringednumber:=(IntToStr(number));

  3. #3
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    IntToStr, Integer to String. Integer is number and you write texts as string to scar's debug screen. So, StrToInt, just makes integer to string.

    PHP Code:
    program New;
    var 
    Number:INTEGER;
    begin
    repeat
    Number
    :=Number 1
                              
    //Number is integer, it makes it to string (inttostr)
    writeln(INTtoSTR(NUMBER)) //Writes number as string

    wait(500)
    until(Number>10)
    end

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. eek. A little help needed:
    By malotthouse in forum OSR Help
    Replies: 4
    Last Post: 02-18-2008, 06:01 PM
  2. Help needed
    By faster789 in forum OSR Help
    Replies: 2
    Last Post: 09-30-2007, 03:11 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
  •