Just saw an improvement in my code that *should* make it happy to work with
local OkayChars = ""
function CleanASCII3 DerText if OkayChars = "" then -- construct OkayChars
string as needed repeat with K1 = 32 to 126 put numToChar (K1) after
OkayChars end repeat
While Bob Sneidar's function should do the job of scrubbing weird characters
from text, am unsure why he felt the need to construct that massive pCustomList
variable. Seems to me that it would be simpler, and perhaps quicker, to do this
function cleanASCII2 DerASCII put "" into
sez Bob Sneidar :>Apparently nothing is a real.
Neither is anything strictly a real.
[singing] "Let me take you down, 'coz I'm going to Strawberry Fields…"
use-livecode mailing list
Please visit this url to
On 7.04.20 22:24, Roger Guay via use-livecode wrote:
> Hi all,
> I know there must be a simple way to do this but it is escaping me at the
> moment. How can I move an object (grab me on mouseDown) and have it snap to a
> grid (square on a board game) on mouseUp?
There are any number of ways to
Atari is apparently producing a gizmo they call the "Atari VCS", which they're
positioning primarily as a video game console. However! According to an email I
just got from them, this beast has what they're calling "Atari sandbox mode
(install any OS)", and they claim "If you want to develop
I strongly suspect that the desired goal, to have a nice, robust algorithm
which automagically identifies the encoding of *ABSOLUTELY ANY* text document
with zero need for human involvement, simply isn't possible. Because text
encoding is intrinsically arbitrary—see also: the many variations on
> Date: Tue, 12 Nov 2019 12:12:47 -0500
> From: Stephen MacLean
> To: How to use LiveCode
> Subject: Identifying Un-used functions and commands
> Content-Type: text/plain; charset=utf-8
> Hi All,
> I?m wondering if anyone has a way or code to identify any un-used functions
sez Sean Cole (Pi):>I've just been teaching my youngest about the 4th - nth
dimensions. Time is
>not the 4th but the 1st temporal dimension. If the 3 spatial dimensions are
>Length, height and width then the 4th is depth, ie, going inwards and
>outwards as the easiest way to picture it (but not
Quentin Long here. As luck would have it, I'm going to be singing in a concert
on the Friday after the LiveCode Conference. I have no idea how many LCC
attendees will still be in the Bay Area on Friday, but for the benefit of those
The program: Ein deutsches Requiem, by Brahms
Hmmm… Seems like this library is intended for a summat limited subset of
graph-styles. There are pie charts, radar charts, etc ad nauseum, and it's not
clear to me how this library caan cope with any of those "non-standard" types
of graph. As well, it's unclear to me how this library will deal
> From: Richard Gaskin
>> J. Landman Gay wrote:
>> On December 27, 2018 2:36:16 PM Richard Gaskin via use-livecode
>>> Sounds like one more reason to allow stack properties as YAML
>>> frontmatter in the file. Ever since I suggested that a couple
>>> years back, the range of
Have pondered the question, and come up with some code which may or may not
solve the problem at hand, but which may at least prove helpful in looking for
a real solution:
Assumption: You’ve got a text document (not HTML, not RTF, just plain TXT)
Suggestion for the language-token for this function: "transplant".
transplant [qualification] from [SourceArray] to [TargetArray]
[qualification] is a pattern/expression which describes exactly which bits you
want to move from SourceArray to TargetArray.
If TargetArray doesn't exist, it should
Have just started a googlemap with markers for various points of interest in
the general vicinity of the Conference. Right now it's just a bunch of
restaurants, some of which also serve alcohol. Will add more markers as time
sez hh :
> > > JLG wrote:
> > > The original issue that influenced this one was how to provide a
> > > larger hit zone on an SVG widget.
> > > How would this property work for that?
> > Quentin L. wrote:
> > I?m thinking that a single line of code would suffice:
> > set the
sez “J. Landman Gay" :
> The original issue that influenced this one was how to provide a larger hit
> zone on an SVG widget. How would this property work for that?
I’m thinking that a single line of code would suffice:
set the clickableRegion of widget “Fred” to
sez hh :
> How would you determine that a clickLoc is within such a
> "region" or not?
> (Say, for simplicity, the region is inside the control's
Given that the engine *already does* have *some* sort of mechanism for
In the past few List digests, there's been some discussion of practical issues
regarding when a click does or doesn't count as clicking *on* a particular
item. So, here's a proposed addition to LiveCode…
Recognized abbreviation: clickReg
The obvious method for generating the points of an oval—use a loop that
generates sin(x) & cos(x) coördinate-pairs—has already been mentioned. What's
*not* so obvious, is that the points generated by that method are not evenly
spaced! Not unless you're working with a perfect circle, anyway. For
My 2 cents' worth: Rather than "clipsToRect", call the property "visibleRect".
Because that's what it is—it's the rectangular area of the screen, within which
the specified portion of the group is visible.
"Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length"
Read the webcomic
sez "J. Landman Gay" :
| On 5/23/17 10:36 AM, Matt Maier via use-livecode wrote:
| > I want to find out which parts of my code are making changes to a control's
| > parameter. Specifically, I've got an arrow that I want to be black, and it
| > is black when it's created,
sez "Tiemo Hollmann TB" :
To: "LiveCode User Liste senden"
> I have a list field of words and a correspondent array with the words of the
> field as the keys plus some data per key. I can store the array in a file,
> read it later from file and
First off, thanks to Alan Stenhouse for zeroing in on my filter-related
mistake. Any number fo people *could* have done so, but it was Alan who
actually did the deed. So, yay Alan!
Second: I discovered something odd as a result of another mistake I made. My
ask file "What do you want
I have a return-delimited list. Each line of this list consists of [some text]
& tab & [other text]. I want to see all the lines of the list for which [some
text] contains Character String X. This is obviously a job for the filter
command, right? So I try this:
filter lines of MyList with ("*"
Date: Tue, 21 Mar 2017 14:58:02 +
sez Bob Sneidar
> > On Mar 21, 2017, at 04:11 , Klaus major-k via use-livecode
> > wrote:
> > "numtochar" and "chartonum" have been deprecated since version 7.x of
> > Liveocde!
sez Tim Selander :
> I miss the Zynga "Pathwords" game on Facebook, so for my own
> amusement I'm trying to recreate it in Livecode.
> For those who don't know the game, it had a solid screenful of
> Scrabble-like lettered tiles. Click and drag the mouse through
> > On Feb 28, 2017, at 07:14 , Sannyasin Brahmanathaswami via use-livecode
> > wrote:
> > an image is an image is an image, whether it is png, bitmap, jpg or svg,
> > the fact that is is a "widget" is secondary to the use case.
> sez Bob Sneidar
Suggestion for RM to try: Don't fuss about non-integer points—do all the
necessary calculations "under the hood", and just let point-coördinates be
assigned the resulting non-integer numbers as needed. With any luck, LC will
make this "just work" on your screen.
"Bewitched" + "Charlie's
sez J. Landman Gay:
> On 1/4/17 4:05 PM, Bob Sneidar wrote:
> > I feel so stupid. But I must confess I screwed up.
> You did the right thing posting here. I have a client who runs into
> problems all the time, so we schedule a Skype session where I can see
> what's going wrong. Invariably, as
Mail list logo