source: git/Tst/Manual/pyobject_expressions.tst @ 85bcd6

fieker-DuValspielwiese
Last change on this file since 85bcd6 was 894057, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
  • Property mode set to 100644
File size: 274 bytes
Line 
1LIB "tst.lib"; tst_init();
2  pyobject pystr = "python string ";
3  pystr;
4  pyobject pyint = 2;
5  pyint;
6  pyobject pylst = list(pystr, pyint);
7  pylst;
8  pyint + pyint;
9  pyint * pyint;
10  pystr + pystr;
11  pystr * pyint;
12  python_eval("17 + 4");
13  typeof(_);
14tst_status(1);$
Note: See TracBrowser for help on using the repository browser.