Results 1 to 4 of 4

Thread: OO in Scar

  1. #1
    Join Date
    Aug 2007
    Posts
    52
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default OO in Scar

    Does scar support the Object Oriented features of delphi? Can I create my own custom classes? Has anyone done this?

    I noticed that class is bolded as a keyword in scar, which makes me think that I can make my own classes. If not, why is class bolded?
    Quote Originally Posted by Boreas View Post
    I think of my players as secret agents, that I send out into the field to be invisible. I properly train them to blend in and not die.

    It's my fantasy game within the fantasy game.

  2. #2
    Join Date
    Nov 2006
    Location
    Location, Location
    Posts
    1,126
    Mentioned
    6 Post(s)
    Quoted
    41 Post(s)

    Default

    I haven't used Delphi, but this link might be of interest. Though, it does look like it works just like in Java, which I do have experience in so I do believe it should work.

  3. #3
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    You can make recorded types but i have never tryed anything with classes.

    SCAR Code:
    type tpoint = record
           x,y : integer;

  4. #4
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Nope, classes won't work.
    Verrekte Koekwous

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 15
    Last Post: 09-22-2008, 12:32 PM
  2. SCAR Divi 3.01 DONT associate .scar files!!!
    By chimpy in forum News and General
    Replies: 1
    Last Post: 04-21-2007, 08:49 PM
  3. Replies: 28
    Last Post: 06-22-2006, 04:27 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
  •