
Type MathScoreId As LongName As StringEmail As StringAge AsIntegerScore AsDoubleEnd Type
Function ReadRecord(ByVal rowAs Long) As MathScoreDim ms As MathScorems.Id = CLng(Cells(row, 1).Value)ms.Name = Cells(row, 2).Valuems.Email = Cells(row, 3).Valuems.Age = CInt(Cells(row, 4).Value)ms.Score = CDbl(Cells(row, 5).Value)ReadRecord = msEndFunction

ReadRecord:这个名字反映的是函数的物理动作 BuildMathScore:这个名字反映的是函数的逻辑功能

夜雨聆风