Re: Stylistic question.

2022-06-22 Thread Mike Kerner via use-livecode
J.: Not true on the remote debugging. Everything I write is for mobes. Literally everything. Except for the server code for the mobes, but comparatively speaking, there are many, many, many more lines in the mobe code than there is in the server code. All of these behaviors are in script-only-stack

How to color a "cell"?

2022-06-22 Thread Richard Gaskin via use-livecode
I need to set the backgroundColor of a complete "cell", where "cell" is defined as the portion of a row in a table field between tabs when the vGrid is set. I had hoped the paragraph-level formatting options introduced in v5.x would help, but alas as far as I can tell I can only set the backgro

Re: arrayencode

2022-06-22 Thread Richard Gaskin via use-livecode
Alex Tweedly wrote: > Nevertheless, my central point remains (afact) valid - the support > for JSON in Livecode seems incomplete, and in particular it seems > flaky/missing on LCServer. Making externals easily findable by the LC Server engine should be a quick fix for them, no? -- Richard Ga

Re: arrayencode

2022-06-22 Thread Alex Tweedly via use-livecode
On 23/06/2022 00:38, Richard Gaskin via use-livecode wrote: Interesting take. Thanks. I'd read Tom's post as being about LSON, with LC in both producer and consumer roles, which would make a JavaScript-optimized format unnecessary.  Perhaps I'd misunderstood. No, you didn't misunderstand. I

Re: arrayencode

2022-06-22 Thread Richard Gaskin via use-livecode
Alex Tweedly wrote: > On 22/06/2022 17:02, Richard Gaskin via use-livecode wrote: >> [ ... about using JSON ... ] >> But if you don't need interoperability, you wouldn't need to write a >> parser, since LC includes a good one built into the engine. >> >> What did I miss? > > The fact that Livecod

Re: arrayencode

2022-06-22 Thread Alex Tweedly via use-livecode
On 22/06/2022 17:02, Richard Gaskin via use-livecode wrote: [ ... about using JSON ... ] But if you don't need interoperability, you wouldn't need to write a parser, since LC includes a good one built into the engine. What did I miss? The fact that Livecode's support for JSON is, hmmm, med

Re: Stylistic question.

2022-06-22 Thread Bob Sneidar via use-livecode
Well then Navigator is for you! If an object has a behavior and no script of it's own, it's color in the list is green. If it has a script but no behavior, it's color is blue. If it has both, it's purple. Simply double clicking an object opens it's behavior script if it has one, and it's native

Re: Stylistic question.

2022-06-22 Thread J. Landman Gay via use-livecode
I find that too many behavior stacks make it difficult to keep track of where things are. But the primary downside is that script-only stacks don't work with remote debugging. That's a big drawback for me since most of my apps these days are for mobile. I do use behaviors quite a bit, but I put

Re: arrayencode

2022-06-22 Thread Bob Sneidar via use-livecode
Okay I looked up JSON and can see these are two different animals. JSON looks like an xml-ish sort of format or a bit like the PDF fdf format for data files. (In fact, now that I think about it Adobe may be using JSON as their format. Bob S > On Jun 22, 2022, at 09:13 , Richard Gaskin via use

Re: arrayencode

2022-06-22 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > Richard I think I hear you say that JSON is an alternative to > arrayEncode? I'm apparently writing so badly maybe I should skip the shorthand "LSON" and just write the full form: "output from LC's built-in arrayEncode". I'd adopted "LSON" to help position its role as the

Re: arrayencode

2022-06-22 Thread Richard Gaskin via use-livecode
Tom Glod wrote: > Hello Richard, thanks for the detailed answer. > There are 2 reasons why I am considering this. > > 1. I can skip the encoding and decoding from and to json. > 2. it supports binary, and does not require base encoding and its > 33% inflation. > > For interoperability for the use

Re: arrayencode

2022-06-22 Thread Bob Sneidar via use-livecode
Richard I think I hear you say that JSON is an alternative to arrayEncode? What about storing to SQL blob and binary files? Will it suffice? I'd consider converting all my arrayEncoding to JSON if so. Bob S > On Jun 21, 2022, at 19:43 , Richard Gaskin via use-livecode > wrote: > > For bett

Re: Error message that vector icon widget missing when building iOS standalone

2022-06-22 Thread matthias rebbe via use-livecode
> Am 22.06.2022 um 17:10 schrieb matthias rebbe via use-livecode > : > > Hi, > > I have here an stack from which i created a standalone from in January. > > Today i needed to build a new version to get it running on iOS 15.5 > > > When i now try to build a standalone i get the error messag

Error message that vector icon widget missing when building iOS standalone

2022-06-22 Thread matthias rebbe via use-livecode
Hi, I have here an stack from which i created a standalone from in January. Today i needed to build a new version to get it running on iOS 15.5 When i now try to build a standalone i get the error message "Extension com.livecode.widget.vectoricon not found". I looked at the extension manager

Re: arrayencode

2022-06-22 Thread Tom Glod via use-livecode
Hello Richard, thanks for the detailed answer. There are 2 reasons why I am considering this. 1. I can skip the encoding and decoding from and to json. 2. it supports binary, and does not require base encoding and its 33% inflation. For interoperability for the users, JSON is the way to go for su

Re: arrayencode

2022-06-22 Thread Richard Gaskin via use-livecode
Martin Koob wrote: > Hi Richard > > Thanks for the explanation. I think it is a helpful term or > distinction to have. I think it would be good to actually have > that term with a formal definition published by LiveCode or > the community with references to BSON so it will show up in > web sea

Re: Stylistic question.

2022-06-22 Thread Mike Kerner via use-livecode
wupz. - i forgot the THEN's after each of the ELSE IF's too many languages on the same project swimming in my brain On Wed, Jun 22, 2022 at 9:46 AM Mike Kerner wrote: > For an example like a session during LCG, throwing everything into a > single script can make it easier to see everything, toge

Re: Stylistic question.

2022-06-22 Thread Mike Kerner via use-livecode
For an example like a session during LCG, throwing everything into a single script can make it easier to see everything, together, however, I absolutely, always, without exception, do this: 1) Every object that needs to do something gets its own handler, unless there is some reason to allow the beh

Re: arrayencode

2022-06-22 Thread Martin Koob via use-livecode
Hi Richard Thanks for the explanation. I think it is a helpful term or distinction to have. I think it would be good to actually have that term with a formal definition published by LiveCode or the community with references to BSON so it will show up in web searches for either term to lead p