#`#pragma once` equivivalent in Xenoncode

1 messages · Page 1 of 1 (latest)

sour mango
#

Right now it's realy annoying to make sure that you only import every script once.

forest harbor
#

it already functions like that

#

#pragma once only ensures a file is only included once

#

xenoncode does that

#

you might be referring to having circular dependencies

sour mango
#

Yeah

#

During parsing, they could propably just delete the contents of the file after it being included 1 time.