Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-17 Thread Mauricio Baeza Servin
On Tue, 17 Jul 2018 23:54:44 -0500 (CDT), "Mauricio Baeza Servin" wrote: > > > > > > ok, I will write the firs very simple new UNO component, and I will > > > documented it... > > > > > > Please, be merciful to my English > > > > Awesome! > > > > > ok, I has finish first draft where I show

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-17 Thread Mauricio Baeza Servin
> > > > ok, I will write the firs very simple new UNO component, and I will > > documented it... > > > > Please, be merciful to my English > > Awesome! > ok, I has finish first draft where I show you: First macro. First minimal Calc function (Add-in) First minimal extension (Add-on) First

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-10 Thread Tom Davies
Hi :) I don't have a specific purpose. I was more thinking of just learning for fun as a hobbyist in those brief moments where i have time and fancy something to get my teeth into for half and hour or so. Regards from a Tom :) On 9 July 2018 at 17:40, Andrew Pitonyak wrote: > > Disclaimer: I

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-09 Thread gordon cooper
We were allowed the occasional GoTo, but only if it was a forward jump, never backwards. IF...THEN   and ELSE DO  were much to be preferred. I have tinkered with Python and would prefer it to Basic but have little need for any programming these days. Gordon. On 09/07/18 23:39, jonathon

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-09 Thread Drew Jensen
Let's try sending that reply to the list also. (sorry) On Mon, Jul 9, 2018 at 6:01 PM Drew Jensen wrote: > Howdy Patrick, et al; > > On Mon, Jul 9, 2018 at 9:11 AM Patrick Gelin > wrote: > >> I think there is a problem with python: nomadism ! If I want to use my >> USB key with Base connecting

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-09 Thread Drew Jensen
Howdy Patrick, et al; On Mon, Jul 9, 2018 at 9:11 AM Patrick Gelin wrote: > I think there is a problem with python: nomadism ! If I want to use my > USB key with Base connecting to HSQLDB I need to install > LibreOffice/OpenOffice into the PC, then JAVA, Then HSQLDB ... then > Python ! It's a

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-09 Thread Andrew Pitonyak
On 2018-07-09 14:21, Mauricio Baeza Servin wrote: On Mon, 09 Jul 2018 18:01:37 + (UTC), Andrew Pitonyak wrote: On 2018-07-09 13:25, Mauricio Baeza Servin wrote: > You can make; macros, functions of Calc (full integrated in function > wizard), extensions and new UNO components. This

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-09 Thread Mauricio Baeza Servin
On Mon, 09 Jul 2018 18:01:37 + (UTC), Andrew Pitonyak wrote: > On 2018-07-09 13:25, Mauricio Baeza Servin wrote: > > > You can make; macros, functions of Calc (full integrated in function > > wizard), extensions and new UNO components. > > This last part is very important for more serious

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-09 Thread Andrew Pitonyak
On 2018-07-09 13:25, Mauricio Baeza Servin wrote: You can make; macros, functions of Calc (full integrated in function wizard), extensions and new UNO components. This last part is very important for more serious programs. For certain serious integration, Basic fails, but it sounds like

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-09 Thread Mauricio Baeza Servin
On Mon, 9 Jul 2018 11:20:49 +0100, Tom Davies wrote: > Hi :) > > > @ all: Do you think Python is easy as a 1st language? - or is it better to > start with something else first to ease into it all? > All languages have pros and contra, but the advantages of Python are very big more than it

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-09 Thread Andrew Pitonyak
Disclaimer: I have only used Python once to to talk to LO. In fact, I work pretty hard to write all of my "macros" in Basic because support is very consistent across platforms. I cannot comment directly on Python, but, in Basic, I do not need to worry about which interface handles which

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-09 Thread Patrick Gelin
I think there is a problem with python: nomadism ! If I want to use my USB key with Base connecting to HSQLDB I need to install LibreOffice/OpenOffice into the PC, then JAVA, Then HSQLDB ... then Python ! It's a lot. I would like to use nn install system at work because admin installed

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-09 Thread toki
On 09/07/18 05:19 AM, gordon cooper wrote: > GoTo. One of the curses of Basic, the GoTo. There is a Python implementation that includes GoTo! > One of our Pascal lecturers was very  anti-Basic and forbade us to use it,  > or to even talk about it My Pascal instructor was of the mind that the

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-09 Thread Ben Oliver
On 18-07-09 11:20:49, Tom Davies wrote: @ all: Do you think Python is easy as a 1st language? - or is it better to start with something else first to ease into it all? Python is great. Quite easy to get into, but capable enough that you can really get stuff done. -- To unsubscribe e-mail

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-09 Thread Tom Davies
Hi :) @ Mauricio: Wow!!! That was very eloquent! :)) Thanks :) @ Gordon: Sorry! I had a go with Pascal but got distracted and didn't get very far. It looked a LOT more elegant but i was entrenched in using Basic at the time and couldn't handle the back to basics at that point in time. @

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-08 Thread gordon cooper
GoTo. One of the curses of Basic, the GoTo. When used by newcomers (and a few some old hands too) a Basic program would  soon become an unstructured mess of GoTo's and a hassle to debug.  One of our Pascal lecturers was very  anti-Basic and forbade us to use it,  or to even talk about it in his

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-08 Thread toki
On 08/07/18 09:04 PM, Tom Davies wrote: > I remember learning one form of basic in the 80s and that was pretty easy There is a book from the early/mid eighties, that is simply lists the vocabulary of the various dialects of BASIC in use then. IIRC, it was called _The BASIC Book_. It was written

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-08 Thread Mauricio Baeza Servin
On Sun, 8 Jul 2018 15:30:18 -0400, Drew Jensen wrote: > Howdy, Mauricio, Patrick > > I am curious as to why you think python is always the better choice? (ie. > error handling, or whatever; or is it just always so in Patrick's use case > and the example code you supplied there) > > Also, I

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-08 Thread Tom Davies
Hi :) Ahh, yes. Here is often good for anything. Macros are definitely for this mailing list. I remember learning one form of basic in the 80s and that was pretty easy back then. I gather it's become over-complicated now so i'm starting again from Scratch and then Python - or kinda both at the

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-08 Thread Drew Jensen
Howdy Tom, Well, I was specifically asking Mauricio, after looking over the example basic code particularly, I am interested in his thoughts. As for this being the user mailing list, macros are user level question I would think, Basic is assumed usually, but Python is just as valid and about as

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-08 Thread Tom Davies
Hi :) I think the Devs Mailing list or IPA, IIRC or whatever is prolly better at giving a good answer to that. They may be annoyed as it's prolly not what they usually post to there. Maybe it's best to try the QA Team? There used to be a "mentoring" program to help people start to code for

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-08 Thread Drew Jensen
Howdy, Mauricio, Patrick I am curious as to why you think python is always the better choice? (ie. error handling, or whatever; or is it just always so in Patrick's use case and the example code you supplied there) Also, I you don't mind me asking. I'm new python scripting in LibreOffice. Do

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-08 Thread Mauricio Baeza Servin
On Sun, 8 Jul 2018 21:03:02 +0200, Patrick Gelin wrote: > Ok, with a factory for self variable into pseudo objects. I was thinking > of this solution already, but I was hoping a better solution in next > version ... > - Do you need this pseudo object code could be better object model >

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-08 Thread Patrick Gelin
Ok, with a factory for self variable into pseudo objects. I was thinking of this solution already, but I was hoping a better solution in next version ... - Do you need this pseudo object code could be better object model complient next day ? - Or do you think python will be a better way for

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-07 Thread Mauricio Baeza Servin
On Sat, 7 Jul 2018 20:04:07 +0200, Patrick Gelin wrote: > Hi, > > 1. I'm using pseudo object style when I'm coding with Basic. What about > putting my  pseudo basic objects into library ? It looks like I couldn't > use new to create object if I put them into a library ... > > 2. Can I access

Re: [libreoffice-users] About pseudo objects with Basic code ...

2018-07-07 Thread Regina Henschel
Hi Patrick, Patrick Gelin schrieb am 07-Jul-18 um 20:04: Hi, 1. I'm using pseudo object style when I'm coding with Basic. Please add an code example of this "pseudo object style". Kind regards Regina -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems?

[libreoffice-users] About pseudo objects with Basic code ...

2018-07-07 Thread Patrick Gelin
Hi, 1. I'm using pseudo object style when I'm coding with Basic. What about putting my  pseudo basic objects into library ? It looks like I couldn't use new to create object if I put them into a library ... 2. Can I access global variable into a librarie ? 3. Do you know a trik to simulate