Re: Three very simple questions

2020-04-29 Thread Graham Samuel via use-livecode
gt; To: How to use LiveCode > Cc: Graham Samuel > Sent: Tue, Apr 28, 2020 3:44 pm > Subject: Re: Three very simple questions > > Bill, I think you’re right about the Guide not being searchable. I was going > to point it out myself, but I began to think that I had used up my grum

Re: Three very simple questions

2020-04-28 Thread dunbarx--- via use-livecode
The user guide? It certainly is searchable. I do it all the time. Craig -Original Message- From: Graham Samuel via use-livecode To: How to use LiveCode Cc: Graham Samuel Sent: Tue, Apr 28, 2020 3:44 pm Subject: Re: Three very simple questions Bill, I think you’re right about the

Re: Three very simple questions

2020-04-28 Thread Brian Milby via use-livecode
Correct about the guide.  A PDF is included which can be searched (help... user guide).  There is a bug about the guide search.  It is probably going to take JavaScript though. Thanks, Brian On Apr 28, 2020, 3:44 PM -0400, Graham Samuel via use-livecode , wrote: > Bill, I think you’re right abo

Re: Three very simple questions

2020-04-28 Thread Graham Samuel via use-livecode
Bill, I think you’re right about the Guide not being searchable. I was going to point it out myself, but I began to think that I had used up my grumbling allowance, or at least I had not much left and needed to use it for other things. Of course the Giude should be searchable! Graham Re grumb

Re: Three very simple questions

2020-04-26 Thread prothero--- via use-livecode
Folks: I think Graham is doing LiveCode a favor by pointing out some of the ways a newby (even though he isn’t) might get messed up when learning LiveCode. We all get used to various approaches and newbies (even tho Graham isn’t) alert us to impediments for that very vital population of potentia

Re: Three very simple questions

2020-04-26 Thread Mark Wieder via use-livecode
On 4/26/20 12:09 PM, Sannyasin Brahmanathaswami via use-livecode wrote: "globals are evil" But we use one array Global gConfigA and we stuff it with all manner of "things" including another arrays it turns about to quite useful Yes, I do what you and Jacque do as a workaround, of course. I

Re: Three very simple questions

2020-04-26 Thread Sannyasin Brahmanathaswami via use-livecode
"globals are evil" But we use one array Global gConfigA and we stuff it with all manner of "things" including another arrays it turns about to quite useful On 4/26/20, 8:11 AM, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: When I need a calculated constant I use

Re: Three very simple questions

2020-04-26 Thread J. Landman Gay via use-livecode
When I need a calculated constant I use a script local variable instead and populate its content on preopencard or preOpenStack. After that its available just as a constant would be. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April

Re: Three very simple questions

2020-04-26 Thread Mark Wieder via use-livecode
On 4/26/20 9:21 AM, Graham Samuel via use-livecode wrote: Yes, thanks! That’s exactly what I was hoping for. I know that LC is strictly a real-time interpreter of a script rather than a compiler -> runtime system, but nevertheless it would be more comfortable to allow a better range of constant

Re: Three very simple questions

2020-04-26 Thread Graham Samuel via use-livecode
Thanks Klaus, you are very patient with my stupid questions, as is Alex. In general I am looking for ways to define stuff in the IDE to create objects and align them etc during the design phase, rather than make such essentially static things happen at run time. It seems silly to have to run a

Re: Three very simple questions

2020-04-26 Thread Graham Samuel via use-livecode
Thanks, see my other replies. Three questions deserve three replies - I hope the cooking went well. Graham > On 26 Apr 2020, at 14:27, Alex Tweedly via use-livecode > wrote: > > Sorry for sending 3 replies - but I don't know when I will run out of time, > and wanted to get some sent before

Re: Three very simple questions

2020-04-26 Thread Graham Samuel via use-livecode
Thanks Alex, I just missed it! I knew it was there somewhere… have written to Klaus about it too. Graham > On 26 Apr 2020, at 14:21, Alex Tweedly via use-livecode > wrote: > > > On 26/04/2020 13:11, Graham Samuel via use-livecode wrote: >> 1. In the IDE, the ‘Align Selected Controls’ menu it

Re: Three very simple questions

2020-04-26 Thread Graham Samuel via use-livecode
Yes, thanks! That’s exactly what I was hoping for. I know that LC is strictly a real-time interpreter of a script rather than a compiler -> runtime system, but nevertheless it would be more comfortable to allow a better range of constants. Right now you can’t even write constant K= 2/3 and get

Re: Three very simple questions

2020-04-26 Thread Alex Tweedly via use-livecode
On 26/04/2020 13:28, Klaus major-k via use-livecode wrote: I was thinking for example of an array of constants (really strings) which could be written into my script. Again, if that’s possible I don’t know how. It seems odd to have to do something like convert lists of constants into array f

Re: Three very simple questions

2020-04-26 Thread Alex Tweedly via use-livecode
Sorry for sending 3 replies - but I don't know when I will run out of time, and wanted to get some sent before the oven demands attention :-) On 26/04/2020 13:11, Graham Samuel via use-livecode wrote: 3. I can’t work out if you can construct an array using the IDE, i.e. prior to actually execu

Re: Three very simple questions

2020-04-26 Thread Klaus major-k via use-livecode
Hi Graham, someone called my name? :-D > Am 26.04.2020 um 14:11 schrieb Graham Samuel via use-livecode > : > > I’m sending this again because some strange text appeared in my message the > first time. Don’t know how it go there! > > Folks, I’m finding it difficult to search the lessons and th

Re: Three very simple questions

2020-04-26 Thread Alex Tweedly via use-livecode
On 26/04/2020 13:11, Graham Samuel via use-livecode wrote: 1. In the IDE, the ‘Align Selected Controls’ menu item doesn’t allow all possible combinations of alignment, particularly aligning horizontal and vertical centres; nor does it allow alignments in relation to the stack dimensions. I th

Re: Three very simple questions

2020-04-26 Thread Alex Tweedly via use-livecode
On 26/04/2020 13:11, Graham Samuel via use-livecode wrote: 2. I’ve not had to use LC arrays much, at least not ones containing my own data. The description of arrays is somewhat scattered throughout the lessons and the Guide, and I failed to find a thorough treatment of the whole idea of arra

Three very simple questions

2020-04-26 Thread Graham Samuel via use-livecode
I’m sending this again because some strange text appeared in my message the first time. Don’t know how it go there! Folks, I’m finding it difficult to search the lessons and the LC Guide to get really simple info, so forgive me for these grossly newbie questions: 1. In the IDE, the ‘Align Selec

Three very simple questions

2020-04-26 Thread Graham Samuel via use-livecode
Folks, I’m finding it difficult to search the lessons and the LC Guide to get really simple info, so forgive me for these grossly newbie questions: 1. In the IDE, the ‘Align Selected Controls’ menu item doesn’t allow all possible combinations of alignment, particularly aligning horizontal