Hi jbv,
there are no tabs that i know of in our browser widget, each tab would be
its own widget .. you can delete or hide the widget to achieve this
effect.
On Tue, Feb 11, 2025 at 9:42 AM jbv via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Hi list,
>
> Is it poss
Hi list,
Is it possible to close a tab of a website displayed
inside a browser widget ?
I am on Mac and I know this can be done using AppleScript,
but is there an LC-only solution ?
Thank you in advance.
jbv
___
use-livecode mailing list
use-livecode
Whoops that should be:
function urlSafeBase64 pData
local tEncoded
put base64Encode(pData) into tEncoded
// The engine’s base64Encode function formats the result as required for
// base 64 Content-Transfer-Encoding as discussed in RFC 4648
// section 3.1 and has linefeeds at 76 charac
> On 7 Feb 2025, at 9:54 AM, Bob Sneidar via use-livecode
> wrote:
>
> Hi Monte.
>
> Are you saying a base64encode string CAN contain the characters you listed?
> I’m talking about dash, underscore and equal. Or is that reference saying
> that plus and minus (d
Hi Monte.
Are you saying a base64encode string CAN contain the characters you listed? I’m
talking about dash, underscore and equal. Or is that reference saying that plus
and minus (dash) are interchangeable, along with the slash and underscore
respectively?
Bob S
> On Feb 6, 2025, at 1
Hi Bob
> On 7 Feb 2025, at 3:28 AM, Bob Sneidar via use-livecode
> wrote:
>
> I don’t see any of those characters on base64encoded strings.
They definitely can be int there. Se RFC 4648 section 4 and 5 encoding tables
for reference.
https://datatracker.ietf.org/doc/html/rfc4648#section-5
C
onte Goulding via use-livecode
> Sent: Wednesday, February 05, 2025 4:36 AM
> To: How to use LiveCode
> Cc: Monte Goulding
> Subject: Re: Best way to base64encode a jpeg file ?
>
> Hi jbv
>
>> Here is my code for base64 encoding :
>> put URL ("file:"
Well then that is now a function in my conversions library:
function urlSafeBase64 pData
replace return with empty in pData
replace "+" with "-" in pData
replace "/" with "_" in pData
replace "=" with empty in pData
return pData
en
Hi Monte,
It works ! Thank you very much !
jbv
Le 2025-02-05 04:35, Monte Goulding via use-livecode a écrit :
Hi jbv
Here is my code for base64 encoding :
put URL ("file:" & "myfile.jpg") into timagedata
Use `binfile:` here instead of `file:` so the engine do
I’m curious whether or not this solution worked…
Bob S
> On Feb 5, 2025, at 1:35 AM, Monte Goulding via use-livecode
> wrote:
>
> Hi jbv
>
>> Here is my code for base64 encoding :
>> put URL ("file:" & "myfile.jpg") into timagedata
>
> Use `binfile:` here instead of `file:` so the engine do
essage-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of
Monte Goulding via use-livecode
Sent: Wednesday, February 05, 2025 4:36 AM
To: How to use LiveCode
Cc: Monte Goulding
Subject: Re: Best way to base64encode a jpeg file ?
Hi jbv
> Here is my code for ba
Hi jbv
> Here is my code for base64 encoding :
> put URL ("file:" & "myfile.jpg") into timagedata
Use `binfile:` here instead of `file:` so the engine doesn’t treat the data as
native text and fiddle with it
> put base64encode(timagedata) into tBase64Image
> replace return with "" in tBase64
,{_BASE64_}"}}
instead of
{"type" : "image_url", "image_url" : {"url": "data:image/jpeg;base64
{_BASE64_}"}}
I found the tip in an obscure blog post from early 2023.
Even the latest ChatGPT-4o3 missed the point.
2- I still have a problem
Further to Richard’s suggestions, please provide a link to the docs for the
service. We can check out the API and see precisely what is going on.
Best regards,
Mark Talluto
appli.io <https://appli.io/>
livecloud.io <https://livecloud.io/>
nursenotes.net <https:/
You're already reading the file as binary, and you're already encoding it with
Base64. You've addressed the basics well. But we see the issue lies in a
murkier place.
Without the complete relevant code and the API spec, anything offered here
would be just a guess.
So let
I am stuck.
No matter what I try, I always get the same error :
"url" field must be a base64 encoded image
So I'm back to my very first question : how to base64encode
a jpeg file in LC to be used in a regular multimodal json
curl request...
Le 2025-02-03 19:00, Richard Gaskin v
jbv wrote:
> Le 2025-02-02 21:10, Richard Gaskin via use-livecode a écrit :
>> jbv wrote:
>>
>>> I need to base64encode a serie of jpeg files to include
>>> the code in a curl request.
>>> What is the best way to do that ?
>>
>> Depends.
Le 2025-02-03 11:07, Bob Sneidar via use-livecode a écrit :
I heard that the base64encode puts a carriage return at a certain
interval of characters (not sure how many).
Bob S
Yes, that's true, but even when I removed the returns it didn
I heard that the base64encode puts a carriage return at a certain interval of
characters (not sure how many).
Bob S
> On Feb 3, 2025, at 12:25 AM, jbv via use-livecode
> wrote:
>
> Le 2025-02-02 21:10, Richard Gaskin via use-livecode a écrit :
>> jbv wrote:
>>&g
Le 2025-02-02 21:10, Richard Gaskin via use-livecode a écrit :
jbv wrote:
I need to base64encode a serie of jpeg files to include
the code in a curl request.
What is the best way to do that ?
Depends. What's on the receiving end, and what options does it
support?
Actually, my que
jbv wrote:
> I need to base64encode a serie of jpeg files to include
> the code in a curl request.
> What is the best way to do that ?
Depends. What's on the receiving end, and what options does it support?
--
Richard Gaskin
FourthWorld.com
_
Why not just something like
repeat for each line L in tFilePathNames
put url ("binfile:" & L) into tmp
put base64encode(tmp) after tWhatever
end repeat
Alex.
On 02/02/2025 19:14, jbv via use-livecode wrote:
Hi list,
I need to base64encode a serie of jpeg files to in
Hi list,
I need to base64encode a serie of jpeg files to include
the code in a curl request.
What is the best way to do that ?
Do I need to import each file into an image control and
base64encode the "text" of the image ?
Thank you,
jbv
_
Have you tried getting rid of the line breaks between the curly brackets?
Bob S
On Dec 30, 2024, at 9:11 AM, Bob Sneidar via use-livecode
wrote:
-d '{
"model": "text-embedding-granite-embedding-278m-multilingual",
"input": "some text"
}'
___
us
Thank you Mark, the following modification did the trick :
curl http://127.0.0.1:1234/v1/embeddings \
-s \
-H "Content-Type: application/json" \
-d '{
"model": "text-embedding-granite-embedding-278m-multilingual",
"input": "some te
Have you tried getting rid of the line breaks between the curly brackets?
Bob S
On Dec 30, 2024, at 9:11 AM, Bob Sneidar via use-livecode
wrote:
-d '{
"model": "text-embedding-granite-embedding-278m-multilingual",
"input": "some text"
}'
___
us
Actually it's not so simple, as the line is randomly corrupted and
almost doesn't look twice the same.
I already tried to clean up the json before using JsonImport, but it's
almost impossible to use a general rule.
I would prefer to find a way to prevent this to happen, since it do
If you are parsing in LC, you can get the first word of each line. Now if the
text returned actually contains a line break in the second line that is
producing the erroneous third line, you may have to test the range of each
line.
Bob S
> On Dec 30, 2024, at 8:13 AM, jbv via use-livec
It looks like a continuation of the second line actually.
Bob S
> On Dec 30, 2024, at 8:13 AM, jbv via use-livecode
> wrote:
>
> Hi list,
>
> Long story short : I am using LM Studio as a local server to send requests to
> an LLM model.
> I use the shell comman
Hi list,
Long story short : I am using LM Studio as a local server to send
requests to an LLM model.
I use the shell command in LC 9.6 with curl on MacOS Sequoia 15.1.1.
The request looks like that :
curl http://127.0.0.1:1234/v1/embeddings \
-H "Content-Type: application/json&qu
Hi list,
Long story short : I am using LM Studio as a local server to send
requests to an LLM model.
I use the shell command in LC 9.6 with curl on MacOS Sequoia 15.1.1.
The request looks like that :
curl http://127.0.0.1:1234/v1/embeddings \
-H "Content-Type: application/json&qu
, updating the stack now without a
creating new release (gosh, 4 people already downloaded it!).
Thanks for that quick feedback, Bob!
> 4 dec. 2024 kl. 21:41 skrev Bob Sneidar via use-livecode
> :
>
> I get Syntax Error in Text when attempting a flow chart. It’s a large
> proje
I get Syntax Error in Text when attempting a flow chart. It’s a large project.
Bob S
> On Dec 4, 2024, at 11:53 AM, Andreas Bergendal via use-livecode
> wrote:
>
> Since the list is not very busy these days, I don’t feel too spammy posting a
> minor update announcement aga
Since the list is not very busy these days, I don’t feel too spammy posting a
minor update announcement again. :)
The WIS_ScriptDependencies v1.2.1 release fixes a bug so that PNGs/SVGs of
flowcharts can always be produced.
Setting the httpHeaders to "Content-Type: text/plain"
A new WIS_ScriptDependencies update:
v1.2.0 (22 Nov 2024)
Finally, in the most recent versions of LiveCode, the browser widget on Windows
is upgraded and can run Mermaid code!
- Enhancement: Flowcharts can now be displayed in the browser widget also on
Windows, when using LC versions 9.6.13
now.
>
> Bob S
>
>
>> On Oct 28, 2024, at 4:45 PM, Richard Gaskin via use-livecode
>> wrote:
>>
>> Bob wrote:
>>
>>> This may seem simple, but for some reason it’s not working. I have a
>>> Views function that can open multiple wi
a use-livecode wrote:
Hi list,
How to determine if a text file is UTF8 or just plain ASCII ?
In other words, how to know if one should use
open file myfile.txt for UTF8 read
or
open file myfile.txt for read
If it is really plain ASCII then it doesn't matter - UTF8 is a strict supers
Thank you all for your answers, and especially Mark for
posting some code that I will try immediately.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
Okay, that’s odd. It IS working now.
Bob S
> On Oct 28, 2024, at 4:45 PM, Richard Gaskin via use-livecode
> wrote:
>
> Bob wrote:
>
>> This may seem simple, but for some reason it’s not working. I have a
>> Views function that can open multiple windows in one cli
On 2024-10-29 08:53, jbv via use-livecode wrote:
Hi list,
How to determine if a text file is UTF8 or just plain ASCII ?
In other words, how to know if one should use
open file myfile.txt for UTF8 read
or
open file myfile.txt for read
If it is really plain ASCII then it doesn't m
I suppose you could also use textDecode(, “UTF-8”) to convert the text
to that format.
Bob S
> On Oct 29, 2024, at 8:17 AM, Bob Sneidar via use-livecode
> wrote:
>
> There is a Wikipedia article on this. Turns out it is not straightforward.
> There can be a Byte Order Mar
4, at 8:17 AM, Bob Sneidar via use-livecode
>> wrote:
>>
>> There is a Wikipedia article on this. Turns out it is not straightforward.
>> There can be a Byte Order Mark that the file begins with but not all vendors
>> use it. And I do not think you can make the de
There is a Wikipedia article on this. Turns out it is not straightforward.
There can be a Byte Order Mark that the file begins with but not all vendors
use it. And I do not think you can make the determination simply by examining
the contents of the file.
Byte-order mark[edit]
If the Unicode
Hi list,
How to determine if a text file is UTF8 or just plain ASCII ?
In other words, how to know if one should use
open file myfile.txt for UTF8 read
or
open file myfile.txt for read
Thank you.
jbv
___
use-livecode mailing list
use-livecode
Bob wrote:
> This may seem simple, but for some reason it’s not working. I have a
> Views function that can open multiple windows in one click, but
> sometimes stacks can be obscured by others, so I have a Modules Menu
> where you can select a stack and it will open it.
>
> Th
Thanks Phil. I suspected it might be a workaround, but it just seemed odd to me
that with all the window commands and functions, there was no way to do this
with a single command.
Bob S
> On Oct 26, 2024, at 12:58 PM, Phil Davis via use-livecode
> wrote:
>
> Oops - sorry abou
This may answer your need but isn't very elegant:
*put*thestyleofstack"untitled 1"intox
*set*thestyleofstack"untitled 1"to*palette*
*set*thestyleofstack"untitled 1"tox
Phil Davis
On 10/25/24 9:38 AM, Bob Sneidar via use-livecode wrote:
This may seem
This may seem simple, but for some reason it’s not working. I have a Views
function that can open multiple windows in one click, but sometimes stacks can
be obscured by others, so I have a Modules Menu where you can select a stack
and it will open it.
The problem is, Open Stack and Go Card x Of
This may seem simple, but for some reason it’s not working. I have a Views
function that can open multiple windows in one click, but sometimes stacks can
be obscured by others, so I have a Modules Menu where you can select a stack
and it will open it.
The problem is, Open Stack and Go Card x
Hi Tom,
> Am 12.10.2024 um 21:11 schrieb Tom Glod via use-livecode
> :
>
> Klaus,
>
> its
>
> set the layerClipRect ...
"layerClipRect"?
To be honest I never heard this before, so thanks a bunch! :-D
> On Sat, Oct 12, 2024 at 2:16 PM Klaus majo
t;>>
> >>>> On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>>>
> >>>> Bob.
> >>>> I do not know why Klaus wants to truncate his groups, but I suspect
> it has nothing
; On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode
>>>> wrote:
>>>>
>>>> Bob.
>>>> I do not know why Klaus wants to truncate his groups, but I suspect it has
>>>> nothing to do with fitting them onto the card.
>>>>
, thanks
> Craig!
>
>> Bob S
>>
>>> On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode
>>> wrote:
>>>
>>> Bob.
>>> I do not know why Klaus wants to truncate his groups, but I suspect it has
>>> nothing to do w
ect it has
>> nothing to do with fitting them onto the card.
>>
>> Craig
>>
>>> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode
>>> wrote:
>>>
>>> Hmmm… I wrote a handler to determine the rect of all the visible objects on
1, 2024, at 11:44 AM, Bob Sneidar via use-livecode
>> wrote:
>>
>> Hmmm… I wrote a handler to determine the rect of all the visible objects on
>> a card so I can set the stack rect to that plus margins. It involved getting
>> the left, top, right and bottom as sep
Exactly.
> Craig
>
>> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode
>> wrote:
>>
>> Hmmm… I wrote a handler to determine the rect of all the visible objects on
>> a card so I can set the stack rect to that plus margins. It involved getting
>
Bob.
I do not know why Klaus wants to truncate his groups, but I suspect it has
nothing to do with fitting them onto the card.
Craig
> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode
> wrote:
>
> Hmmm… I wrote a handler to determine the rect of all the visible objects
Hmmm… I wrote a handler to determine the rect of all the visible objects on a
card so I can set the stack rect to that plus margins. It involved getting the
left, top, right and bottom as seperate values, of every visible object, then
determining the min and max of each set of values as needed
Klaus.
Answered in the forum:
Klaus.
If I make a group and set its height property to a value smaller than the
original, the top of the group stays put, and the bottom is truncated, so that
is half the battle. If I then play with the scroll of the group, I can control
the visible portion
Hi Craig,
> Am 11.10.2024 um 15:58 schrieb Craig Newman via use-livecode
> :
>
> Klaus.
>
> Answered in the forum:
thank you, already answered to your answer. :-)
> Klaus.
>
> If I make a group and set its height property to a value smaller than the
> origin
Hi friends,
I want to clip a group by script but cannot get it to work!?
See this image, it shows what i want to achieve:
<https://major-k.de/temp/group_clipping.png>
I want the content of the group to be clipped at the top and bottom.
No problem when resizing manually but no dice by scr
jbv:
> Is there a quick way to check if a group contains a specific control,
> something like : if there is a fld "xyz" in grp "abc" of this cd
> I tried many things but it always generates an error.
Here is an easy and elegant way - almost what you started wit
.com
>
>> On Aug 23, 2024, at 8:05 AM, Paul Dupuis via use-livecode
>> wrote:
>>
>> On 8/23/2024 7:45 AM, Klaus major-k via use-livecode wrote:
>>> Hi jbv,
>>>
>>>>> Am 23.08.2024 um 13:27 schrieb jbv via use-livecode
>>&
2024, at 8:05 AM, Paul Dupuis via use-livecode
> wrote:
>
> On 8/23/2024 7:45 AM, Klaus major-k via use-livecode wrote:
>> Hi jbv,
>>
>>>> Am 23.08.2024 um 13:27 schrieb jbv via use-livecode
>>>> :
>>>
>>> Hi list,
>>>
On 8/23/2024 7:45 AM, Klaus major-k via use-livecode wrote:
Hi jbv,
Am 23.08.2024 um 13:27 schrieb jbv via use-livecode
:
Hi list,
Is there a quick way to check if a group contains a specific control,
something like :
if there is a fld "xyz" in grp "abc" of this cd
I t
Hi jbv,
> Am 23.08.2024 um 13:27 schrieb jbv via use-livecode
> :
>
> Hi list,
>
> Is there a quick way to check if a group contains a specific control,
> something like :
> if there is a fld "xyz" in grp "abc" of this cd
> I tried many things
Hi list,
Is there a quick way to check if a group contains a specific control,
something like :
if there is a fld "xyz" in grp "abc" of this cd
I tried many things but it always generates an error.
So far, the only way I can think of is to maintain a custom prop
for eac
he EULA will also be modernized, to fit
common privacy/security expectations in today's world!
So, a friendly reminder - read the new EULA beforehand.
(Any purchase of LC Create applies these terms to LC Classic too.)
Not a problem for some, depending on your own situation; I'm glad!
But 3rd
On 8/17/2024 12:24 PM, Charles Szasz via use-livecode wrote:
I came a web app that can extract test scores from a PDF and insert them into
an app. Can LC do the same thing?
I assume you mean can a programmer write an app in Livecode to extract
test scores from a PDF and do something with
I came a web app that can extract test scores from a PDF and insert them into
an app. Can LC do the same thing?
Sent from my iPad
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage
On 2024-08-13 21:24, Ben Rubinstein via use-livecode wrote:
It turned out that the issue was that I was reading the data as
put URL format("binfile://%s", tPath) into tData
this was working, but now returned "can't open file". Changing the
statement to
put URL format("binfile:%
it to allow for both style of Windows
paths to be handled properly.
Windows backslash \ gets converted to a / in most LC file paths (for
example, the result of a open or save file dialog
Perhaps the IT did something to require only UNC paths and the // after
the binfile had it look for a server r
An app running nightly by schedule on a Windows VM stopped working when the IT
department cracked down on security, downgrading the privileges of the user.
When this was reversed - and they swore there were no other changes - it still
didn't work properly because it failed to read some
I tried a standalone app on another computer, and sure enough got the message
about it not being able to open. But, the usual work around of right-click,
Open, does work.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url
Hello
It is a standard issue on Mac. Apple protects their systems for non officially
code signed apps.
There are some procedures to circumvent this with your app
- if you are an Apple official developer (like me) you have to include a
developer certificate in you app
instructions here
https
He also said, that building the app on his colleagues Livecode installation
creates an app that can be opened on his colleagues computer. And i wanted to
know if that app can also be opened on the OP‘s computer.
Von meinem iPad gesendet
> Am 13.08.2024 um 16:02 schrieb Craig Newman via use-li
Hi,
Does the built application icon look as it should?'
Are the laptops all using the same chip set e.g. powerpc, intel or Arm?
Are the build settings correct?
Can you view package contents?
S
> On 13 Aug 2024, at 13:32, Alex Morrison via use-livecode
> wrote:
>
> Hi
Matthias:
"Does the app, which was created on your colleagues computer run on your Mac?”
The OP said he developed the app on his own machine.
Craig
> On Aug 13, 2024, at 9:34 AM, Matthias Rebbe via use-livecode
> wrote:
>
> Does the app, which was created on your colleagues computer run on y
eb Alex Morrison via use-livecode
> :
>
> Hi there,
>
> I’m a LiveCode licensee with a Mac runtime license trying to make a desktop
> app that I can distribute to a few other people.
>
> I’ve adjusted all the obvious settings and made an app. The resulting app
> works
Hi there,
I’m a LiveCode licensee with a Mac runtime license trying to make a desktop app
that I can distribute to a few other people.
I’ve adjusted all the obvious settings and made an app. The resulting app works
fine on my own laptop, no problem.
But when I send it to another laptop it
Bob S
On Aug 7, 2024, at 11:17 AM, Bob Sneidar wrote:
On Aug 7, 2024, at 10:47 AM, Paul Dupuis via use-livecode
wrote:
Now, our current problem is that there does not appear to be any tricks to
having variable cell background colors in a Polygrid. Row colors: yes Alternate
Row colors
On Aug 7, 2024, at 10:47 AM, Paul Dupuis via use-livecode
wrote:
Now, our current problem is that there does not appear to be any tricks to
having variable cell background colors in a Polygrid. Row colors: yes Alternate
Row colors: Yes, Highlight color: Yes, possibly even highlighting
My second color question of the day.
We current have a analytical view in our app which shows a table of
frequencies. The number of rows and columns are driven by user data and
can becomes a large number (I've heard all the arguments that users
should not ever view tables of hundreds of
A new version of TinyDictionary has been uploaded to Livecodeshare
https://livecodeshare.runrev.com/stack/825/TinyDictionary
or download it from within the IDE from "Sample Stacks"
Kind regards
Bernd
___
use-livecode mailing list
us
Hi.
The borderWidth is a property of the entire border. You will have to add your
own one by one. Hey, at least that allows you to change colors and other
things as well.
Craig
> On Jun 13, 2024, at 4:28 AM, jbv via use-livecode
> wrote:
>
> Hi list,
>
> Is there a way
Hi list,
Is there a way to have different border widths and colors
for the top and the bottom of a group ?
Or should I include graphic lines inside the group ?
Thank you in advance.
jbv
___
use-livecode mailing list
use-livecode@lists.runrev.com
On 25/05/2024 16:13, Mike Kerner via use-livecode wrote:
(to alex's question)
* quicken date shortcuts
quicken has/had these very nifty ways of handling date inputs, to make
entry faster.
if you enter a numeral, like 26, it means that date of this month.
similarly, month/date e.g. 5/25
(to alex's question)
> * quicken date shortcuts
quicken has/had these very nifty ways of handling date inputs, to make
entry faster.
if you enter a numeral, like 26, it means that date of this month.
similarly, month/date e.g. 5/25 is 5/25 of this year.
"T" is today
"+"
>>
>>> On May 23, 2024, at 7:07 PM, Roger Guay via use-livecode
>>> wrote:
>>>
>>>
>>> Hi all,
>>>
>>> Please, what’s the easiest way to return the total number of a given
>>> repeated number in a li
ems of tList
>
> Bob S
>
>
>> On May 23, 2024, at 7:07 PM, Roger Guay via use-livecode
>> wrote:
>>
>>
>> Hi all,
>>
>> Please, what’s the easiest way to return the total number of a given
>> repeated number in a list of numbers? IOW, how
Filter items of tList with 2;put the number of items of tList
Bob S
> On May 23, 2024, at 7:07 PM, Roger Guay via use-livecode
> wrote:
>
>
> Hi all,
>
> Please, what’s the easiest way to return the total number of a given repeated
> number in a list of numbers?
On 24/05/2024 13:35, Mike Kerner via use-livecode wrote:
i LOVE all of these solutions.
chunking is so great.
in every language i use, there are two things i always implement:
* chunking
Yes.
* quicken date shortcuts
Alex.
___
use-livecod
t is this:
>
> function countOccurrences pString
>repeat for each item tItem in pString
> add 1 to tFrequencyArray[tItem]
>end repeat
>
>return tFrequencyArray
> end countOccurrences
>
> To get the number of 2’s, just extract tFrequencyArray[2] etc.
>
get a frequency list (array) of ALL the items in one
go.
The bonus advantage is that you also get a list of unique values, by getting
the keys of tFrequencyArray.
So it also serves as a duplicate-clearing function, which is sometimes handy.
/Andreas
> 24 maj 2024 kl. 07:08 skrev Roger G
comma & tSearchingFor *then* *add* 1 to tNum
>
> On Thu, May 23, 2024 at 10:08 PM Roger Guay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>>
>> Hi all,
>>
>> Please, what’s the easiest way to return the total number of a give
Guay
Subject: Return Total of a Given Repeated Number in a List
Hi all,
Please, what’s the easiest way to return the total number of a given repeated
number in a list of numbers? IOW, how many times is 2 repeated in a list
containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help.
Thanks,
Roger
d* 1 to tNum
*if* tSearchString ends with comma & tSearchingFor *then* *add* 1 to tNum
On Thu, May 23, 2024 at 10:08 PM Roger Guay via use-livecode <
use-livecode@lists.runrev.com> wrote:
>
> Hi all,
>
> Please, what’s the easiest way to return the total number of a given
>
Hi all,
Please, what’s the easiest way to return the total number of a given repeated
number in a list of numbers? IOW, how many times is 2 repeated in a list
containing 1,2,3,2,4,2,5,2,8 etc. Appreciate your help.
Thanks,
Roger
___
use-livecode
ver your password?
>
> I had to reset my password to log in but it didn’t appear to grant me any
> additional access to my lesson. Will try the screensteps download. Thanks,
> Kee
>
>
>>
>>> Am 11.02.2024 um 23:04 schrieb kee nethery via use-livecode
>>> :
&g
ppear to grant me any
additional access to my lesson. Will try the screensteps download. Thanks,
Kee
>
>> Am 11.02.2024 um 23:04 schrieb kee nethery via use-livecode
>> :
>>
>> I seem to have forgotten how to edit my LiveCode lesson.
>>
>
1 - 100 of 1376 matches
Mail list logo