Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
73b5348e
Commit
73b5348e
authored
Dec 02, 2015
by
Maxime Perrotin
Browse files
Remove unnecessary code
parent
c3d1e678
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/regression/test-math/expressions.pr
View file @
73b5348e
/* CIF PROCESS (144, 159), (150, 75) */
PROCESS expressions;
/* CIF TEXT (1105, 175), (303, 268) */
DCL i Integer;
DCL f Real;
DCL b Boolean;
DCL s CharString;
DCL fixSeqOf1 FixSeqof;
DCL fixSeqOf2 FixSeqof;
DCL varSeqOf1 VarSeqof;
DCL varSeqOf2 VarSeqof;
DCL seq Seq;
DCL nestedSeq NestedSeq;
DCL bs1 BoolSeqOf;
DCL bs2 BoolSeqOf;
DCL bs3 BoolSeqOf;
/* CIF TEXT (742, 143), (125, 58) */
DCL f Real;
/* CIF ENDTEXT */
/* CIF TEXT (4
0
, 15
0
), (444, 1
6
8) */
/* CIF TEXT (
6
4, 15
1
), (444, 1
7
8) */
-- Declare an external procedure that has a return type
-- Use this to get access to C libraries (eg. math lib)
-- without having to write manually external code
...
...
@@ -25,17 +13,17 @@ fpar in par real;
returns real
external;
/* CIF ENDTEXT */
/* CIF START (
530, 47
), (70, 3
5
) */
/* CIF START (
625, 146
), (70, 3
4
) */
START;
/* CIF NEXTSTATE (
530, 97
), (70, 35) */
/* CIF NEXTSTATE (
625, 199
), (70, 35) */
NEXTSTATE wait;
/* CIF STATE (
530, 97
), (70, 35) */
/* CIF STATE (
625, 199
), (70, 35) */
STATE wait;
/* CIF INPUT (
525, 153
), (81, 38) */
/* CIF INPUT (
620, 255
), (81, 38) */
INPUT run;
/* CIF TASK (
494, 206
), (144, 35) */
/* CIF TASK (
588, 308
), (144, 35) */
TASK f := log(f);
/* CIF NEXTSTATE (
516, 256), (100, 50
) */
/* CIF NEXTSTATE (
624, 358), (72, 38
) */
NEXTSTATE Wait;
ENDSTATE;
ENDPROCESS expressions;
\ No newline at end of file
Write
Preview
Supports
Markdown
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