Results 1 to 5 of 5

Thread: What is TPointArray?

  1. #1
    Join Date
    Oct 2006
    Posts
    888
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default What is TPointArray?

    Can someone please explain to me what TPointArray is please?

  2. #2
    Join Date
    Feb 2006
    Location
    L.A, USA
    Posts
    1,632
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Lmao, an array of TPoint.

    TPoints hold 2 values. i.e

    Code:
    procedure iii; 
    begin
    var i : TPoint;
      i.x:= 2; 
      i.y:= 3; 
     end;
    First learn arrays and TPoints, then get back to this.

  3. #3
    Join Date
    Oct 2006
    Posts
    888
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by WhiteShadow View Post
    Lmao, an array of TPoint.

    TPoints hold 2 values. i.e

    Code:
    procedure iii; 
    begin
    var i : TPoint;
      i.x:= 2; 
      i.y:= 3; 
     end;

    First learn arrays and TPoints, then get back to this.
    Thanks a lot for your help. Lol, i know what arrays are but I'm new to pascal, so, yeah.

    Thanks anyway.

    Can you help me create a short script making my own complete array and call it, lets say, foobar? Thanks, I just want to know how to properly declare a type and all that.

  4. #4
    Join Date
    Feb 2006
    Location
    New Zealand
    Posts
    1,330
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Declare arrays? Or specifically tpoints?

    var
    Varaibale:tpointarray;
    begin
    setarraylength(variable,4)
    end;

    Is that what you mean?

  5. #5
    Join Date
    Oct 2006
    Posts
    888
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Pyro View Post
    Declare arrays? Or specifically tpoints?

    var
    Varaibale:tpointarray;
    begin
    setarraylength(variable,4)
    end;

    Is that what you mean?
    No, that's not what I meant, but thanks anyway, I found out by myself.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Understanding and using TPoint/TPointArray
    By JAD in forum OSR Advanced Scripting Tutorials
    Replies: 20
    Last Post: 09-25-2008, 11:57 PM
  2. TPointArray
    By Quickmarch in forum OSR Help
    Replies: 14
    Last Post: 09-07-2008, 05:03 PM
  3. Help with TPointarray
    By Negaal in forum OSR Help
    Replies: 3
    Last Post: 12-19-2007, 10:30 PM
  4. Some usefull TPointArray functions!
    By mastaraymond in forum Research & Development Lounge
    Replies: 6
    Last Post: 07-13-2007, 07:06 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
  •