Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
Print function("{Read x : =x**2}", 2)=4
|
||||
|
|
@ -0,0 +1 @@
|
|||
Print Valid(100/0)=False
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
Module Checkit {
|
||||
Function DetectDivisionByZero(&a()) {
|
||||
Try {
|
||||
a=a()
|
||||
}
|
||||
=Error$=" division by zero"
|
||||
}
|
||||
|
||||
Print DetectDivisionByZero(lazy$(10/0))=True
|
||||
Z=10
|
||||
A=4
|
||||
B=0
|
||||
Print DetectDivisionByZero(lazy$(Z/B))=True
|
||||
Print DetectDivisionByZero(lazy$(Z/A))=False
|
||||
}
|
||||
Checkit
|
||||
Loading…
Add table
Add a link
Reference in a new issue