I'm certain something is wrong with this code. Can anybody see it plainly? I've been staring at it too long to make sense of it anymore.
Code:
SavedFile = FREEFILE OPEN $ListFileName FOR RANDOM AS SavedFile LEN = SIZEOF(CreditsForm) RecordCount = LOF(SavedFile) / SIZEOF(CreditsForm) FOR RecNo = 1 TO RecordCount GET #SavedFile, RecNo, CreditsForm tempString = TRIM$(CreditsForm.SName) LISTBOX ADD hDlg, %IDC_LISTBOX1, tempString NEXT RecNo CLOSE #SavedFile
Comment