RE: RELEASE LiveCode 6.6.2 RC3

2014-05-04 Thread John Dixon
There are no problems scanning QRCodes when using LC 6.6.2 RC3, not here 
anyway, in fact they are the easiest and most forgiving of them all...

 From: mikeker...@roadrunner.com
 Date: Sat, 3 May 2014 18:47:16 -0400
 Subject: Re: RELEASE LiveCode 6.6.2 RC3
 To: use-livecode@lists.runrev.com
 
 This means, by the way, that barcodes, especially QR codes, are challenging
 to scan.
 
 
 On Sat, May 3, 2014 at 5:09 PM, Mike Kerner mikeker...@roadrunner.comwrote:
 
  See comment on 6.7 dp3 as well - images appear to be antialiased again.

  
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] free personality portraits

2014-05-04 Thread Richmond

I would just like to say how extremely impressed I was
by my personality portrait.

Thank you, Robert Brenstein.

It blew me away.

Richmond

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RELEASE LiveCode 6.6.2 RC3

2014-05-04 Thread Matthias Rebbe | M-R-D

Am 04.05.2014 um 09:17 schrieb John Dixon dixo...@hotmail.co.uk:

 There are no problems scanning QRCodes when using LC 6.6.2 RC3, not here 
 anyway, in fact they are the easiest and most forgiving of them all…
 

May i asked what you do mean with scanning QRCodes? Under iOS or Mac OS X?

I am looking for a solution for Mac OS X and Windows where i can load a QR Code 
image and scan/decode it with LC to get the stored information.

Regards,

Matthias



 From: mikeker...@roadrunner.com
 Date: Sat, 3 May 2014 18:47:16 -0400
 Subject: Re: RELEASE LiveCode 6.6.2 RC3
 To: use-livecode@lists.runrev.com
 
 This means, by the way, that barcodes, especially QR codes, are challenging
 to scan.
 
 
 On Sat, May 3, 2014 at 5:09 PM, Mike Kerner mikeker...@roadrunner.comwrote:
 
 See comment on 6.7 dp3 as well - images appear to be antialiased again.
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: RELEASE LiveCode 6.6.2 RC3

2014-05-04 Thread John Dixon
Matthias...

I was refering to scaaning QRCodes on iOS mobile using monte goulding's 
mergXzing external . John Craig may well have an answer for you through the use 
of his 'sQRirt' library about getting the information from a QRimage...


 Am 04.05.2014 um 09:17 schrieb John Dixon dixo...@hotmail.co.uk:
 
  There are no problems scanning QRCodes when using LC 6.6.2 RC3, not here 
  anyway, in fact they are the easiest and most forgiving of them all…
  
 
 May i asked what you do mean with scanning QRCodes? Under iOS or Mac OS X?
 
 I am looking for a solution for Mac OS X and Windows where i can load a QR 
 Code image and scan/decode it with LC to get the stored information.
 
 Regards,
 
 Matthias

  
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[OT] Tooling around

2014-05-04 Thread Richmond

And, so, to download the 30 day version of the latest
version of Toolbook Instructor when I hit on
their examples of stuff made with our thang
page led me to this:

http://tb.sumtotalsystems.com/showcase/sonata/firefox3/index.html?dhtmlActivation=inplace

Awful; both in terms of GUI design and just about everything else.

Now it may be a bit naughty . . . but, I remember when I was in the 
United States watching
TV commercials (actually, apart from National Public Television (rocks!) 
there seemed to be

only commercials to watch) that went something like this:

Our product . . . Big picture of product . . . doesn't suck as much 
as . . . Big picture of rival product
. . . and this is why . . .  5 second whizz through our product's good 
points compared with their

product's bad points (avoiding their good points and out bad points).

Now the main difference between those adverts about washing powder; 
which, face facts, will both get you scratching under your oxters owing 
to the enzymes they've shoved in their products; and


products such as Livecode and Toolbook is that the ONLY possible 
advantage I can see with Toolbook
is its ability to pump out things that run in a web-browser, 
cross-platform without having to first

download a plug-in . . .

on every other point Toolbooks loses.

Some people will say that it is immoral pushing your product by running 
down a rival one:


well, it probably is if there are no obvious differences and advantages 
of your product over

the rival one . . . BUT

Toolbook just doesn't match up to Livecode:

BUT, loads of people are pumping their money into Toolbook instead of 
Livecode . . . why?


The progging language is more awkward,

The interface is not completely WYSIWYG,

Probably through:

1. Inertia.

2. The theory that having spent yonks learning how to get Toolbook to do 
something one cannot

be bothered to do that all over again for Livecode.

3. RunRev are not getting the message out.

Here is the bye-line for Toolbook:

The New ToolBook 11.5Industry’s most comprehensive solution for fast, 
easy content authoring


That last sentence is untrue and needs to be taken issue with.

-

Richmond.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RELEASE LiveCode 6.6.2 RC3

2014-05-04 Thread Mike Kerner
not scanning - creating - sorry.  They're a challenge to scan because they
aren't clear on the screen.  Scanning works as fine as mergZX can (there
are issues with mergZX that Monte knows about).

