mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-28 10:51:14 +00:00
30 lines
550 B
Plaintext
30 lines
550 B
Plaintext
/* Test C02 array manipulation */
|
|
|
|
#pragma origin 1000
|
|
|
|
char b, c, i;
|
|
|
|
char r[255];
|
|
const char s = "string";
|
|
const char d = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9'};
|
|
const char n = {1, 2, 3, 4, 5, 6, 7, 8, 9};
|
|
const char t = {"eins", 1, "zwei", 2, "drei", 3, "vier", 4};
|
|
const char z = "zero";
|
|
|
|
char func();
|
|
|
|
puts(" ");
|
|
|
|
c = d[3];
|
|
b = n[i];
|
|
b = s[n[i]];
|
|
b = s[c + n[i-1]];
|
|
b = s[func()];
|
|
b = s[0] & d[c-1] | n[i+2];
|
|
b = s[A] + b[X] + c[Y];
|
|
|
|
r[0], r[1], r[2] = func();
|
|
r[b], r[c], r[i] = func();
|
|
|
|
pop b, d[i], n[func()], s[c-n[i+3]];
|