קובץ טקסט

66tamir

New member
קובץ טקסט

האם אפשר לגשת לשורה מסוימת בקובץ טקסט? והאם אפשר לשמור משתנים בצורה שלמה כמו מערך ולטעון אותו מקובץ בצורה שלמה
 

shai_shai_shai

New member
תשובה

כן אפשר לקרוא לשורה מסוימת מתוך קובץ טקסט אבל שחכתי איך עושים את זה אבל אני יודע שיש את התוכנה הזאת או באתר הזה או ב www.dr-vb.co.il
 

IshayPer

New member
תנסה את זה

Type Record ´ Define user-defined type. ID As Integer Name As String * 20 End Type Dim MyRecord As Record, Position ´ Declare variables. ´ Open sample file for random access. Open "TESTFILE" For Random As #1 Len = Len(MyRecord) ´ Read the sample file using the Get statement. Position = 3 ´ Define record number. Get #1, Position, MyRecord ´ Read third record. Close #1 ´ Close file
 
למעלה