Include/Import question

BlitzMax Forums/BlitzMax Programming/Include/Import question

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

- Under what circumstances might include be better than import? I can't see any advantage, only longer compile time.

I guess if there is code executed in an include that you want to run at several places, you would not want to use Import. But then, you're better off having code like that in a function anyway, but I'm sure there could be a useful similar thing someone may want to do someday. Maybe.