LibreOffice 7.2 እርዳታ
Writes data to a sequential text file with delimiting characters.
Write [#fileNum] {,|;} expression [, …]
fileNum: Any numeric expression that contains the file number that was set by the Open statement for the respective file.
expression list: Variables or expressions that you want to enter in a file, separated by commas.
የ መግለጫ ዝርዝር የማይታይ ከሆነ: የ መጻፊያ አረፍተ ነገር ባዶ መስመር ወደ ፋይል ይጨምራል
የ መግለጫ ዝርዝር ለ መጨመር ወደ አዲስ ወይንም ወደ ነበረ ፋይል ውስጥ: ፋይሉ መከፈት አለበት በ ውጤት ወይንም መጨመሪያ ዘዴ
እርስዎ የሚጽፉት ሀረጎች በ ጥቅስ ምልክቶች ይከበባል እና ይለያያል በ ኮማ: እርስዎ እነዚህን ክፍተት መሙላት የለብዎትም በ መግለጫ ዝርዝር ውስጥ
እያንዳንዱ መጻፊያ አረፍተ ነገር የ መስመር መጨረሻ ውጤት ምልክት እንደ መጨረሻ ማስገቢያ ያሳያል
ቁጥሮች ከ ዴሲማል ቅደም ተከተል ጋር ይቀየራሉ እንደ ተሰናዳው ቋንቋ አይነት
Sub ExampleWrite
Dim iCount As Integer
Dim sValue As String
iCount = Freefile
Open "C:\Users\ThisUser\data.txt" For Output As iCount
sValue = "Hamburg"
Write #iCount,sValue,200
sValue = "New York"
Write #iCount,sValue,300
sValue = "Miami"
Write #iCount,sValue,450
Close #iCount
End Sub
Sub ExampleWrite
Dim iCount As Integer
Dim sValue As String
iCount = Freefile
Open "~/data.txt" For Output As iCount
sValue = "Hamburg"
Write #iCount,sValue,200
sValue = "New York"
Write #iCount,sValue,300
sValue = "Miami"
Write #iCount,sValue,450
Close #iCount
End Sub