diff options
author | Rafael Lima <rafael.palma.lima@gmail.com> | 2021-07-19 14:22:16 +0200 |
---|---|---|
committer | Jean-Pierre Ledure <jp@ledure.be> | 2021-07-21 12:22:57 +0200 |
commit | bd9131a3c09e8bd80820d923e73dc9daa247a1e1 (patch) | |
tree | ae13eae9ad037c37e4c9e04574cf0bac67b90824 /source/text/sbasic/shared/03/sf_textstream.xhp | |
parent | tdf#132643 Translate German section IDs (diff) | |
download | help-bd9131a3c09e8bd80820d923e73dc9daa247a1e1.tar.gz help-bd9131a3c09e8bd80820d923e73dc9daa247a1e1.zip |
Change examples using "~" (tilde) shortcut in SF help files
Change-Id: I462e9a79a1776c0bc6acb67a8d5b08b85c2ae106
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/119178
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Diffstat (limited to 'source/text/sbasic/shared/03/sf_textstream.xhp')
-rw-r--r-- | source/text/sbasic/shared/03/sf_textstream.xhp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/text/sbasic/shared/03/sf_textstream.xhp b/source/text/sbasic/shared/03/sf_textstream.xhp index 61210f46c0..54311ec1c5 100644 --- a/source/text/sbasic/shared/03/sf_textstream.xhp +++ b/source/text/sbasic/shared/03/sf_textstream.xhp @@ -229,7 +229,7 @@ <paragraph role="bascode" localize="false" id="bas_id931613595640789"> Dim FSO : FSO = CreateScriptService("FileSystem")</paragraph> <paragraph role="bascode" id="bas_id181613595641087"> 'Opens the text file with the names to be read</paragraph> <paragraph role="bascode" localize="false" id="bas_id291613595641480"> Dim inputFile as Object</paragraph> - <paragraph role="bascode" localize="false" id="bas_id651613595641754"> Set inputFile = FSO.OpenTextFile("~/Documents/Students.txt")</paragraph> + <paragraph role="bascode" localize="false" id="bas_id651613595641754"> Set inputFile = FSO.OpenTextFile("/home/user/Documents/Students.txt")</paragraph> <paragraph role="bascode" localize="false" id="bas_id711613595642109"> 'Reads all the contents in the input file as a single string</paragraph> <paragraph role="bascode" localize="false" id="bas_id81613595642474"> Dim allData as String</paragraph> <paragraph role="bascode" localize="false" id="bas_id191613595642766"> allData = inputFile.ReadAll()</paragraph> @@ -314,7 +314,7 @@ <paragraph role="bascode" id="bas_id21613321528612"> 'Instantiates the FileSystem Service</paragraph> <paragraph role="bascode" localize="false" id="bas_id711613321529004"> Dim FSO as Variant : FSO = CreateScriptService("FileSystem")</paragraph> <paragraph role="bascode" id="bas_id191613321529277"> 'Creates a text file</paragraph> - <paragraph role="bascode" localize="false" id="bas_id861613321529684"> Dim myFile as Variant : myFile = FSO.CreateTextFile("~/Documents/squares.csv")</paragraph> + <paragraph role="bascode" localize="false" id="bas_id861613321529684"> Dim myFile as Variant : myFile = FSO.CreateTextFile("/home/user/Documents/squares.csv")</paragraph> <paragraph role="bascode" id="bas_id641613321530181"> 'Writes the Value and Value squared, separated by ";"</paragraph> <paragraph role="bascode" localize="false" id="bas_id331613321530548"> Dim value as Integer</paragraph> <paragraph role="bascode" id="bas_id141613321530960"> myFile.WriteLine("Value;Value Squared")</paragraph> |