You would normally do something like
put the selectedchunk
-> char 5 to 7 of field 1
put the textstyle of the selectedchunk
--> italic
if the specified chunk has mixed textstyle, you get an empty result
put the textstyle of char 3 to 5 of field 1
-->.
On 13/08/2024 11:14, Heather Laine via use-livecode wrote:
Thanks Martin. We'll have a think whether we can do a repeat at a different
time.
Best Regards,
Heather
Heather Laine
Customer Services Manager
LiveCode Ltd
www.livecode.com
Rather than an entire repeat, maybe just have a Q&A sess
Sent from my iPhone
> On 26 Jul 2024, at 08:13, jbv via use-livecode
> wrote:
>
> Hello Terry,
>
> Yes I thought of that. The problem is that "lock screen" hinders
> the progress bar to be updated while the loop is running.
> I also tried to shortly "break" the lock screen by inserting
> un
On 26/07/2024 00:46, Bob Sneidar via use-livecode wrote:
But the primary app I developed IS commercial by their definition.
Bob S
Commercial ? I guess so.
But I don't see that it fits the criteria for "Internal apps"; that
category is for apps that have been developed by a company, paying
It’s the one signposted as something like “growing the community”.
I too dislike videos, so avoided watching this until Kevin said there was info
about lifetime license holders in a video.
btw, I am a hobbyist deriving no income from LC, and I think you’re incorrect
about there being no place f
There you should find a download link to the current version.
> Open it in LC and press Install and it will override/update your files.
>
> Regards,
> Matthias
>
> Von meinem iPad gesendet
>
>> Am 16.07.2024 um 18:05 schrieb Alex Tweedly via use-livecode
>> :
I opened a bug report on the PolyList (or Polygrid), and it seems likely
it has already been fixed in the latest version of the widget.
But I can't remember how to upgrade my bundle (and can't seem to find
the instructions ...)
Help please.
Thanks
Alex.
On 12/06/2024 18:26, Richard Gaskin via use-livecode wrote:
Mike Kerner wrote:
Richard wrote:
Either way, I'd imagine a subscribe client looking to avoid polling
is going to depend on a long-lived socket, no?
That's part of the point of a websocket. you don't have to keep
reopening it, and
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 is 5/25
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
That's cool ! I really like those 'slide-out' left buttons.
Thank you very much for this.
Alex.
On 05/04/2024 16:38, Andreas Bergendal via use-livecode wrote:
And as a follow-up on this, here is also a demo web app created with the help
of WebDeployHelper 1.0.1:
https://wheninspace.com/We
Hi Bob,
I'm not sure from your description how / when you are seeing the
(unexpected) changes happening.
Remember that lockscreen is automatically set to false when there is no
handler running, so unlerss you have an intensive handler running, you
will see these changes.
If it's not that -
Hi Tim,
I guess my first response would be - don't.
Specifically, don't store or use passwords. Users have a bad habit of
re-using the same passwords, so even if your site has no personal or
valuable info about your users, the fact that passwords get re-used
means you are storing valuable inf
Bob - I think you've mentioned these functions (and posted code, or a
pointer to code, for them) before (but I couldn't find it). Any chance
you could re-post (or just send to me, or ...)
Mike - I couldn't see in the thread *why* you want to use a dg ather
than a pg ? Is there a missing capabi
I've not been able to get anything worthwhile to work on web.
All the working examples that I've seen (e.g. Andreas's example last
week of interaction between browser and LC) , have involved a
significant amount of html + JS being written. The default shipping web
wrapper is completely under-f
I am so sorry for your loss. You are in my prayers tonight.
Alex.
On 11/01/2024 01:54, Ralph DiMola via use-livecode wrote:
Many of you knew Margaret from the conferences. We lost her today. She spent
her life as a nurse in the oncology department. She gave her love and
empathy to all her pat
On 16/12/2023 14:51, Klaus major-k via use-livecode wrote:
Hi friends,
I am trying to upload a (not so long) urlencoded text list
to my server, but get the tsNet error as in the subject.
In the form of:
...
## Remove spaces etc.
put clean_name(tSetlist) into tDateiname
put "whatever" & CR & u
On 30/11/2023 16:05, Paul Dupuis via use-livecode wrote:
resizeControl is sent "only sent when the user resizes a control by
dragging its handles. It is not sent if a handler changes the size of
a control by changing its properties (width, height, and so on)."
Basically, that dictionary entr
On 27/11/2023 00:02, ambassador--- via use-livecode wrote:
An excuse to benchmark? Sure, I'll bite. :)
:=). Beat me to it.
But boy oh boy was I surprised by the difference.
Bottom line, in millisecs for just 5 iterations on an M1 Mac:
Groups: 141
Cards: 13619
Wow!
I suspect most layou
>
>> On Nov 17, 2023, at 1:39 PM,
>>
>> England was #1 until 1916, when guess who took over.
>>
>> Craig
Hmmm I thought it was the UK on the top spot.
Alex
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subsc
Brutal answer :-)
Script widgets aren't ready for release yet. They have (effectivtely) no
documentation, no examples, no lessons.
Unless you have a desparate need to do it now, I'd suggest waiting until
they are somewhere near ready.
Alex.
On 22/10/2023 10:41, David Bovill via use-livecod
I'm afraid I can't help - wish I could.
But I have to say that "... tried the (out of date) LC Lesions," must be
the best auto-correct failure this week.
Alex.
On 06/10/2023 23:44, Dan Friedman via use-livecode wrote:
If you have a very, very, VERY good understanding of creating Mac installe
On 01/09/2023 00:37, Bob Sneidar via use-livecode wrote:
The function is adding the value of two chunks together and returning the
result. How does that even compute? Unless the + operator is doing something
totally different here…
The code said:
sort lines tVariable by myVal(each)
where
Sorry, I meant 10.x
In 9.x you could do
put sColSubtotalArray into tA[1]
set the addDataAfter of widget "rwTableview" to tA
Alex
Sent from my iPhone
> On 28 Aug 2023, at 13:33, Paul Dupuis via use-livecode
> wrote:
> On 8/28/2023 7:28 AM, Alex Tweedly via
On 27/08/2023 20:43, Paul Dupuis via use-livecode wrote:
I ran into an inconsistency with the Polygrid
...
I am not sure this is a BUG. It is certainly an inconsistency and
changing it would break some current code. On the other hand, the
Polygrid is part of the widget set for Xavvi/Livecode C
Not sure how it works in the IDE - seems a problem because it only
presents button in the current stack.
So I do it all in preOpen... scripts, doing something like
set the behavior of fld "F" of grp tmpName to the long id of button
"RichTextFieldBehaviour" of \
card "Behaviours" of st
I see those kind of changes (10.0.0DP5, MacOS), but the border changes
from solid black to black/white lines - with those 'splits' you described.
Alex.
On 21/08/2023 01:50, Dar Scott via use-livecode wrote:
On Mac and LiveCode 9.6.9…
Make a new stack. Put a few controls on it. Group them.
Gi
On 11/08/2023 23:00, J. Landman Gay via use-livecode wrote:
On 8/10/23 2:29 PM, Alex Tweedly via use-livecode wrote:
[ ... code from earlier posting ...]
I couldn't get this to work until I altered it, but I was using a very
simple array. What type of array data did you use? I thin
I have high expectations of xavvi - mostly because I want the cloud IDE,
cloud db, new widgets, ...
Oh - and I might just play with the AI, but I have no short-term
expectations for that part of it.
:-)
Alex.
On 10/08/2023 20:22, Mike Kerner via use-livecode wrote:
i'm using chatgpt and ba
On 09/08/2023 00:15, Bob Sneidar via use-livecode wrote:
Has anyone come across a need to sort a numbered array by the values of the
different keys? Here you go.
Absolutely I have needed that quite often now. I tend to use sequences
(numbered arrays) often - maybe too often.
Up until now I
the socketError messages. So
there may be a bug in there - I'll try to track it down more closely,
and if I can get anything reliable, submit a bug report).
btw - livekode.com was my first attempt at a "non-existent host" - and
it does exist !!
Alex.
On Jul 21, 2023,
On 22/07/2023 01:02, prothero--- via use-livecode wrote:
Folks:
Sorry for the trivial question, but..
I have an app on my iphone that I am updating from a several years old app the
previously worked on an older version of livecode. It needs to access a mysql
database on the internet. It works
On 15/07/2023 21:29, Paul Dupuis via use-livecode wrote:
All good suggestions so far, but not what I was after, which was
whether there is any better way to have the script you are setting the
newly created object to, readable, in the script that setup of the new
object. If a behavior script i
On 14/07/2023 19:45, Bob Sneidar via use-livecode wrote:
Because I’m not that good with regular expressions and the format function. :-)
But you example has one too many close parens.
Oops - I got caught out copying / pasting again :-(
Yes, of course it should have been
put format("%s-%02d
On 14/07/2023 16:13, Bob Sneidar via use-livecode wrote:
I beg to differ. Again, Livecode is a way to build both the tools and the
product made by those tools. Livecode is NOT a collection of every conceivable
tool for everything everyone wants to do. No language is.
I think the LC dev team
On 14/07/2023 16:34, Bob Sneidar via use-livecode wrote:
CASE "sql date"
put item 1 of theDate & "-" & \
format("%02d",item 2 of theDate) & "-" & \
format("%02d",item 3 of theDate) into theDate
break
Why not just
put format("%s-%02d-%02d",
Jacque,
those two code snippets do slightly different things - and I don't think
either of them is doing exactly what's intended; I think the intent is
to delete stack(s) called (exactly) "test".
The first one will (wrongly) catch a stack called "testabc" or "abctest"
- and then will fail on
S. quickest 'reverse' function ?
Might be
put the number of chars in tText into K
put K into N
repeat for each char c in tText
put c into tRev[N]
subtract 1 from N
end repeat
combine tRev with empty
Alex.
On 23/03/2023 19:03, Alex Tweedly via use-livecode wrote:
OK, I may b
OK, I may be going in the wrong direction here, but
put (the opening string) into temp
set the itemDelimeter to temp
put the number of chars in item 1 to -2 of theWholeText into theAnswer
??
Alex.
On 23/03/2023 17:24, François via use-livecode wrote:
Yes, this is the big picture.
Plus,
Of course, the other option - depending on your timescale (and maybe
your license) - would be to build it as a LC app, and then 'build for web'.
That way you'd have control over the formatting options you want to
allow/provide.
Alex
P.S. but then, I'm strongly averse to any use of JS, HTML,
It's not really a LC question, it's an HTML thing :-)
textarea etc. only handle plain (unformatted) text.
Googling for suggestions I can only find two common answers:
1. horribly complicated ways to add Javascript to your script to handle
formatting
2. "use TinyMCE"
I'd go for the second al
Short answer you can use single quotes and double quotes
interchangeably in HTML (so long as consistently).
So you can do
Second answer: Or, you could mix html + lc, and do
Third answer: Or, for anything more complex like a full website, you
might want to look at Ralf Bitter's exce
Hi Panos,
I just installed the new Megabundle.
When I opened up 'magic palette', I got an error dialog
There was an error executing a script in
stack magic palette. No more information
is available because the stack is password
protected.
Any suggestions how I can get you a helpful error rep
kets as fully overlapping to avoid missing close pairs.
5. The size of the grid buckets is critical: too big and you do too much
work. Too small and you end up with all singletons in the buckets. This
would require some experimentation and thought.
6. Go through the buckets only comparing the points
of each
Sorry,
Alex.
On 20/01/2023 13:05, Alex Tweedly via use-livecode wrote:
Fascinating. Thank you so much for that Geoff.
I've been afraid to play with ChatGPT so far - too worried abut
getting sucked in and spending way too much time
I did take a look at your third example
On 20/01/2023 16:52, Mark Waddingham via use-livecode wrote:
On 2023-01-20 13:05, Alex Tweedly via use-livecode wrote:
We need a better algorithm. If we use a "linear scan", we can change
it from essentially Order(N**2) to approx Order(N).
Slightly pedantic point (I appreciate th
On 20/01/2023 15:55, Geoff Canyon via use-livecode wrote:
Responses inline:
On Fri, Jan 20, 2023 at 5:06 AM Alex Tweedly via use-livecode <
use-livecode@lists.runrev.com> wrote:
I thought of this -- especially since ChatGPT's first (python-esque)
example uses "inf" -- b
Fascinating. Thank you so much for that Geoff.
I've been afraid to play with ChatGPT so far - too worried abut getting
sucked in and spending way too much time
I did take a look at your third example (since I can never resist a
performance challenge :-)
There are a number of minor twea
He's moving the graphic object "to" the points of a polygon - i.e. to
each in turn.
So the movement would be reversed.
On 17/01/2023 23:23, Mark Wieder via use-livecode wrote:
On 1/17/23 12:06, Roger Guay via use-livecode wrote:
Hi all,
is there a simple way to move a grc to the points of a
Yes, your description is correct (except for saying the behavior is
"puzzling" :-)
The first case you are passing a single parameter (which happens to have
commas in its current content). You could have said " paramcount()
returns 1 as expected".
The second case you pass 5 values.
And
Hi Rick,
I had missed the fact that you said you already had the database - that
makes it a much easier problem :-)
While I don't have any Livecode code for this, I do have some C code for
a (probably) very similar problem.
If you can describe the format of your database, and the query you
I also need to count
how many items I have added and substract that number from the
result, which is quite cumbersome and slow...
To Jacqueline :
Thanks fro the suggestion, but I have to stick with items and
itemoffset, for some items can contain more that 1 word, like
"pied de biche"...
That would deal with the last item in a line - but not the first.
Should do
replace CR with TAB & CR & TAB in ...
and reverse later if needed.
Alex.
On 14/11/2022 18:43, Bob Sneidar via use-livecode wrote:
oic. Odd use case. I suppose a lineOffset function followed by is among the items
For polygrid
set the pgdata of widget 1 to empty
For polylist
set the datacontent of widget 2 to empty
BUT beware - on my trivial test, this appears to cause the last
character of the header to be removed !!
I'll investigate some more and bug report it if it seems consistent.
Alex
O
Short answers:
1. Yes
2. Yes, but probably not.
3. Yes.
Long answers.
1. Yes, absolutely, it's ideal for quick, easy-to-distribute apps or
demo samples.
2. Yes, you'll need somewhere to store/give access to the files. But it
probably won't be Google Drive - you want the files of the app t
versions?
Thank you for directing me to 10.
On 9/26/2022 5:11 PM, Mike Kerner via use-livecode wrote:
well, i learned something new.
i don't even see that widget in 9, but i do in 10.
On Mon, Sep 26, 2022 at 4:54 PM Alex Tweedly via use-livecode <
use-livecode@lists.runrev.com> wro
to get you started, the graph.lcb file
is in Tools/Extensions/com.livecode.widget.linegraph, if you want to try
reading through it.
it's only 1300 lines, total, including the docs. there is not that much
going on.
there are no private properties that i can see.
On Sun, Sep 25, 2022 at 4:55 P
Anyone using this widget ?
Is there some documentation (other than the obvious dictionary entries)
about how to do different kinds of chart ?
In the last 4-6 months, I've done 3 or 4 little personal projects where
I wanted to create a chart, but I've not been able to figure out how to
use th
On 17/09/2022 08:54, Jacques Clavel via use-livecode wrote:
point 6. maybe potential for future performance gains :
- But today LCB is surprisingly less efficient (/3) than LCS (???)
Yes, at first glance it is surprising; typed variables etc. *should*
make it possible to be more efficient. An
On 15/09/2022 16:37, Ralph DiMola via use-livecode wrote:
Docs aside... I still think that widgets and lcb is one of best additions to
LC. Community collaboration like this will make for better documentation and
more new/improved widgets. A robust library of widgets can only help LC to
penetrat
le copyright creation date is valid for the life of the creator
plus (in the US) 75 years.
Oh well.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On September 15, 2022 5:12:59 PM Alex Tweedly via use-livecode
wrote:
On 15/09/2022 15
On 15/09/2022 15:44, Mike Kerner via use-livecode wrote:
What's NavRAD? It's a better version of LiveCode's NavBar widget.
Why "RAD"? Cos Ralph A DiMola said so, since he added the first two nifty
updates to it:
I see the code has an outdated copyright statement, which would (I
think) current
On 13/09/2022 03:51, Richard Gaskin via use-livecode wrote:
So help me understand: what are you working on where a user expects
fine-grained font rendering consistency on multiple OSes? What do
these apps do?
One example that (almost) applied for me was where the target display is
not an O
No, not all are 2-digits. USA is one digit, many are 3 digits, none
are (yet) 4 digits.
A phone number would have a leading zero in many countries; usually
indicating it's a non-local number (kind of similar to the leading 1- in
long distance in the US, e.g. 1-800-555-1212). In the UK, numbe
No, I just need to learn to not type emails on my iPhone :-)
I do it so rarely, I forget to be careful about autocorrect.
On 09/09/2022 16:39, Bob Sneidar via use-livecode wrote:
Someone needs to debug their emails. ;-)
Bob S
On Sep 9, 2022, at 06:32 , Klaus major-k via use-livecode
mailto:
How about
Put (“” & item 9 of globe) onto item 6 of tnewline
Alex
Sent from my iPhone
> On 9 Sep 2022, at 11:40, Klaus major-k via use-livecode
> wrote:
>
> Hi Panos,
>
>> Am 09.09.2022 um 12:27 schrieb panagiotis m via use-livecode
>> :
>>
>> Hello Klaus,
>>
>> I guess what happens he
Bob,
Just email Heather- she can do everything !
Probably the support @ livecode.com address would be more correct than her
directly.
Alex
Sent from my iPhone
> On 25 Aug 2022, at 17:18, Bob Sneidar via use-livecode
> wrote:
>
> I found the link to the Board Administrator. The board admin
Not quite.
It is dependent on the value of "casesensitive".
If you do
set the casesensitve to true
then the keys are different (i.e. Ddt would NOT replace the existing
value for ddt)
but if it is false (which it would be by default) thne DDt and ddt are
teh same.
[Only tested on 10.0.0
I can't answer for anyone else, but for me - because I never thought
about it :-)
Combine by column - never used it before, so never thought of it.
It's significantly faster, roughly 40% improvement over the previous best.
Note, the spec requires that each line begins with the line number, so
I've had a pretty shitty day. A variety of things have happened, or not
happened, that made it not one of the good days.
So I was not happy, and rather grumpy. (My apologies to Panos for being
ungracious in an earlier post - it was meant to be a plea for
completeness of the product in preferen
On 20/08/2022 00:03, Bob Sneidar via use-livecode wrote:
It's probably a lot of text. The engine has to start from the beginning of
every string then scan through for every cr or lf or cr/lf or whatever counts
as a line break, until if finds the nth one. The more lines, the longer the
scan t
On 19/08/2022 23:32, Mark Wieder via use-livecode wrote:
It is indeed faster. Here's what I came up with. I'm not sure why 2000
lines of text in four fields should take that long, I came up with
original code: 320 ms
array version: 21 ms
put empty into vCombined
put fld "A" into v1
On 18/08/2022 23:13, Alex Tweedly via use-livecode wrote:
However, the lazy load example still contains bugs due to race conditions
Solution:
replace the card script with the following should fix all the race
conditions I can see.
local sURLToIndex
on onlineImage pIndex, pURL
On 18/08/2022 17:34, Steven Crighton via use-livecode wrote:
Hi Mike,
I just tested the lazy load example and hit populate and clicked around etc and
could not trigger an error.
As already confirmed, that problem is fixed in 10.
However, the lazy load example still contains bugs due to rac
So it occurred to me, while playing with sorting by columns, that it
might be nice to have an additional "sortType" available.
I'd like to be able to say
- if all the 'things' being sorted on are numbers, then sort numeric,
otherwise sort alphabetical.
Would that be a reasonable enhancement
On 15/08/2022 20:34, Paul Dupuis via use-livecode wrote:
So there is an example of sorting in the PolyGrid documentation under
the entry for the MESSAGE "headerClick" and under the entry to the
PROPERTY "text" (and in 'the text of me')
The example code only sort the visible rows as "the text
On 13/08/2022 20:24, Andreas Bergendal via use-livecode wrote:
Friends, I have done wonderful things with LC10 web deployment!
I’m excited to share with you the fruits of this week's extensive research and
testing!
Wow. Thanks Andreas.
Resize, etc. work well for me on Safari, but fail badly
Hi Tim,
I think there are many easy ways to do this - and many not-so-easy ones too.
IMO, easiest for something simple like this is to just use the url.
See tweedly.net/page_by_url.txt for the code, or try it out at
tweedly.net/page_by_url.lc
(or try tweedly.net/page_by_url.lc?row=14 )
You
You are correct Andreas - all this basic javascript interaction *really*
should be in the default built already.
A sample stack for building a web app was discussed in a session in the
LC Global conference, by Steven Crichton and Michael McReary. It has all
kinds of javascript magic, and the c
I kind of agree with Paul (though I ame to the opposite conclusion).
Once I discounted the items I'd already paid for (conferences, courses,
books, etc.) and the multi-year future licensing already paid, the value
of the megabundle shrank from "amazing" to "pretty good".
I decided to go ahead
Those folders are
"." - the folder itself
".." - the parent of the folder itself.
As such, neither can be deleted directly, nor do they need to be in
order to delete the folder itself. The folder itself should be deleted
when the current folder is set to somewhere else.
So - there isn't rea
But, an encoded array is STILL binary data. So any issues with "read
until linefeed" will still exist.
Try sending a header with number of bytes, followed by the bytes.
If you really wanted, you could do:
write (the number of bytes in tSocketData) & linefeed to socket tSocket
write tSoc
On 23/06/2022 17:48, Ralf Bitter via use-livecode wrote:
Hi Alex, have you added the mergJSON External to your server installation?
No. In fact, I didn't realize I needed to, or even could :-)
You guessed it, use "load extension", example (tested on on-rev):
load extension from file
"/home
On 23/06/2022 19:28, Richard Gaskin via use-livecode wrote:
Thanks. I could get away with setting the backgroundColor of the whole
line, but that does the same as setting the backgroundColor of a
"cell": it draws the color only beneath the portion of the line that
contains text, leaving the
d web provider ?
(on-rev)
Thanks,
Alex
Ralf
On 23.06.22 01:31, Alex Tweedly via use-livecode 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
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
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
use behaviors so you could manage
your code with a repository like Git. This would greatly reduce the number of
behavior scripts that you would create. One app that work on has the code in
the stack’s behavior script.
Sent from my iPhone
On Jun 19, 2022, at 4:33 PM, Alex Tweedly via use-
I've noticed that in a lot of the example code I've seen recently,
there's a bit of a common pattern.
In the card script, there will be code like
on mouseUp
switch the short name of the target
case "first"
doCommandFirst
break
case "another"
doCommandAnother
{ Aside: any discussion where both Mark Weider and Mark Waddingham take
part is all the better because of that; two very knowledgeable people
with two very different viewpoints (in some areas) is a good thing. BUT
it makes it hard to refer to what each of them said - "MarkW" is still
ambiguous.
I'll add my thanks for such a usefull tool.
On 04/06/2022 19:38, Richard Gaskin via use-livecode wrote:
Thanks for the report. Please keep me posted if you find any other
anomalies.
I don't know if it's an anomaly or another failing in widget support :-)
The NavBar widget has a number of p
On 01/06/2022 18:05, Mark Waddingham via use-livecode wrote:
Anyway, this rather odd and obscure facet of the language will
disappear in 10 as we've made it so that initializers for constants
and locals can be constant expressions. Thus:
constant kTrue = TRUE
local sEmptyString = em
I was surprised to find that
constant K = TRUE
produces an error, though
constant K = true
is fine. In other contexts, you can say
put TRUE into myVar
put true into hisVar
etc.
but in a constant statement, it seems to be case sensitive.
Anyone got an interesting story (or theo
On 28/05/2022 00:28, Mark Wieder via use-livecode wrote:
On 5/27/22 16:03, doc hawk via use-livecode wrote:
As a professor, I’ll grade it a B-.
I thought that was a pessimistic blood type.
I thought it was short for balderdash!
___
use-livecode
Direct equivalent is probably
repeat with i = 0 to myArrayLength-1
put i-1 into j
if j < 0 then put myArrayLength-1 into j
.
end repeat
OR, if you prefer a single-statement version
repeat with i = 0 to myArrayLength-1
put (i + myArrayLength-1) mod myArrayLength into j
.
Do you need to be in front of the running machine ?
Could you maybe video the machine going through its sequence - then
record your voice-over later (either muting or turning down the machine
audio, whichever is better) ?
(Or, to put it another way, I have no real idea :-) but I'm sure Heathe
Sounds fascinating - I'd love to hear about that.
Alex.
On 05/04/2022 18:36, Craig Newman via use-livecode wrote:
Heather.
I probably am one of the oddest LC users. Entirely for either my own use or for
my company. Only once did I sell a system commercially.
But I do use LC to control three
Hi Keith,
that code will fail for any commas which occur within quoted entries -
they will be wrongly converted to TABs
I'd suggest getting cvsToTab (a community effort by Richard Gaskin, me
and a whole host of others over the years) as a good starting place, and
perhaps finishing place. It
On 30/03/2022 22:18, Klaus major-k via use-livecode wrote:
At least on a Mac. Is this also the case on Windows?
could someone please test it and report here?
Thank you!
really noone has a minute to test? :-(
Oh, I have a minute. Unfortunately, I don't have a 'Windows".
Alex.
P.S. Actual
09/03/2022 23:09, Alex Tweedly via use-livecode wrote:
Yes, Quentin's allowing for diagonals (that's how the number of
digraphs on a 5x5 board gets up to 110).
And it's probably a good idea, allowing an even finer filter - if you
aren't doing the boardwalk method..
1 - 100 of 1002 matches
Mail list logo