[Gambas-user] User Digest, Vol 9, Issue 117 Additional files for Reading/Writing

CD claude.dessere at orange.fr
Fri Jun 29 16:16:56 CEST 2018


thank you, but I thought about the solution "settings",
I think it does not fit well.

This application is for Gambas developers, is a utility.
in the app I want to do:
sString = Split (File.load (sfile), "\ n")
I get my file in a sString[]  Array  (a hundred)

but I want the user of the app, a developer so,
can access the file to modify it,
according to certain rules, of course.
I even wrote help for the operation

if the Directory  and/or file are not present,
I create the directory, I copy the file,
then the user can edit it,
and after the app can read it again ...
if the user refuses, I use the default file.

The file is not temporary, once installed and modified, the app uses it every
time.
in fact I'm looking for the best location to do that.something like :
/home/User/.config/gambas3/MonAppli/MonFichier.ext
is not academic?
regards
Le vendredi 29 juin 2018 à 14:37 +0200, user-request at lists.gambas-basic.org a
écrit :
> Send User mailing list submissions to	user at lists.gambas-basic.org
> To subscribe or unsubscribe via the World Wide Web, visit	http://lists.
> gambas-basic.org/listinfo/useror, via email, send a message with subject or
> body 'help' to	user-request at lists.gambas-basic.org
> You can reach the person managing the list at	user-owner at lists.gambas-b
> asic.org
> When replying, please edit your Subject line so it is more specificthan "Re:
> Contents of User digest..."
> Today's Topics:
>    1. Re: Additional files for Reading/Writing (Gianluigi)   2. Re: can stored
> a OPENED connection object in a colletion?      (PICCORO McKAY Lenz)   3. Re:
> print does not output if the var is FALSE, how to      override? (PICCORO
> McKAY Lenz)
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180629/ba46eb56/attachment-0001.html>


More information about the User mailing list