[Gambas-user] Copy and paste from printing IDE code
Gianluigi
bagonergi at gmail.com
Thu Jul 18 14:39:16 CEST 2019
Hi Benoit,
I can't paste correctly in the IDE of the code printed by the IDE itself in
pdf.
Following the code copied and pasted: [0]
Do I miss anything?
Regards
Gianluigi
[0] ' Gambas module file
Public Sub Main()
Dim sPath As String = User.Home &/ Application.Name
If Not Exist(sPath) Then Try Mkdir sPath
sPath = sPath &/ "Database"
If Not Exist(sPath) Then Try Mkdir sPath
Connections["Connection1"].host = sPath
If Not Exist(sPath &/ "test.sqlite") Then Try Copy
"./Database/test.sqlite" To sPath &/ "test.sqlite"
Connections["Connection1"].Name = "test.sqlite"
FMain.Show
End
'' PASTE RESULT
' Gambas module file
Public Sub Main()
()
Dim sPath As String = User.
.Home &/ Application.
.Name
If Not Exist
Exist(
(sPath)
) Then Try Mkdir sPath
sPath = sPath &/ "Database"
If Not Exist
Exist(
(sPath)
) Then Try Mkdir sPath
Connections[
["Connection1"].
].host = sPath
If Not Exist
Exist(
(sPath &/ "test.sqlite")
) Then Try Copy "./Database/test.sqlite" To sPath &/
"test.sqlite"
Connections[
["Connection1"].
].Name = "test.sqlite"
FMain.
.Show
End
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190718/30ae86ec/attachment.html>
More information about the User
mailing list