Subject: Re: [libreoffice-users] Re: BASIC script how to read/write system
files, like /dev/null in Linux
Date: Montag, 15. Oktober 2012
From: Walther Koehler <w.koehler@onlinemed.de>
To: users@global.libreoffice.org
Hi,
if you drop Basic as a makro language in writer, you will drop me as a makro
user, and maybe even as a LO user.
It gives me the freedom to automatize much of my daily tasks without learning
another high level language.
And when I want to use GNU/Linux system functions I use extensiveley the shell
comand, i.e. dir() is quite slow, but calling a shell script with an
elaborate find command does the task very quick.
or: use sed to run through the odt's looking up the print date or ...
Maybe it might helt with /dev/.. too.
Walther
Although sometimes
Am Montag, 15. Oktober 2012 schrieb Tom Davies:
Hi :)
What are 'the best' languages to choose? Python and/or C++? or something
else?
I know 'the best' is a bit subject to personal feelings and knowledge and
experience but it would be interesting to hear people's opinions. From
what i can gather Python and C++ are teh best although mainstream seems to
rate Java more highly and it appears in job ads more often. On the other
hand when jobs ask for C++ the pay-grade is far higher. I got as far as
Speccy Basic, a little pascal and some machine code but i think that's all
soooo far behind me that i doubt i could write much even in those languages
now (&machine code was a tfn and only ever worked on the specific machine i
wrote for (at best)). Regards from
Tom :)
--- On Mon, 15/10/12, Andreas Säger <villeroy@t-online.de> wrote:
From: Andreas Säger <villeroy@t-online.de>
Subject: [libreoffice-users] Re: BASIC script how to read/write system
files, like /dev/null in Linux To: users@global.libreoffice.org
Date: Monday, 15 October, 2012, 7:17
Am 14.10.2012 21:08, chaonis wrote:
I am trying to write scripts accessing the system files, such as
/dev/ttyS0. If I use "Open" I got the error "Device I/O error" message.
Are there any special function call needed to be done for the system
files? User permission is good as I can access to the file using any
other Linux commands.
You have so many programming languages availlable. Why StarBasic?
StarBasic is the most primitive API-caller. It is almost useless for
anything outside the UNO scope. (Apart from that, it is the worst
implementation of an extinct language).
--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems?
http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be
deleted
-------------------------------------------------------
--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Context
- Fwd: Re: [libreoffice-users] Re: BASIC script how to read/write system files, like /dev/null in Linux · Walther Koehler
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.