Is it just me or is the lime green text on the new Livecode website way too
pale to read easily. It's not that I don't like the color, but it does seem to
get lost against a white background. Check out the tutorials section and you'll
see what I mean.
Terry...
Dr Terry Judd
Senior Lecturer in
Hi Terry,
It isn't called LimeGreen. LimeGreen is much brighter and greener. What
you mean is YellowGreen (unix colour name). It is a little faint, but I
can read it fine. You might want to adjust the colour settings of your
monitor.
You can see the difference here: http://qery.us/3h3 Left
Hey Mark - yes definitely more yellow green than lime but still difficult to
read. Particularly bad on both my Mac monitors but not much better on an iPad.
Regards,
Terry...
On 22/05/2013, at 05:46 PM, Mark Schonewille wrote:
Hi Terry,
It isn't called LimeGreen. LimeGreen is much brighter
Hi Andre,
Thanks very much for that!
I just watched your video, you will save me a lot of SQL :-)
Just one quick question I could not find on the website and which is
probably obvious for the more advanced people here: How do I install DBLib?
Copy to the plugins folder in my documents?
Greetz
Possible, but not easily to read, true
-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im
Auftrag
von Terry Judd
Gesendet: Mittwoch, 22. Mai 2013 09:14
An: How to use LiveCode
Betreff: Lime green text on new Livecode website
Is it just
Yep, I find the color kind of hard to read too. For the text they
should choose a color that adds more black to the green. It will
still complement their logo color, but be easier to read.
The bigger problem, perhaps, is that the links to the Tutorials,
Beginners Course and Forums on this
On 05/22/2013 12:46 PM, Tim Selander wrote:
Yep, I find the color kind of hard to read too. For the text they
should choose a color that adds more black to the green. It will still
complement their logo color, but be easier to read.
The bigger problem, perhaps, is that the links to the
On 22 May 2013, at 12:32, Richmond wrote:
I don't know what that greeny-yellow colour is; personally I call it
squashed caterpillar
I like it. I admit though that it would fail accessibility tests in a public
space like a museum.
Any caterpillars that colour are too close to a nuclear power
On 22/05/2013, at 9:41 PM, Paul Maguire m...@paulmaguire.me wrote:
On 22 May 2013, at 12:32, Richmond wrote:
I don't know what that greeny-yellow colour is; personally I call it
squashed caterpillar
I like it. I admit though that it would fail accessibility tests in a public
space like a
I'm using DBLib and I'm having trouble inserting into a MySQL database. My
database connection is working.
My database name: names
Table name: names
My table fields are:
fldID
fldFullName
fldEmailAddress
fldRegistered
My controls on my form are:
fldFullName
fldEmailAddress
fldRegistered
On Wed, May 22, 2013 at 10:06 AM, Shawn Blc shawnlivec...@gmail.com wrote:
put dbInsert[names, tDataA] into tResult
Shawn,
You are using brackets instead of parenthesis. It should read:
put dbInsert(names, tDataA) into tResult
Also the best place to ask for DB Lib related help is on my
Thank you Andre. I'll start posting my related questions on your forum.
I'll give that a shot and update you. Thank you for the quick response!
On Wed, May 22, 2013 at 8:19 AM, Andre Garzia an...@andregarzia.com wrote:
On Wed, May 22, 2013 at 10:06 AM, Shawn Blc shawnlivec...@gmail.com
I get an error on that line:
*put* dbInsert(names, tDataA) into tResult
Going to register now on your forum.
On Wed, May 22, 2013 at 8:21 AM, Shawn Blc shawnlivec...@gmail.com wrote:
Thank you Andre. I'll start posting my related questions on your forum.
I'll give that a shot and update
I read on the LC website that iPad was supported. True?
Craig Newman
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
True.
g
On 22/05/2013, at 11:37 PM, dunb...@aol.com wrote:
I read on the LC website that iPad was supported. True?
Craig Newman
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe
Hi Colin,
Nice work!
I added timing code to get the framerate. On my macbook pro when nothing is
actually moving, it achieves about 40 fps. When the images are moving it
drops to about 24 fps. I'd be curious how using the move command might
compare. I don't think it would be faster since with
Please help.
http://www.indiegogo.com/projects/devawriter/x/3379741#share
Love, Richmond.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
Has anyone had success using revXMLText to output a formatted XML file
from an XML Tree? The dictionary says the last parameter should control
this feature.
From the dictionary:
revXMLText(treeID [,startNode] [, formatted])
[...]
formatted - Whether or not to produce xml with indenting and
Just to be clear - you don't run the LC development tools on iOS devices.
The development tools run on OSX, Win, and Linux. The apps you write can
be made for the various iOS and Android devices.
On Wed, May 22, 2013 at 9:43 AM, Gerry Orkin gerry.or...@gmail.com wrote:
True.
g
On
Supported in that you can publish apps for iPad. Did you see something that
suggested that the Livecode IDE could run on iPad?
On May 22, 2013, at 9:37 AM, dunb...@aol.com wrote:
I read on the LC website that iPad was supported. True?
___
The use of an array value was intentional. Try your version and my version
while moving very slowly, you'll see that lots of the images will stall in your
one. That's because the value keeps rounding down to the nearest pixel. The
array approach makes the location be floating point, and so over
Thanks Scott.
Pete
lcSQL Software http://www.lcsql.com
On Tue, May 21, 2013 at 5:49 PM, Scott Rossi sc...@tactilemedia.com wrote:
I tried it after I saw your note. This parameter doesn't appear to affect
anything in the resulting effect that I can see.
Unrelated (but important to me): the
Funny, I thought I was getting away with it because I was scrolling to the
left, where the use of trunc instead of round meant that even at the
slowest setting, everything was moving, in some cases too fast.
Here it is adapted to use the array again. It's too bad (for this) that the
loc can't use
A darker background would help. I agree that the text is really hard to
read, but I think the color is ok.
On Wed, May 22, 2013 at 8:59 AM, Terry Judd terry.j...@unimelb.edu.auwrote:
On 22/05/2013, at 9:41 PM, Paul Maguire m...@paulmaguire.me wrote:
On 22 May 2013, at 12:32, Richmond
How does one perform an accessibility test in an open public space ?... :-) I
know some people who have vegetable gardens who think 'squashed caterpillars'
are a good thing...
And the new logo with its yellow and green ?... I for one, like it
From: mikeker...@roadrunner.com
Date: Wed, 22
I have a list of three words that I need to be randomly sorted. To start with,
the first word is the correct answer to a question. I want to re-order the list
so that the correct answer may be the second or third word, and not necessarily
the first. How can I do this successfully every time?
If you want random sorts, don't change the randomseed. It's set for you on
startup, and only should be set if you want non-random things to happen.
If you sort three lines randomly there's a pretty high chance that a given line
remains on the same line for two consecutive times. It's not
Hi there,
What are you looking here for?
I told you to ignore the message!
Thanks,
Rick
P.S. I had some issues with my mail server
and I wanted to be sure everything is
now working correctly.
___
use-livecode mailing list
Chris.
With only three lines, are you sure you are not just seeing possible similar
consecutive sorts, since there are not that many options? Try hitting the sort
button again. It should work out as advertised.
But with only three, the possibility of keeping the same order, or having one
On 05/22/2013 08:44 PM, John Dixon wrote:
How does one perform an accessibility test in an open public space ?... :-) I
know some people who have vegetable gardens who think 'squashed caterpillars'
are a good thing...
And the new logo with its yellow and green ?... I for one, like it
The
On 05/22/2013 09:24 PM, Rick Harrison wrote:
Hi there,
What are you looking here for?
The secret of the treasure of the Sierra Madre.
Whoops, so that's what is called a rhetorical question . . . LOL
I told you to ignore the message!
Thanks,
Rick
P.S. I had some issues with my mail
Chris,
I think your problem is the use of the word lines…
These versions will show the difference:
on mouseUp
local myVar
put one,two,three into myVar
put myVar
wait 30
sort lines of myVar by random(1)
put myVar
end mouseUp
on mouseUp
local myVar
put one,two,three
Try replacing 'the number of lines of myVar' with some huge number you think is
allowed for random(), say 99.
With small numbers you are likely to get the same number for different lines
and perhaps sort does not change order in that case.
Dar
On May 22, 2013, at 11:59 AM, Chris
Sorting by a randomSeed greater than the number of elements of a sample does
not help.
With the following in a fld 1: aaa,bbb,ccc
and this in a button:
on mouseUp
get fld 1
repeat 1000
sort items of it by random(3)
put it return after lowSeed
end repeat
I think you are going to get the first line of the original list (correct
answer) about half the time. Does that seem right to you from what you have
seen? The correct answer will be in the first two about 80% of the time.
Using the larger argument for random should give you better
The filter command in LiveCode appears to accept a regular expression
(using ? for a single character match, * for multiple character match,
[chars] and [char-char]). However, if you want to filter a container to
a string where you pattern contains a question mark, it does not appear
that you can
There is a potential confusion in the term randomSeed. We might be using it
two ways.
There is the randomSeed property, the state of the random number generator.
And there is the argument to the random function.
And...
Shouldn't the 'get fld 1' be inside the loop? (Or initialized the same
Thanks for the suggestions everyone, but I'm still getting strange results, and
I'm beginning to think there's something I'm doing that's affecting use of the
random() function. Not really sure what it would be though. Here's my code:
set the itemDel to tab
put * item 3 of sRecSet into
Hi Paul,
This works fine for me:
put replacetext(xxx?!xxx,[\?!],)
-- xx
What exactly is the problem you're having? Could you post some of the
code that doesn't work for you?
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage:
Paul,
I read your message three more times, and I think I should note that
put replacetext(xxx?!xxx,\?,)
works too: -- xxx!xxx
in addition to
put replacetext(xxx?!xxx,[\?!],)
-- xx
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage:
I think there's been discussions on the list before about the filter
command and the fact that it doesn't seem to support the full regexp
syntax, only the specific functionality described in the dictionary
Pete
lcSQL Software http://www.lcsql.com
On Wed, May 22, 2013 at 2:16 PM, Paul Dupuis
The testing is on the desktop, though? It might well be possible to break
random with a bad random seed depending on the method, so it might be broken
from earlier experiments. Restarting LiveCode should fix that. I don't think
that is your situation, but it is easy to do.
This is a puzzle
I have no idea hat your problem might be but here's what I'd try
next to see if I could figure out what's happening :-)
Change from
set the itemDel to tab
put * item 3 of sRecSet into tPossibleAnswers -- correct answer
put cr item 4 of sRecSet after tPossibleAnswers -- distractor 1
put
Dar.
Yes, the randomseed is misused here. Parameter is better.
I assumed that it made no difference if I sorted the original text, or with a
sorted version of that text. Random is random, right? An example of
shoot-from-the-hip posting to the list.
It seems that it does, and I am not sure
I have a card with a number of slider scrollbars on it and a scrollbarDrag
handler in the card script to deal what happens when any of the sliders are
moved. I also have a field associated with each scrollbar which receives
the thumbpos of its associated slider. All that works fine
However, if
Chris,
I think that you cannot sort by random(99) because the argument of the sort
(the sortkey as it is called in the dictionary) must by something like item 2
of each and not a number out from a random generator.
If you want a random order of the three lines of possible answers, you
Sorry, I'm afraid I put a stupid error in my script:
the second possibility should be:
put into tLastOrder
put into tOrder -- they must of course be the same at the start
repeat until tOrder tLastOrder
put line(random(6)) of sOrderOfLines into tOrder
next repeat
put tOrder into
I think the problem comes up when two equal items are compared. I suspect that
sort will tend to leave things unchanged.
On May 22, 2013, at 4:31 PM, dunb...@aol.com wrote:
Dar.
Yes, the randomseed is misused here. Parameter is better.
I assumed that it made no difference if I
Peter.
So I made a new stack with a few scrollbars and sliders and a field. In the
card script:
on scrollbarDrag
put the thumbPos of the target into fld valueField
end scrollbarDrag
Everything works fine when I drag the thumbs, and nothing happens no matter
what I do to the field.
On May 22, 2013, at 4:35 PM, Jacques Hausser wrote:
I think that you cannot sort by random(99) because the argument of the
sort (the sortkey as it is called in the dictionary) must by something like
item 2 of each and not a number out from a random generator.
I'll have to run tests to
On 22/05/2013 23:50, Dar Scott wrote:
I think the problem comes up when two equal items are compared. I suspect that
sort will tend to leave things unchanged.
It's not just tend to leave them unchanged - it will *always* leave
them unchanged if the sort keys are equal. It says in the docs
Yeah, I worded that funny. I meant the sort will be biased toward the current
order. I didn't mean any one comparison.
Thanks for the catch!
On May 22, 2013, at 5:09 PM, Alex Tweedly wrote:
On 22/05/2013 23:50, Dar Scott wrote:
I think the problem comes up when two equal items are
Here is (I think) the situation for random(3).
Lines will be (virtually) assigned numbers randomly; there are 27 possibilities.
There are 9 cases in which the first line is assigned a 1. It is first in the
sort.
There are 4 cases in which the first line is assigned a 2 and the other lines
get
On 5/22/2013 5:37 PM, Mark Schonewille wrote:
Hi Paul,
This works fine for me:
put replacetext(xxx?!xxx,[\?!],)
-- xx
What exactly is the problem you're having? Could you post some of the
code that doesn't work for you?
it is with the filter command not the replaceText function I
From what I can make out in the Android release notes, splash images only
relate to the personal and educational versions of Livecode. However, there is
still a field for a splash image in the android panel of the standalone
builder of the Livecode commercial version.
I'd like to include a
On Wed, May 22, 2013 at 3:51 PM, dunb...@aol.com wrote:
Everything works fine when I drag the thumbs, and nothing happens no
matter what I do to the field. What do you have different?
I wish I knew! Here's what I've checked:
- the field has no scrollbars enabled
- the field has no handlers
On May 22, 2013, at 10:59 AM, Chris Sheffield cmsheffi...@icloud.com wrote:
sort lines of myVar by random(the number of lines of myVar)
Hi, Chris.
I suggest you try this:
sort lines of myVar by _random( the number of lines in myVar, each )
with this:
private function _random pUpperLimit --
I think it's behaving as intended (however strange that may be).
Note - there is no need to have any scrollbars anywhere to have
scrollbardrag messages generated.
The key part (in the docs) is perhaps
Summary:
Sent to a field, scrollbar, or group when the user drags the scrollbar
thumb or
On May 22, 2013, at 5:04 PM, Dick Kriesel dick.krie...@mail.com wrote:
combinations
oops... permutations
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
Dar,
I'm afraid you are wrong…
they would not be 27 possibilities (3^3) but only 6 (3! - factorial), because
each line (first, second and third) can only be present once.
And I tested random (3) and random () corrected to give a number between 1
and 3 with the following scripts:
on
I have a datagrid. Using a MySQL database. In one field of the database
I'm storing the image link
example: http://forums.runrev.com/styles/prosilver/imageset/site_logo.gif
How do I go about showing that image in a column of my datagrid? For
instance if I have a column called colPic how would
Hi Paul,
I see what you mean. You weren't looking for a solution, just for more
trouble :-)
I tried several special characters and they can all be used to filter
lines with the same workaround. Unfortunately, many of those special
characters have no effect, because regex isn't fully
Well Chris, I'm sure you've already tried this, but when this kind of thing
happens to me… in other words, when a script is correct, but the results are
wrong… I've messed something up later in the script with another put statement
that overrides it. Maybe the place in the script where you've
On 5/22/2013 8:32 PM, Mark Schonewille wrote:
Hi Paul,
I see what you mean. You weren't looking for a solution, just for more
trouble :-)
I tried several special characters and they can all be used to filter
lines with the same workaround. Unfortunately, many of those special
characters
Chris, I think Randy has put his finger on something: the * is before any
number or letter in the ASCII numeration. I do not know what the random
function uses when randomizing a set (I was not even aware of this
possibility) but that could well be the ASCII value(s) of the first char(s).
I do find it strange that filter doesn't support full regexp syntax, seems
like RunRev would have had to write special code instead of using standard
regexp libraries which they use in other commands
Shouldn't be too difficult to write a myFilter function that supports full
regexp syntax using a
I think you could:
- customize the ColPic column to contain an image (any image, even an empty
one)
- edit the FillInData handler of the ColPic column to use the link to
binary read the image into a variable and set the text of your image to the
variable.
There could be problems if your images
On Wed, May 22, 2013 at 5:13 PM, Alex Tweedly a...@tweedly.net wrote:
Then make the field very slightly less tall - and now simply clicking in
the field causes a tiny scroll because the insertion cursor is being put in
the field. And that generates a 'scrollbardrag' which is picked up by the
Thanks Pete, could you give me a short example or pass me on a link where I
can see a short example?
On Wed, May 22, 2013 at 8:37 PM, Peter Haworth p...@lcsql.com wrote:
I think you could:
- customize the ColPic column to contain an image (any image, even an empty
one)
- edit the
Tried this, but isn't working.:
*on* FillInData pDataArray
*set* the filename of image fldColImage of me to pDataArray[
http://mydomain.com/image.png;]
*end* FillInData
On Wed, May 22, 2013 at 8:49 PM, Shawn Blc shawnlivec...@gmail.com wrote:
Thanks Pete, could you give me a short
Hi Shawn,
The Datagrid manual has examples of how to customize a column, you can find
it at http://lessons.runrev.com/m/datagrid
There isn't an exact example of what you want to do but It will get you
started with how to customize a column to contain an image (or any other
type of control), and
Easy mistake to make, Jacques, but it is not 3!.
Random() emulates independent random numbers. It cannot avoid numbers returned
before in the sort. Each line will get a randomly assigned number independent
of the other lines.
The number of ways 3 lines can be ordered does not apply.
Each
I think this is likely, too. Well, now that you got rid of the small argument
to random.
On May 22, 2013, at 6:36 PM, Randy Hengst wrote:
Well Chris, I'm sure you've already tried this, but when this kind of thing
happens to me… in other words, when a script is correct, but the results are
The sort value of each line does not depend on 'each' in this case.
On May 22, 2013, at 7:16 PM, Jacques Hausser wrote:
Chris, I think Randy has put his finger on something: the * is before any
number or letter in the ASCII numeration. I do not know what the random
function uses when
As I understand the sort command the syntax is something like:
sort this_group _of_thing by the _text _values_in _this _other_thing
so what it seems like to me is that Randy is saying
sort the_lines_in_this_thing by either_1_or_2_or_3
In other words the lines are being sorted by a
75 matches
Mail list logo