36_Thoughtless

Social

Relationship Status

Single

Tomorrow Class Constructor

May 01 2006

Function Tomorrow = exam(grade)
If nargin == 0
   
Tomorrow.value = 0
   
Tomorrow = class(tomorrow, 'No Big Deal')
Elseif isa(grade, 'exam')
   
Tomorrow = grade
Else
   
Tomorrow.value = grade
   
Tomorrow = class(tomorrow, 'Really Big Deal')
End