Difference between revisions of "EDT:Working with custom types"
(New page: Your custom types are based on these EGL classifiers: :Delegate, Enumeration, ExternalType, Handler, :[[#Interface|Interface]...)
|Line 45:||Line 45:|
Revision as of 20:57, 12 February 2012
Your custom types are based on these EGL classifiers:
Service MyService // variables and constants can be here function calculate(myScore Int) returns (Decimal (4,2)) numberOfScores, i, mySum Int; numberOfScores = myScore.getSize(); for (i from 1 to numberOfScores by 1) mySum = myScore[i] + mySum; end return(mySum/numberOfScores); end // other functions are here end