load-cmd.texi 1.26 KB
Newer Older
point's avatar
point committed
1
2
3
@ifclear ARC_HANDBOOK
@include macros.texi
@end ifclear
point's avatar
point committed
4
@anchor{loadcmd}
point's avatar
point committed
5
6
7
8
9
10
11
Load the specified files.

@synopsis
@quotation
@t{load} @cmdarg{file@ind{1}} @cmdarg{file@ind{2}} @enddots{}

Open and interpret files @cmdarg{file@ind{1}}, @cmdarg{file@ind{2}}, @enddots{}
point's avatar
point committed
12
All files are processed even if an error occurs in one of them.
point's avatar
point committed
13
14
15
16
@end quotation

@description
@quotation
point's avatar
point committed
17
This command is used to load into memory @altarica{} models, @acheck{} or 
point's avatar
point committed
18
@mecv{} specifications, @lustre{} programs (some restriction are applied, see 
point's avatar
point committed
19
20
@bibcite{GP06} for details), DD encoded relations (see @ref{storecmd, , 
@command{store} command}) or scripts files . The parser is selected according to the 
point's avatar
point committed
21
file extension.
point's avatar
point committed
22
23
24
25
26
@itemize @bullet
@item If the file terminates with @code{.arc} then it is interpreted as an ARC 
      script.
@item If the file terminates with @code{.lus} then it is interpreted as a Lustre
      program and is automatically translated into AltaRica.
point's avatar
point committed
27
28
@item If the file terminates with @code{.rel} then it is interpreted as a 
      serialized DD encoding a relation. 
point's avatar
point committed
29
@item In other cases the file is passed to the common parser used for 
point's avatar
point committed
30
      @altarica{}, @acheck{}, @mecv{} and @arc{} scripts.
point's avatar
point committed
31
@end itemize
point's avatar
point committed
32

33
Files can be preprocessed; @pxref{arc.shell.preprocessor}). 
point's avatar
point committed
34

point's avatar
point committed
35
36
@end quotation