When you create the codes with sQuiRt, the image on-screen in the graphic
area is antialiased.  That does not appear to be a sQuiRt problem.  That is
an image area problem.


On Sun, May 4, 2014 at 4:32 AM, John Dixon dixo...@hotmail.co.uk wrote:

 Matthias...

 I was refering to scaaning QRCodes on iOS mobile using monte goulding's
 mergXzing external . John Craig may well have an answer for you through the
 use of his 'sQRirt' library about getting the information from a QRimage...


  Am 04.05.2014 um 09:17 schrieb John Dixon dixo...@hotmail.co.uk:
 
   There are no problems scanning QRCodes when using LC 6.6.2 RC3, not
 here anyway, in fact they are the easiest and most forgiving of them all…
  
 
  May i asked what you do mean with scanning QRCodes? Under iOS or Mac
 OS X?
 
  I am looking for a solution for Mac OS X and Windows where i can load a
 QR Code image and scan/decode it with LC to get the stored information.
 
  Regards,
 
  Matthias


 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode




-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: [ANN] Looking for Proof Reader

2014-05-04 Thread Mark Schonewille

Hi Charles,

Thanks for the offer. I'll send you an e-mail.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Installer Maker for LiveCode:
http://qery.us/468

Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 5/4/2014 04:25, Charles Szasz wrote:

Mark

I would be happy to help with proofreading your book.

Sent from my iPad


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Run a command line app from memory

2014-05-04 Thread Andrew Kluthe
It is but outside of my current skill set. Someone else wrote this. ;) I
might have to explore that as well. Thanks!
On May 3, 2014 10:45 PM, Peter W A Wood peterwaw...@gmail.com wrote:

 Andrew

 Is it not possible for you to include the C code as a LiveCode external
 rather than write a separate program?

 Regards

 Peter


 On 4 May 2014, at 11:24, Andrew Kluthe wrote:

  Good point Richard. I never thought of it like that. Hmmm, I'll have to
  look into that. How I'm doing it now is how you've described it but I was
  asked if I could come up with a way to do this without adding any new
 files
  to disk on the fly and not need admin rights to facilitate this. It was
  written as a c program for the raw performance boost otherwise doing it
 all
  in LiveCode is a perfect option. I know we can use in memory SQLlite dB's
  and some other things but I imagine runrev had to do some work on the
  backside to make that happen. Anyhow, ill keep exploring my alternatives.
  Thanks for the suggestions.
 
  Andrew
  On May 3, 2014 9:46 PM, Richard Gaskin ambassa...@fourthworld.com
 wrote:
 
  Andrew Kluthe wrote:
 
  I have the need to run a command line utility from LiveCode without
  writing it to disk. Ideally I would like to store it in a custom
  property and find a way to run it in memory without ever writing it
  to a disk. Is this at all possible using only LiveCode?
 
  If I understand this correctly, it's not LiveCode that'll be running the
  program, but Windows; LiveCode is simply initiating the execution.
 
  Can Windows run programs that exist only in the memory space of another
  application?
 
  I don't know the answer to that, but kinda I hope not, since intuitively
  it seems like a potential security hole.
 
  Can you write the program file to temp and launch it from there?
 
  Or rewrite its functionality in script?
 
  --
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for Desktop, Mobile, and Web
  
  ambassa...@fourthworld.comhttp://www.FourthWorld.com
 
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
 
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode


 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] Tooling around

2014-05-04 Thread Richmond

Toolbook is, most definitely, less of a programming environment than
Livecode, but more of a LEGO kit.

Which makes me wonder . . .

It provides a vast number of premade objects,

74 types of text object,

but, an extremely limited number of buttons,

which, obviously, both take a lot of donkey work off the back of the 
end-user,

AND, cramp the imaginative style of the end-user . . .

Now, whether that is a bad or good thing is hard to say . . .

However . . with reference to Dar Scott and others,

I begin to wonder if, as Livecode gets increasingly capable of extremely 
sophisticated things,


if it is not time for a 2-tier interface:

1. An interface with a vast number of premade objects with preprogrammed 
capabilities rather like Toolbook and . . . [apologies in advance] . . . 
Powerpoint.


2. Our current interface, or even a reduced one somewhat like the 
Metacard one.


When I have taught programming to Primary kids I have found they divide 
into two groups


(about 25% to 75%)

those who want to control everything through programming objects via scripts

and

those who want the plug-n-play, programming-as-LEGO-blocks kids.

Of course, as an intellectual snob I favour the first 25%.

Notwithstanding that, if Livecode has any serious pretensions to Power 
to the People
it might like to consider the needs of the second group . . . especially 
not when it comes
to a bunch of school kids who are paying Richmond to keep their kids off 
the streets
in June-July, but when it comes to end-users who (c.f. my Master's 
thesis from Abertay)
are interested in delivering an end-product relating to their subject 
area without having

to go to great lengths to learn a programming language first.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Call for testing with 6.6.2 RC3

2014-05-04 Thread Stephen MacLean
I am noticing a huge slow down in responsiveness with the IDE with RC3 when 
it's been running for awhile and after I've been displaying a card that has  a 
large number of controls or is displaying multiple images or both. The cards 
also have acceleratedRendering for the stack set to true.

