View Full Version : Confusion over {.include "filename"} compiler directive used in simba/scar scripts
edfromhumanresources
03-29-2011, 12:24 PM
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?
From what i know That $ Defines Include. But should not make a lot difference.
(I'm not toally sure though) :)
~Home
nielsie95
03-29-2011, 12:32 PM
It's the same; Simba kept it for backwards compatibility with SCAR.
edfromhumanresources
03-29-2011, 12:35 PM
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.
Wizzup?
03-29-2011, 03:24 PM
The proper pascal directive is:
{$I filenamehere}
(Simba supports this)
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.