This website requires JavaScript.
Explore
Help
Register
Sign in
aparler
/
RosettaCodeData
Watch
1
Star
0
Fork
You've already forked RosettaCodeData
0
Code
Issues
12
Pull requests
3
Projects
Releases
Packages
Wiki
Activity
Actions
main
RosettaCodeData
/
Task
/
Assertions
/
Yabasic
/
assertions.basic
8 lines
100 B
Text
Raw
Permalink
Normal View
History
Unescape
Escape
Initial data commit
2023-07-01 11:58:00 -04:00
sub assert(a)
Data update
2026-04-30 12:34:36 -04:00
if not a then
error "Assertion failed"
end if
Initial data commit
2023-07-01 11:58:00 -04:00
end sub
assert(myVar = 42)
Reference in a new issue
Copy permalink