I've had to restart RC3 numerous times to get the responsiveness back.

After reverting to RC2 early this morning, I'm still not seeing any slow down.

Has anyone else noticed this?

Running Mac OS X 10.9.2 

The app itself seems to run fine under iOS with RC3 although I've notice that 
acceleratedRendering is disabled when on a card that contains a list of groups 
scrolled to the bottom and then displayed... wonder if it's related.

Best,

Steve

On May 2, 2014, at 8:09 PM, Richard Gaskin ambassa...@fourthworld.com wrote:

 We all want LiveCode to be stable for the work we rely on it to do, so this 
 is our chance:
 
 The dev team has posted 6.6.2 RC3 today, and as you know RC means Release 
 Candidate.
 
 This being the third RC means we're very close to seeing a release, but of 
 course we'll want to catch any issues with it BEFORE release, not after, 
 so
 
 Please download v6.6.2 RC3 today and test with it over the weekend:
 http://downloads.livecode.com/livecode/
 
 It's always good to back up your files anyway, so run your backup, install 
 the new build, and test away!
 
 If you find any bugs you know where to file 'em:
 http://quality.runrev.com/enter_bug.cgi
 
 Thanks in advance for your efforts to help ensure this new build will perform 
 perfectly for the projects you're working on.
 
 If you find your testing with 6.6.2 RC3 is going well and you have extra time 
 to test, 6.7 DP3 is also available on the Download page and could benefit 
 from more testing as well.
 
 --
 Richard Gaskin
 LiveCode Community Manager
 rich...@livecode.com
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveCode Books

2014-05-04 Thread Dave Kilroy
Hi all

My BIG news is that I've got LC server running on Mavericks! Yea! 

What I was doing wrong was thinking that in the lesson that Richard
mentioned (which I have gone through umpteen times in the last few months)
that livecode-cgi was a literal that I should use - eventually with some
help from Gregg Flora (as well as Richard and Peter here) the penny dropped
- and when I substituted livecode-cgi with cgi-bin in my httpd.conf file
- then restarted Apache - it just worked!

Well Duh! What a moron I've been! I think I'll make a comment on that
lesson's page just in case anyone else is as silly as I...

Thank you for all your help :)

Kind regards

Dave

PS: I'm running Mavericks with Mamp and VirtualHostX and was struggling to
install LiveCode Community Server 6.6.1
 



-
Some are born coders, some achieve coding, and some have coding thrust upon 
them. - William Shakespeare  Hugh Senior

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/LiveCode-Books-tp4678900p4679058.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveCode Books

2014-05-04 Thread Dave Kilroy
Richard your 'LiveCode Server Center' sounds brilliant :)

Congratulations on nearly getting it together and thank you for the long
hours you must have put in.

I'll be happy to contribute what I can as a server newbie (I can drive
Ralf's revIgniter in 'first and second gear', and have just started to play
with BootStrap) - and I agree, LC Server is going to become more and more
important to us all - move over mobile!

Kind regards

Dave



-
Some are born coders, some achieve coding, and some have coding thrust upon 
them. - William Shakespeare  Hugh Senior

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/LiveCode-Books-tp4678900p4679059.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Call for testing with 6.6.2 RC3

2014-05-04 Thread Ralph DiMola
I don't see it on Windows.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Stephen MacLean
Sent: Sunday, May 04, 2014 2:14 PM
To: How to use LiveCode
Cc: LiveCode Developer List
Subject: Re: Call for testing with 6.6.2 RC3

I am noticing a huge slow down in responsiveness with the IDE with RC3 when
it's been running for awhile and after I've been displaying a card that has
a large number of controls or is displaying multiple images or both. The
cards also have acceleratedRendering for the stack set to true.

I've had to restart RC3 numerous times to get the responsiveness back.

After reverting to RC2 early this morning, I'm still not seeing any slow
down.

Has anyone else noticed this?

Running Mac OS X 10.9.2 

The app itself seems to run fine under iOS with RC3 although I've notice
that acceleratedRendering is disabled when on a card that contains a list of
groups scrolled to the bottom and then displayed... wonder if it's related.

Best,

Steve



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Call for testing with 6.6.2 RC3

2014-05-04 Thread Earthednet-wp
I'm having troubles with making snapshots on this release. I have numerous 
images and the snapshot (previously fine on 6.6) is not reliably working, even 
tho I have is wrapped in wait 0.1 seconds with messages.

A test stack worked, so it may be the other images on my card. I'll try some 
other experiments to test this.

But, I thought the wait for 0.1 seconds with messages made the system wait 
until all operations we're complete, and wrapping the snapshot command in these 
statements would be sufficient. In any case rc3 broke my application. I'm on 
Mac osx 10.9.2

Bill

