Retro68/Rez/Test.r

29 lines
382 B
R
Raw Normal View History

2014-10-05 21:52:34 +00:00
/*#include "Types.r"
*/
2014-10-07 22:41:40 +00:00
//#include "/home/wolfgang/Projects/Retro68/CExamples/Sample.r"
2014-10-05 21:52:34 +00:00
type 'TEST' {
2014-10-07 22:41:40 +00:00
integer zero, one, two, answer = 42, missed;
longint;
//integer = (after - before) / 32;
integer = $$CountOf(foo);
before:
array foo {
integer = $$ArrayIndex(foo);
integer;
integer;
};
after:
;
2014-10-05 21:52:34 +00:00
};
2014-10-07 22:41:40 +00:00
resource 'TEST' (128) {
answer,
0x1234,
{ 1, 2; 3, 4; }
};