Main > Knowledge Base > Best practices > Code conventions > Using 1C:Enterprise script clauses > Using compilation directives > Best practices > Code conventions > Using 1C:Enterprise script clauses > Using compilation directives > Best practices > Code conventions > Using 1C:Enterprise script clauses > Using compilation directives

Using compilation directives

This article describes the standards that apply to compilation directives. All of the listed recommendations are mandatory unless noted otherwise.

Use the following compilation directives only in managed form modules and command modules:

&AtClient 
&AtServer 
&AtServerNoContext

Use preprocessor instructions in other module types.

Next page: Using duplicate script fragments





© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.