forked from AbleOS/ableos
7 lines
203 B
Plaintext
7 lines
203 B
Plaintext
any := fn($Expr: type): Expr {
|
|
return *@eca(3, 4, &@as(Expr, idk), @sizeof(Expr))
|
|
}
|
|
|
|
range := fn($Expr: type, min: Expr, max: Expr): Expr {
|
|
return @inline(any, Expr) % (max - min) + @intcast(1) + min
|
|
} |