Files
oraset/examples/test.oraset
T
2026-04-24 21:54:58 +08:00

18 lines
244 B
Plaintext

// 测试.oraset文件
show(`Hello from .oraset file!`);
// 变量定义
x = 10;
y = 20;
sum = x + y;
show(`10 + 20 = `, sum);
// 函数定义
def add(a, b) {
return a + b;
}
// 函数调用
result = add(5, 6);
show(`5 + 6 = `, result);