William Prothero
http://es.earthednet.org

 On May 4, 2014, at 12:59 PM, Ralph DiMola rdim...@evergreeninfo.net wrote:
 
 I don't see it on Windows.
 
 Ralph DiMola
 IT Director
 Evergreen Information Services
 rdim...@evergreeninfo.net
 
 -Original Message-
 From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
 Of Stephen MacLean
 Sent: Sunday, May 04, 2014 2:14 PM
 To: How to use LiveCode
 Cc: LiveCode Developer List
 Subject: Re: Call for testing with 6.6.2 RC3
 
 I am noticing a huge slow down in responsiveness with the IDE with RC3 when
 it's been running for awhile and after I've been displaying a card that has
 a large number of controls or is displaying multiple images or both. The
 cards also have acceleratedRendering for the stack set to true.
 
 I've had to restart RC3 numerous times to get the responsiveness back.
 
 After reverting to RC2 early this morning, I'm still not seeing any slow
 down.
 
 Has anyone else noticed this?
 
 Running Mac OS X 10.9.2 
 
 The app itself seems to run fine under iOS with RC3 although I've notice
 that acceleratedRendering is disabled when on a card that contains a list of
 groups scrolled to the bottom and then displayed... wonder if it's related.
 
 Best,
 
 Steve
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Call for testing with 6.6.2 RC3

2014-05-04 Thread J. Landman Gay

On 5/4/14, 3:25 PM, Earthednet-wp wrote:

I'm having troubles with making snapshots on this release. I have
numerous images and the snapshot (previously fine on 6.6) is not
reliably working, even tho I have is wrapped in wait 0.1 seconds with
messages.

A test stack worked, so it may be the other images on my card. I'll
try some other experiments to test this.


Maybe there's a reason I'm not aware of, but I've never needed any wait 
commands, LC always completes the current statement before moving on to 
the next one. It would be helpful to know what exactly doesn't work, the 
syntax you're using, and what OS you're on.


Have you tried checking the result or wrapping the command in a try 
statement to catch any errors?


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] Tooling around

2014-05-04 Thread Alejandro Tejada
Hi Richmond,

If I understand well your message,
you want that Livecode exports
stacks as websites or webpages.

In this mail list there experts in
both areas. 

Could you ask them to post a tutorial
for converting a simple stack to run as
a client-side webpage? (that is, no cgi-server
scripts running in php, perl or ruby...)

Al



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/OT-Tooling-around-tp4679051p4679063.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RELEASE LiveCode 6.6.2 RC3

2014-05-04 Thread Alejandro Tejada
Mike Kerner wrote
 [snip]
 When you create the codes with sQuiRt, the image on-screen in the graphic
 area is antialiased.  That does not appear to be a sQuiRt problem.  That
 is
 an image area problem.

Maybe. Just maybe. This problem is related to image quality:
http://quality.runrev.com/show_bug.cgi?id=12307

After LiveCode 6.6, image quality normal and good 
looks exactly alike. Not so in previous versions. 

Look at the image attached to this message:
http://runtime-revolution.278305.n4.nabble.com/Changes-in-LiveCode-Image-Quality-A-comparison-td4678643.html

This stack shows a comparison between 
image qualities in different LiveCode versions: 

https://dl.dropboxusercontent.com/u/3834621/LiveCode_Image_Quality_comparison.livecode

Al



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-6-2-RC3-tp4678956p4679064.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Determining which/how many rows of a datagrid form are currently displayed

2014-05-04 Thread Terry Judd
I'm using a series of datagrid form to display a some data that runs over 
several pages and will be output as a pdf. My problem is that the 'lines' in 
the form are of variable height and so I can't just assume that each page will 
display a set number of lines and populate successive datagrids accordingly.

Given this, is there a way (a dgProp?) to determine how many lines are 
displayed or will fit in a form datagrid of known height?

Terry…
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RELEASE LiveCode 6.6.2 RC3

2014-05-04 Thread Mike Kerner
Well, best is nowhere near good enough for images with strong edges
because of the antialiasing.


On Sun, May 4, 2014 at 9:00 PM, Alejandro Tejada capellan2...@gmail.comwrote:

 Mike Kerner wrote
  [snip]
  When you create the codes with sQuiRt, the image on-screen in the graphic
  area is antialiased.  That does not appear to be a sQuiRt problem.  That
  is
  an image area problem.

 Maybe. Just maybe. This problem is related to image quality:
 http://quality.runrev.com/show_bug.cgi?id=12307

 After LiveCode 6.6, image quality normal and good
 looks exactly alike. Not so in previous versions.

 Look at the image attached to this message:

 http://runtime-revolution.278305.n4.nabble.com/Changes-in-LiveCode-Image-Quality-A-comparison-td4678643.html

 This stack shows a comparison between
 image qualities in different LiveCode versions:


 https://dl.dropboxusercontent.com/u/3834621/LiveCode_Image_Quality_comparison.livecode

 Al



 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-6-2-RC3-tp4678956p4679064.html
 Sent from the Revolution - User mailing list archive at Nabble.com.

 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode




-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: RELEASE LiveCode 6.6.2 RC3

