You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The !include meta command does what the name states - so far so good. However it does not check if a file has been included already and multiple !include statements for the same file lead to actual code copies and followup errors in turn.
May this actually be useful for some case?
What about an additional !import then?
Do we need include guards? (kick has #importonce, C++ has #pragma once, etc.)
Personally I prefer !import, but maybe you have something different in mind…
The text was updated successfully, but these errors were encountered:
The
!include
meta command does what the name states - so far so good. However it does not check if a file has been included already and multiple!include
statements for the same file lead to actual code copies and followup errors in turn.!import
then?#importonce
, C++ has#pragma once
, etc.)Personally I prefer
!import
, but maybe you have something different in mind…The text was updated successfully, but these errors were encountered: