Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
7
Task/Null-object/Maple/null-object-1.maple
Normal file
7
Task/Null-object/Maple/null-object-1.maple
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
a := NULL;
|
||||
a :=
|
||||
is (NULL = ());
|
||||
true
|
||||
if a = NULL then
|
||||
print (NULL);
|
||||
end if;
|
||||
12
Task/Null-object/Maple/null-object-2.maple
Normal file
12
Task/Null-object/Maple/null-object-2.maple
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
b := Array([1, 2, 3, Integer(undefined), 5]);
|
||||
b := [ 1 2 3 undefined 5 ]
|
||||
numelems(b);
|
||||
5
|
||||
b := Array([1, 2, 3, Float(undefined), 5]);
|
||||
b := [ 1 2 3 Float(undefined) 5 ]
|
||||
numelems(b);
|
||||
5
|
||||
b := Array([1, 2, 3, NULL, 5]);
|
||||
b := [ 1 2 3 5 ]
|
||||
numelems(b);
|
||||
4
|
||||
Loading…
Add table
Add a link
Reference in a new issue