2014-05-04 Thread John Dixon
Mike is quite correct... creating QRCodes with 5.5.5  6.5.2 is not a 
problem... but after that the QRCodes produced are not able to be scanned... 
so, it's not a sQuiRt problem but LC's problem...
Hope they fix it quickly..:-)

 From: mikeker...@roadrunner.com
 Date: Sun, 4 May 2014 21:39:09 -0400
 Subject: Re: RELEASE LiveCode 6.6.2 RC3
 To: use-livecode@lists.runrev.com
 
 Well, best is nowhere near good enough for images with strong edges
 because of the antialiasing.
 
 
 On Sun, May 4, 2014 at 9:00 PM, Alejandro Tejada 
 capellan2...@gmail.comwrote:
 
  Mike Kerner wrote
   [snip]
   When you create the codes with sQuiRt, the image on-screen in the graphic
   area is antialiased.  That does not appear to be a sQuiRt problem.  That
   is
   an image area problem.
 
  Maybe. Just maybe. This problem is related to image quality:
  http://quality.runrev.com/show_bug.cgi?id=12307
 
  After LiveCode 6.6, image quality normal and good
  looks exactly alike. Not so in previous versions.
 
  Look at the image attached to this message:
 
  http://runtime-revolution.278305.n4.nabble.com/Changes-in-LiveCode-Image-Quality-A-comparison-td4678643.html
 
  This stack shows a comparison between
  image qualities in different LiveCode versions:
 
 
  https://dl.dropboxusercontent.com/u/3834621/LiveCode_Image_Quality_comparison.livecode
 
  Al
 
 
 
  --
  View this message in context:
  http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-6-2-RC3-tp4678956p4679064.html
  Sent from the Revolution - User mailing list archive at Nabble.com.
 
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 
 
 -- 
 On the first day, God created the heavens and the Earth
 On the second day, God created the oceans.
 On the third day, God put the animals on hold for a few hours,
and did a little diving.
 And God said, This is good.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
  
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: wait with messages

2014-05-04 Thread Kay C Lan
On Fri, May 2, 2014 at 7:32 AM, Richard Gaskin
ambassa...@fourthworld.comwrote:


 I would imagine that after that much time there would be an error or two
 in it, but I haven't come across specific inaccuracies, and I've been
 asking for months and haven't been able to find anyone else who can help me
 turn up any.

 As a User Guide it remains a good starting point to get the lay of the
 land, with the updated-with-each-release Dictionary for token details.


