PageRenderTime 9ms CodeModel.GetById 2ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/octave/namespace_class_runme.m

#
Objective C | 39 lines | 28 code | 11 blank | 0 comment | 2 complexity | 8c1a3e627dd168f7e8d742c6e48836ca MD5 | raw file
 1namespace_class
 2
 3try
 4  p = Private1();
 5  ok = 1;
 6catch
 7  ok = 0;
 8end_try_catch
 9
10if (ok)
11  error("Private1 is private")
12endif
13
14try
15  p = Private2();
16  ok = 1;
17catch
18  ok = 0;
19end_try_catch
20
21if (ok)
22  error("Private2 is private")
23endif
24
25EulerT3D.toFrame(1,1,1);
26
27b = BooT_i();
28b = BooT_H();
29
30
31f = FooT_i();
32f.quack(1);
33
34f = FooT_d();
35f.moo(1);
36
37f = FooT_H();
38f.foo(Hi);
39