高手们帮我说下,VB6.0的LOF问题?
Private type studentsno as integer
sname as string*10
Ssex as string *2
sage as integer
end type
dim stu as student
private sub command1_click()
stu.sno=val(text1.text)
stu.sname=text2.text
stu.ssex=text3.text
stu.sage=val(text4.text)
open "e:/student.dat" for random as 1 len=len(stu)
recordno=lof(1)/len(stu)+1
put#1,recordno,stu
close#1
end sub
其中的recordno=lof(1)/len(stu)+1怎么理解