1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| Quintiq file version 2.0
| #parent: #root
| Method AddAssumptions (
| LibSCIIntegrationInterface libsci,
| Strings assumptions,
| Strings descriptions
| )
| {
| Description: 'Create LibSCAssumptions'
| TextBody:
| [*
| libsci.InitializeAssumptionExport();
| i :=0;
| traverse( assumptions, Elements, assumption )
| {
| j := 0;
| ass := assumption.Tokenize( LibSCIIntegration_Utility::Delimiter() );
| traverse( ass, Elements, a )
| {
| i := i +j;
| description := descriptions.Element( i );
| libsci.AddAssumptionForExport( a, a, description );
| j++;
| }
| i++;
| }
| *]
| InterfaceProperties { Accessibility: 'Module' }
| }
|
|