Skip to content
Snippets Groups Projects
Commit 1f3d2c28 authored by Sergey Durmanov's avatar Sergey Durmanov
Browse files

Modules.Mod

Currently, the file namespace is set in different ways
for source files (Package.Module.Mod),
module code (Module IN Paskage)
and object files (Package-Module)
and there is no guarantee that the delimiter character will not change in the future.
Therefore, we have added four new procedures to the module interface that make it easier to work with package object files:
*) PROCEDURE PackagePath*(CONST package, name: ARRAY OF CHAR; VAR to: ARRAY OF CHAR);
*) PROCEDURE Find*(CONST package, name: ARRAY OF CHAR): Module;
*) PROCEDURE This*(CONST package, name: ARRAY OF CHAR; VAR res: INTEGER; VAR msg: ARRAY OF CHAR): Module;
*) PROCEDURE Free*(CONST package, name: ARRAY OF CHAR; VAR res: INTEGER; VAR msg: ARRAY OF CHAR);
Usage:
var m := Modules.This("RealGeometry", "Vectors", res, msg);
parent 44307aad
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment