Skip to content

Latest commit

 

History

History
67 lines (55 loc) · 2.13 KB

File metadata and controls

67 lines (55 loc) · 2.13 KB

EN

How to import a file with a different VCPL code into the main one

In order to import another file, it is necessary to write:

#import(FileName\Or\PathToFile\WithoutFormat, SyntaxName)

Or

#import(FileName\Or\PathToFile\WithoutFormat, SyntaxName, NamespaceName)

To use data from the library, write:

yournamespace.data

Clarification

When specifying a NOT file, write its .vcpl format, and the file itself must necessarily have the .vcpl format.

When specifying the NOT syntax, write it in quotation marks.

The namespace is specified only for the data that was initialized in the file. For others (data from dependencies of this file), the namespace will remain as it was.

UA

Як імпортувати файл з іншим кодом VCPL до основного

Для того щоб імпортувати інший файл необіхдно написати:

#import(FileName\Or\PathToFile\WithoutFormat, SyntaxName)

Або

#import(FileName\Or\PathToFile\WithoutFormat, SyntaxName, NamespaceName)

Для використання данних з бібліотеки напиши:

yournamespace.data

Уточнення

При вказанні файлу НЕ пишіть його формат .vcpl, а сам файл повинен мати обов'язково формат .vcpl.

При вказанні синтаксису НЕ пишіть його в кавичках.

Простір імен вказується лише для даних що були ініціалізовані у файлі. Для інших (дані з залежностей цього файлу) простір імен залишиться тим, що був.