7 lines
100 B
Text
7 lines
100 B
Text
sub assert(a)
|
|
if not a then
|
|
error "Assertion failed"
|
|
end if
|
|
end sub
|
|
|
|
assert(myVar = 42)
|