Maybe it's not an inaccuracy as such, but I think there is a gotcha for Mac
users new to LC when referring to the Dictionary and the User Guide. The
User Guide typically uses the terms Mac OS and Mac OS X as interchangeable
(Page 11 - 7.13.6 Menu Bars on Mac OS Systems [no mention of Mac OS X
menubars]. As the latest LC doesn't build for OS 9, and a new user to LC
isn't ever likely to think about building for OS 9, this is completely
acceptable and understandable. But, the Dictionary does distinguish between
Mac OS and Mac OS X because many of the references do date back to OS 9
compatibility. See the entry for specialFolderPath(). The problem arises
when an entry or example ONLY has a reference to Mac OS - see 'address' in
the Dictionary.

Any new user to LC who reads the User Guide and reads Mac OS will think OS
X, and that is basically correct. But when they go to the Dictionary and
see examples that are only Mac OS, they'll think they'll work on OS X and
there is a good chance they'd be very frustrated because they do exactly
what the example says but the do NOT get the result the Dictionary say they
should get.

Every example in the Dictionary for Mac OS [Classic] needs to be removed
and replaced with an OS X example if it doesn't exist, or if it does, a
much more useful iOS example, if applicable.

There are the odd entries in the User Guide where the differentiation
between Mac OS and Mac OS X is made (11.3.2 OS X file Types. 11.3.3 Mac OS
Classic File Types), I'm not sure 11.3.3 is of much use to anyone today.

I think the last version of Revolution to run on Mac OS was 2.6.1 so the
User Guide and Dictionary need to be standardised so that ONLY the term OS
X is used, or if the TM  Logo Police so dictate, Mac OS X. All references
to Mac OS should be removed as there is no longer a need for Classic
information.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Reporting the number of duplicates in a list of numbers?

2014-05-04 Thread JOHN PATTEN
Hi All…

I am attempting to get the total number of times specific words in a text 
passage are selected by students. The way I’m doing this is by recording the 
word numbers selected by each student and storing them in a database.  I end up 
with list of numbers representing the selected words, something like this:
3
5
6
6
24
24
24
33
130
109
 … etc. etc. I would like to determine the number of times the same words are 
selected by the students and then control their font size, make the font size 
larger the more often the text is selected. So the teacher’s report would be 
the same passage of text with the font sizes of the text increased based on how 
many times the word was selected by the students.

I’m not sure how to get the counts for the selected words. These list of word 
numbers could be quite long, depending on how many students are in the class 
and the length of the passage. I have not done anything like this before so I’m 
looking for any advice. Should I be dumping the list into an array and then 
working some kind of array magic? Can I just use a repeated find script and 
increment a variable for each item in my list?

I didn’t want to spin my wheels too long, and this is probably pretty basic, 
but I can’t remember coding a solution to something like this in the past.

Thank you!
John Patten
SUSD
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Reporting the number of duplicates in a list of numbers?

2014-05-04 Thread Kay C Lan
This might get you started, in the msg box:

put 3,5,6,6,24,24,24,33,130,109 into tData
--if the data comes from the db as seperate lines, then
--repeat for each line tRecord in tData
--if data comes in from db as a list
repeat for each item tRecord in tData
 add 1 to aCount[tRecord]
end repeat
--now output results
repeat for each key tKey in aCount
  put tKey   =   aCount[tKey]  cr after msg
end repeat

The output I get is:

109 = 1
3 = 1
130 = 1
5 = 1
33 = 1
24 = 3
6 = 2

HTH




On Mon, May 5, 2014 at 10:58 AM, JOHN PATTEN johnpat...@me.com wrote:

 Hi All…

 I am attempting to get the total number of times specific words in a text
 passage are selected by students. The way I’m doing this is by recording
 the word numbers selected by each student and storing them in a database.
  I end up with list of numbers representing the selected words, something
 like this:
 3
 5
 6
 6
 24
 24
 24
 33
 130
 109
  … etc. etc. I would like to determine the number of times the same words
 are selected by the students and then control their font size, make the
 font size larger the more often the text is selected. So the teacher’s
 report would be the same passage of text with the font sizes of the text
 increased based on how many times the word was selected by the students.

 I’m not sure how to get the counts for the selected words. These list of
 word numbers could be quite long, depending on how many students are in the
 class and the length of the passage. I have not done anything like this
 before so I’m looking for any advice. Should I be dumping the list into an
 array and then working some kind of array magic? Can I just use a repeated
 find script and increment a variable for each item in my list?

 I didn’t want to spin my wheels too long, and this is probably pretty
 basic, but I can’t remember coding a solution to something like this in the
 past.

 Thank you!
 John Patten
 SUSD
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Call for testing with 6.6.2 RC3

2014-05-04 Thread prothero


Jacqueline:
Thanks for responding. I can’t reproduce the problem with my test  
stack, which works fine. My actual application is more complicated,  
and has a fairly large map image. So, I’m wondering if that might be  
the cause and I’ll have to make some tests. RC3 worked initially, but  
began failing intermittently after a few seconds using the app.  
Incidentally, unless I put a “wait 0.1 seconds with messages” before  
the snapshot command, neither 6.6 or 6.6.2RC3 works. I tried the  
try/catch (no errors thrown( and putting the result, which always  
returns a rect of the capture region, it seems.


The code I use for my application is:

on copyMapToSnap
   put the name of me into thisImage
   set the visible of thisImage to FALSE
   wait for 0.1 seconds with messages
   --wait for 1 seconds with messages
   put the rect of this stack into stackRect
   put rectLeft(stackRect),rectTop(stackRect) into theOffset   
--this is the point at the topleft of the stack window
   put the rect of graphic MapBox into theRect  --This is relative  
to the stack
   put offsetRect(theRect,theOffset) into snapRect--offset the  
capture rect to absolute screen coordinates
   put adjustSizeOfRect(snapRect,1,1,-1,-1) into snapRect  --remove  
border of grahics box

   --wait for 0.1 seconds with messages
   --wait for 1 seconds --with messages
   --try
  export snapshot from rect  snapRect to image mapSnap
   --catch theError
  --answer theError
 -- end try
   put the result
   --wait for 0.1 seconds with messages
   --wait for 1.1 seconds
   put adjustSizeOfRect(theRect,1,1,-1,-1) into snapRect  --theRect  
is relative to the stack
   set the rect of image mapSnap to snapRect  --now set the  
captured rect to the mapbox rect

   wait for 0 seconds with messages
   set the visible of thisImage to TRUE
end copyMapToSnap

In the absence of ideas from this list, I’m going to try adding some  
complexity to the test stack and see if I can find what causes the  
failure.


Best,
Bill

Prothero William
waproth...@gmail.com




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Reporting the number of duplicates in a list of numbers?

2014-05-04 Thread JOHN PATTEN
Thanks Kay!

That’s what I needed. I knew it was pretty simple, but my unfamiliarity with 
arrays prevented me from seeing the solution. 

Cheers!

John Patten
SUSD

On May 4, 2014, at 8:14 PM, Kay C Lan lan.kc.macm...@gmail.com wrote:

 This might get you started, in the msg box:
 
 put 3,5,6,6,24,24,24,33,130,109 into tData
 --if the data comes from the db as seperate lines, then
 --repeat for each line tRecord in tData
 --if data comes in from db as a list
 repeat for each item tRecord in tData
 add 1 to aCount[tRecord]
 end repeat
 --now output results
 repeat for each key tKey in aCount
  put tKey   =   aCount[tKey]  cr after msg
 end repeat
 
 The output I get is:
 
 109 = 1
 3 = 1
 130 = 1
 5 = 1
 33 = 1
 24 = 3
 6 = 2
 
 HTH
 
 
 
 
 On Mon, May 5, 2014 at 10:58 AM, JOHN PATTEN johnpat...@me.com wrote:
 
 Hi All…
 
 I am attempting to get the total number of times specific words in a text
 passage are selected by students. The way I’m doing this is by recording
 the word numbers selected by each student and storing them in a database.
 I end up with list of numbers representing the selected words, something
 like this:
 3
 5
 6
 6
 24
 24
 24
 33
 130
 109
 … etc. etc. I would like to determine the number of times the same words
 are selected by the students and then control their font size, make the
 font size larger the more often the text is selected. So the teacher’s
 report would be the same passage of text with the font sizes of the text
 increased based on how many times the word was selected by the students.
 
 I’m not sure how to get the counts for the selected words. These list of
 word numbers could be quite long, depending on how many students are in the
 class and the length of the passage. I have not done anything like this
 before so I’m looking for any advice. Should I be dumping the list into an
 array and then working some kind of array magic? Can I just use a repeated
 find script and increment a variable for each item in my list?
 
 I didn’t want to spin my wheels too long, and this is probably pretty
 basic, but I can’t remember coding a solution to something like this in the
 past.
 
 Thank you!
 John Patten
 SUSD
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Call for testing with 6.6.2 RC3

2014-05-04 Thread J. Landman Gay

Bill,

I don't see anything in the handler that should require a wait, if 
that's all that is going on. Is the map still loading while you're 
trying to get the snapshot? Any pending messages? Even so it doesn't 
make sense, because once a handler triggers it should run to completion. 
Normally any pending messages will be suspended until the handler 
finishes, but the waits in this one will allow them to process. Then 
when the pending activity is done, the original handler picks up where 
it left off. But maybe that's not happening, or maybe the background 
activity is exiting to top.


Anyway, I'd look for background activity. An error in another script 
that runs during the wait may be causing all scripts to abort.


I can't think why you'd need to add the wait in the first place though. 
If you remove all waits from your test stack, does it still work there?


On 5/4/14, 10:21 PM, proth...@earthednet.org wrote:


Jacqueline:
Thanks for responding. I can’t reproduce the problem with my test stack,
which works fine. My actual application is more complicated, and has a
fairly large map image. So, I’m wondering if that might be the cause and
I’ll have to make some tests. RC3 worked initially, but began failing
intermittently after a few seconds using the app. Incidentally, unless I
put a “wait 0.1 seconds with messages” before the snapshot command,
neither 6.6 or 6.6.2RC3 works. I tried the try/catch (no errors thrown(
and putting the result, which always returns a rect of the capture
region, it seems.

The code I use for my application is:

on copyMapToSnap
put the name of me into thisImage
set the visible of thisImage to FALSE
wait for 0.1 seconds with messages
--wait for 1 seconds with messages
put the rect of this stack into stackRect
put rectLeft(stackRect),rectTop(stackRect) into theOffset
--this is the point at the topleft of the stack window
put the rect of graphic MapBox into theRect  --This is relative to
the stack
put offsetRect(theRect,theOffset) into snapRect--offset the capture
rect to absolute screen coordinates
put adjustSizeOfRect(snapRect,1,1,-1,-1) into snapRect  --remove
border of grahics box
--wait for 0.1 seconds with messages
--wait for 1 seconds --with messages
--try
   export snapshot from rect  snapRect to image mapSnap
--catch theError
   --answer theError
  -- end try
put the result
--wait for 0.1 seconds with messages
--wait for 1.1 seconds
put adjustSizeOfRect(theRect,1,1,-1,-1) into snapRect  --theRect is
relative to the stack
set the rect of image mapSnap to snapRect  --now set the captured
rect to the mapbox rect
wait for 0 seconds with messages
set the visible of thisImage to TRUE
end copyMapToSnap

In the absence of ideas from this list, I’m going to try adding some
complexity to the test stack and see if I can find what causes the failure.

Best,
Bill

Prothero William
waproth...@gmail.com



--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: wait with messages

2014-05-04 Thread J. Landman Gay
This is a very good point; you should paste it into a bug report. I've 
noticed the same discrepancies in the dictionary and had to think twice 
about what some of those entries meant.


On 5/4/14, 9:39 PM, Kay C Lan wrote:

Maybe it's not an inaccuracy as such, but I think there is a gotcha for Mac
users new to LC when referring to the Dictionary and the User Guide. The
User Guide typically uses the terms Mac OS and Mac OS X as interchangeable
(Page 11 - 7.13.6 Menu Bars on Mac OS Systems [no mention of Mac OS X
menubars]. As the latest LC doesn't build for OS 9, and a new user to LC
isn't ever likely to think about building for OS 9, this is completely
acceptable and understandable. But, the Dictionary does distinguish between
Mac OS and Mac OS X because many of the references do date back to OS 9
compatibility. See the entry for specialFolderPath(). The problem arises
when an entry or example ONLY has a reference to Mac OS - see 'address' in
the Dictionary.

Any new user to LC who reads the User Guide and reads Mac OS will think OS
X, and that is basically correct. But when they go to the Dictionary and
see examples that are only Mac OS, they'll think they'll work on OS X and
there is a good chance they'd be very frustrated because they do exactly
what the example says but the do NOT get the result the Dictionary say they
should get.

Every example in the Dictionary for Mac OS [Classic] needs to be removed
and replaced with an OS X example if it doesn't exist, or if it does, a
much more useful iOS example, if applicable.

There are the odd entries in the User Guide where the differentiation
between Mac OS and Mac OS X is made (11.3.2 OS X file Types. 11.3.3 Mac OS
Classic File Types), I'm not sure 11.3.3 is of much use to anyone today.

I think the last version of Revolution to run on Mac OS was 2.6.1 so the
User Guide and Dictionary need to be standardised so that ONLY the term OS
X is used, or if the TM  Logo Police so dictate, Mac OS X. All references
to Mac OS should be removed as there is no longer a need for Classic
information.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: wait with messages

2014-05-04 Thread Kay C Lan
Sorry, I should have mentioned: Bug 11838.


On Mon, May 5, 2014 at 12:40 PM, J. Landman Gay jac...@hyperactivesw.comwrote:

 This is a very good point; you should paste it into a bug report. I've
 noticed the same discrepancies in the dictionary and had to think twice
 about what some of those entries meant.


 On 5/4/14, 9:39 PM, Kay C Lan wrote:

 Maybe it's not an inaccuracy as such, but I think there is a gotcha for
 Mac
 users new to LC when referring to the Dictionary and the User Guide. The
 User Guide typically uses the terms Mac OS and Mac OS X as interchangeable
 (Page 11 - 7.13.6 Menu Bars on Mac OS Systems [no mention of Mac OS X
 menubars]. As the latest LC doesn't build for OS 9, and a new user to LC
 isn't ever likely to think about building for OS 9, this is completely
 acceptable and understandable. But, the Dictionary does distinguish
 between
 Mac OS and Mac OS X because many of the references do date back to OS 9
 compatibility. See the entry for specialFolderPath(). The problem arises
 when an entry or example ONLY has a reference to Mac OS - see 'address' in
 the Dictionary.

 Any new user to LC who reads the User Guide and reads Mac OS will think OS
 X, and that is basically correct. But when they go to the Dictionary and
 see examples that are only Mac OS, they'll think they'll work on OS X and
 there is a good chance they'd be very frustrated because they do exactly
 what the example says but the do NOT get the result the Dictionary say
 they
 should get.

 Every example in the Dictionary for Mac OS [Classic] needs to be removed
 and replaced with an OS X example if it doesn't exist, or if it does, a
 much more useful iOS example, if applicable.

 There are the odd entries in the User Guide where the differentiation
 between Mac OS and Mac OS X is made (11.3.2 OS X file Types. 11.3.3 Mac OS
 Classic File Types), I'm not sure 11.3.3 is of much use to anyone today.

 I think the last version of Revolution to run on Mac OS was 2.6.1 so the
 User Guide and Dictionary need to be standardised so that ONLY the term OS
 X is used, or if the TM  Logo Police so dictate, Mac OS X. All references
 to Mac OS should be removed as there is no longer a need for Classic
 information.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode



 --
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com


 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Reporting the number of duplicates in a list of numbers?

2014-05-04 Thread Peter Haworth
If you're using an sql  db:

SELECT thewordnumber, count(*) AS C FROM table GROUP BY  thewordnumber
 ORDER BY C DESCENDING

Returns the word numbers and count sorted by count high to low.

Pete
lcSQL Software
On May 4, 2014 8:47 PM, JOHN PATTEN johnpat...@me.com wrote:

 Thanks Kay!

 That’s what I needed. I knew it was pretty simple, but my unfamiliarity
 with arrays prevented me from seeing the solution.

 Cheers!

 John Patten
 SUSD

 On May 4, 2014, at 8:14 PM, Kay C Lan lan.kc.macm...@gmail.com wrote:

  This might get you started, in the msg box:
 
  put 3,5,6,6,24,24,24,33,130,109 into tData
  --if the data comes from the db as seperate lines, then
  --repeat for each line tRecord in tData
  --if data comes in from db as a list
  repeat for each item tRecord in tData
  add 1 to aCount[tRecord]
  end repeat
  --now output results
  repeat for each key tKey in aCount
   put tKey   =   aCount[tKey]  cr after msg
  end repeat
 
  The output I get is:
 
  109 = 1
  3 = 1
  130 = 1
  5 = 1
  33 = 1
  24 = 3
  6 = 2
 
  HTH
 
 
 
 
  On Mon, May 5, 2014 at 10:58 AM, JOHN PATTEN johnpat...@me.com wrote:
 
  Hi All…
 
  I am attempting to get the total number of times specific words in a
 text
  passage are selected by students. The way I’m doing this is by recording
  the word numbers selected by each student and storing them in a
 database.
  I end up with list of numbers representing the selected words, something
  like this:
  3
  5
  6
  6
  24
  24
  24
  33
  130
  109
  … etc. etc. I would like to determine the number of times the same words
  are selected by the students and then control their font size, make the
  font size larger the more often the text is selected. So the teacher’s
  report would be the same passage of text with the font sizes of the text
  increased based on how many times the word was selected by the students.
 
  I’m not sure how to get the counts for the selected words. These list of
  word numbers could be quite long, depending on how many students are in
 the
  class and the length of the passage. I have not done anything like this
  before so I’m looking for any advice. Should I be dumping the list into
 an
  array and then working some kind of array magic? Can I just use a
 repeated
  find script and increment a variable for each item in my list?
 
  I didn’t want to spin my wheels too long, and this is probably pretty
  basic, but I can’t remember coding a solution to something like this in
 the
  past.
 
  Thank you!
  John Patten
  SUSD
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
 
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode


 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode