Skip to content

Commit 3bd474b

Browse files
authored
Added Comments
1 parent 8f847b2 commit 3bd474b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CRO/tests/tools.pm6

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
#Defines the Module Name. Make sure the file extension is .pm6
12
unit module tools;
2-
3+
4+
#Rememeber to include "is export" after the first line in the function otherwise an error will occur.
35
sub avg($n1, $n2) is export {
46
my $add = $n1 + $n2;
57
my $avg = $add / 2;

0 commit comments

Comments
 (0)