Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
M
Manual
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
12
Issues
12
List
Boards
Labels
Service Desk
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OPAL
Documentation
Manual
Commits
8f04403f
Commit
8f04403f
authored
Feb 19, 2021
by
snuverink_j
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update MACRO example; fix typo
parent
3775dc11
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
control.asciidoc
control.asciidoc
+10
-2
elements.asciidoc
elements.asciidoc
+1
-1
No files found.
control.asciidoc
View file @
8f04403f
...
...
@@ -704,20 +704,28 @@ name();
Each actual consists of a set of tokens which replaces all occurrences
of the corresponding formal name. The actuals are separated by commas.
Example:
Example
s
:
----
// macro definitions:
SHOWIT(X): MACRO {
SHOW, NAME = X
;
VALUE,VALUE={X}
;
}
DOIT(): MACRO {
DYNAMIC,LINE=RING,FILE="DYNAMIC.OUT";
}
KS(X,Y): MACRO {
Y = 3e-3*X+0.5e-3;
}
// macro calls:
SHOWIT(PI);
DOIT();
REAL X = 2;
REAL Y;
KS(X, Y);
SHOWIT(Y);
----
// EOF
\ No newline at end of file
elements.asciidoc
View file @
8f04403f
...
...
@@ -1995,7 +1995,7 @@ ORDER::
TIMES::
Array of real times in ns. There must be at least `ORDER`+1 elements in the
array and they must be strictly monotically increasing.
array and they must be strictly monot
on
ically increasing.
VALUES::
Array of real values. The length of `VALUES` must be the same as the length
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment