We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35ec8ca commit 96337b2Copy full SHA for 96337b2
Examples/test-suite/octave/argcargvtest_runme.m
@@ -0,0 +1,29 @@
1
+argcargvtest
2
+
3
+largs={'hi','hola','hello'};
4
+if (mainc(largs) != 3)
5
+ error("bad main typemap");
6
+endif
7
8
+targs={'hi','hola'};
9
+if (mainv(targs,1) != 'hola')
10
11
12
13
+targs={'hi', 'hola'};
14
15
16
17
18
+try
19
+ error_flag = 0;
20
+ mainv('hello',1);
21
+ error_flag = 1;
22
+catch
23
+end_try_catch
24
+if (error_flag)
25
+ error("bad main typemap")
26
27
28
29
+initializeApp(largs);
0 commit comments