Results 1 to 5 of 5

Thread: Confusion over {.include "filename"} compiler directive used in simba/scar scripts

  1. #1
    Join Date
    Mar 2011
    Posts
    84
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default Confusion over {.include "filename"} compiler directive used in simba/scar scripts

    Yes I'm new to scar/simba and a little shit at pascal but I've never seen this in pascal before.

    How is it different from {$include "filename"}?

    Is it some sort of simba/scar specific directive?

  2. #2
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    From what i know That $ Defines Include. But should not make a lot difference.
    (I'm not toally sure though)


    ~Home

  3. #3
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    It's the same; Simba kept it for backwards compatibility with SCAR.
    Hup Holland Hup!

  4. #4
    Join Date
    Mar 2011
    Posts
    84
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Ok cool, just want to make sure its not some crazy feature of pascal I've missed similar to include<lib> vs include "lib" in c.

  5. #5
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,691
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    The proper pascal directive is:
    Simba Code:
    {$I filenamehere}

    (Simba supports this)



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •