File: 04-function-nested.txt

package info (click to toggle)
libixion 0.20.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,472 kB
  • sloc: cpp: 21,273; sh: 4,561; makefile: 463; python: 297
file content (10 lines) | stat: -rw-r--r-- 189 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
%% Test case for nested functions.
%mode init
A5=MIN(MIN(2, 4), MAX(1,8))
A6=CONCATENATE("min: ", MIN(A5, 4), "; max: ", MAX(1, 8))
%calc
%mode result
A5=2
A6="min: 2; max: 8"
%check
%exit