SRL Archive - Delphi/FPC Help and Tutorials

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


edfromhumanresources

2011-03-29 08:24:49

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?

Home

2011-03-29 08:28:16

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


~Home

nielsie95

2011-03-29 08:32:17

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

edfromhumanresources

2011-03-29 08:35:29

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?

2011-03-29 11:24:31

The proper pascal directive is:

{$I filenamehere}

(Simba supports this)