[Gambas-user] Scripter gives useless error message

Zainudin Ahmad ilmitekno at gmail.com
Fri Dec 28 02:58:56 CET 2018

> In a little Gambas script which is called with root rights, I got an
> error message as a mail for root saying that in line 32 error #38 (File
> already exists) occurred.

Before quit from application you can remove cache file before , not sure
this will work for you (I have this code in my script) :

Public Sub Main()

Private Sub ResetCache()

  Dim sBinFile As String

  sBinFile = Application.Path &/ Application.Name

  If Exist(sBinFile) Then Kill sBinFile

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20181228/1931bc95/attachment.html>

More information about the User mailing list