Skip to content
This repository was archived by the owner on Jan 9, 2021. It is now read-only.

Commit

Permalink
Main sample was improved.
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Oct 30, 2016
1 parent ba8ae6d commit 34b132b
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion main.yepc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ record #li11 {
int #at11 (int #ba12, #ca23[]; bool #do43, #el32; int #fo12)
{
int #gn11, #ho12[100];
real #el72;
#el72 = 72.20;
#po11 #aP11; #li11 #aL11;
#li11 #tw33[2];
#aP11.#xx11 = 666; #aP11.#yy11 = 667;
Expand All @@ -26,8 +28,19 @@ int #at11 (int #ba12, #ca23[]; bool #do43, #el32; int #fo12)
else if (#fo12 .ne 0) #fo12 += 7;
}
}
#fo12 = ?5;
switch (#fo12) {
case 0:
#fo12++;
break;
case 1:
#fo12--;
break;
default:
break;
}
return (#fo12+#ba12 *#ca23 [#ba12])/- #fo12;
}
// note that functions are defined using a statement
int #ma11(int #aa11, #bb11)
if (#aa11>#bb11) return #aa11; else return #bb11;
if (#aa11 .gt #bb11) return #aa11; else return #bb11;

0 comments on commit 34b132b

Please sign in to comment.