Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
10
Task/Compound-data-type/Diego/compound-data-type.diego
Normal file
10
Task/Compound-data-type/Diego/compound-data-type.diego
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
use_namespace(rosettacode)_me();
|
||||
|
||||
add_struct(point)_arg(x,y);
|
||||
|
||||
with_point(point1)_arg(4,3);
|
||||
|
||||
// Since no datatype is specified for the args any datatype can be passed
|
||||
with_point(point2)_arg(0.033,👣);
|
||||
|
||||
reset_namespace[];
|
||||
Loading…
Add table
Add a link
Reference in a new issue