Re: arrays with merge

2015-06-05 Thread Terence Heaford
Also tried it with one space after array as

put merge("SELECT [[tColumns]] FROM '[[tTable]]' [[myArray["test”] ]] 
[[tSortOrder]]") into tSQL

Still got a syntax error.

LC 6.7.5 Mac.

Is there a solution?

All the best

Terry





> On 5 Jun 2015, at 07:55, Terence Heaford  wrote:
> 
> Did this and I still get a syntax error.
> 
> put merge("SELECT [[tColumns]] FROM '[[tTable]]' [[ myArray["test”] ]] 
> [[tSortOrder]]") into tSQL
> 
> Any ideas
> 
> Thanks
> 
> Terry
> 
> 
> 
>> On 5 Jun 2015, at 07:42, Monte Goulding > > wrote:
>> 
>> Add a space between the array bracket and the merge brackets
>> 
>>> On 5 Jun 2015, at 4:27 pm, Terence Heaford >> > wrote:
>>> 
>>> This line gives a syntax error, obviously because an array does not work in 
>>> merge?
>>> 
>>> put merge("SELECT [[tColumns]] FROM '[[tTable]]' [[myArray["test"]]] 
>>> [[tSortOrder]]") into tSQL
>>> 
>>> Is there a way around this or do I have to resort to using &?
>>> 
>>> All the best
>>> 
>>> 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
>> 
>> --
>> M E R Goulding > 
>> Software development services
>> Bespoke application development for vertical markets
>> 
>> mergExt > - There's an external 
>> for that!
>> 
>> ___
>> 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: arrays with merge

2015-06-05 Thread Terence Heaford
Did this and I still get a syntax error.

put merge("SELECT [[tColumns]] FROM '[[tTable]]' [[ myArray["test”] ]] 
[[tSortOrder]]") into tSQL

Any ideas

Thanks

Terry

> On 5 Jun 2015, at 07:42, Monte Goulding  wrote:
> 
> Add a space between the array bracket and the merge brackets
> 
>> On 5 Jun 2015, at 4:27 pm, Terence Heaford  wrote:
>> 
>> This line gives a syntax error, obviously because an array does not work in 
>> merge?
>> 
>> put merge("SELECT [[tColumns]] FROM '[[tTable]]' [[myArray["test"]]] 
>> [[tSortOrder]]") into tSQL
>> 
>> Is there a way around this or do I have to resort to using &?
>> 
>> All the best
>> 
>> 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
> 
> --
> M E R Goulding  
> Software development services
> Bespoke application development for vertical markets
> 
> mergExt  - There's an external for that!
> 
> ___
> 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: arrays with merge

2015-06-05 Thread Lyn Teyla
> Terence Heaford  wrote:
> 
> This line gives a syntax error, obviously because an array does not work in 
> merge?
> 
> put merge("SELECT [[tColumns]] FROM '[[tTable]]' [[myArray["test"]]] 
> [[tSortOrder]]") into tSQL
> 
> Is there a way around this or do I have to resort to using &?



Method 1: Turn it into a 2-liner:


put myArray["test"] into tTest
put merge("SELECT [[tColumns]] FROM '[[tTable]]' [[tTest]] [[tSortOrder]]") 
into tSQL




Method 2: Have the entire string to be merged already stored elsewhere:


put merge(the uSQL of me) into tSQL

or

put merge(url "file:sql.txt") into tSQL


where the custom property "uSQL" or the file "sql.txt" already contains the 
string:

SELECT [[tColumns]] FROM '[[tTable]]' [[myArray["test"]]] [[tSortOrder]]



Method 3: Use a function to represent an array:


local myArray -- make sure this is outside both handlers

function myArray pString
   return myArrayTest[pString]
end myArray

on doStuff
   -- some stuff here
   put merge("SELECT [[tColumns]] FROM '[[tTable]]' [[myArray(test)]] 
[[tSortOrder]]") into tSQL
   -- more stuff here
end doStuff


This last method works as long as the name of the key ("test" in your example) 
isn't a LiveCode reserved word.


Hope this helps! :)

Lyn




___
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: arrays with merge

2015-06-05 Thread Lyn Teyla
> function myArray pString
>   return myArrayTest[pString]
> end myArray

Small typo:

myArrayTest[pString]

should of course be:

myArray[pString]



___
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: arrays with merge

2015-06-05 Thread Ali Lloyd
Hi,

The reason
put merge("SELECT [[tColumns]] FROM '[[tTable]]' [[myArray["test"]]]
[[tSortOrder]]") into tSQL

doesn't work is  the double quote around "test". Merge should work fine
with arrays (I should know because bug 11274 was one of the first I ever
fixed!)

You can either use & and quote to build the correct string

put merge("SELECT [[tColumns]] FROM '[[tTable]]' [[myArray[" & quote & test
& quote & "]]] [[tSortOrder]]") into tSQL

 or put "test" into a variable beforehand

local tTest
put "test' into tTest
put merge("SELECT [[tColumns]] FROM '[[tTable]]' [[myArray[tTest]]]
[[tSortOrder]]") into tSQL

Ali


On 5 June 2015 at 08:21, Lyn Teyla  wrote:

> > function myArray pString
> >   return myArrayTest[pString]
> > end myArray
>
> Small typo:
>
> myArrayTest[pString]
>
> should of course be:
>
> myArray[pString]
>
>
>
> ___
> 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: arrays with merge

2015-06-05 Thread Terence Heaford
Interestingly it works without quotes around test.

It does work but should it?

This suggests the only reason for quotes in array keys is in case you have a 
two word key?

put merge("SELECT [[tColumns]] FROM '[[tTable]]' [[myArray[test]]] 
[[tSortOrder]]") into tSQL


All the best

Terry

> On 5 Jun 2015, at 10:13, Ali Lloyd  wrote:
> 
> put merge("SELECT [[tColumns]] FROM '[[tTable]]' [[myArray["test"]]]
> [[tSortOrder]]") into tSQL
> 
> doesn't work is  the double quote around "test". Merge should work fine
> with arrays (I should know because bug 11274 was one of the first I ever
> fixed!)
> 
> You can either use & and quote to build the correct string

___
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: arrays with merge

2015-06-05 Thread Ali Lloyd
Yes, that is LiveCode 'unquoted literal' mechanism -

It is the same as, for example, (if you have strict compilation off)

*put* tTest & "sdfsdf" -- puts tTestsdfsdf into the message box


When a variable has not been declared, any tokens that are not keywords are
treated as strings.

On 5 June 2015 at 10:26, Terence Heaford  wrote:

> Interestingly it works without quotes around test.
>
> It does work but should it?
>
> This suggests the only reason for quotes in array keys is in case you have
> a two word key?
>
> put merge("SELECT [[tColumns]] FROM '[[tTable]]' [[myArray[test]]]
> [[tSortOrder]]") into tSQL
>
>
> All the best
>
> Terry
>
> > On 5 Jun 2015, at 10:13, Ali Lloyd  wrote:
> >
> > put merge("SELECT [[tColumns]] FROM '[[tTable]]' [[myArray["test"]]]
> > [[tSortOrder]]") into tSQL
> >
> > doesn't work is  the double quote around "test". Merge should work fine
> > with arrays (I should know because bug 11274 was one of the first I ever
> > fixed!)
> >
> > You can either use & and quote to build the correct string
>
> ___
> 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: Clock

2015-06-05 Thread BNig
Roger,

this is probably due to the limited processing power of the android-watch

This is similar to iOS back when I made the scrollers. At the time iPhones
had trouble mixing all the blend modes fast enough.
So I build in a cheat. The command is "makeiOSReady" it is located in the
script of the group. What it does is to make a snapshot of the scroller and
hide all the graphics. What is left on is an image "mock" and layered on top
of this field "fDisplay-Scroll"

For the first 3 of the clock faces try

on mouseUp
   dispatch "makeiOSReady" to group "Hours"
   dispatch "makeiOSReady" to group "Minutes"
   dispatch "makeiOSReady" to group "moveSeconds"
end mouseUp

once you are done with your resizing of the groups because a resize of the
group, e.g. "hours" will remove the image "mock" and you do your resizing on
the graphics.
That is the reason why you issue the "makeiOSReady" command at the end, when
you are done configuring the groups.

This should put considerably less burden on the processor of your
android-watch.

If that does not make it work try disabling the card script that set the
color.

Also you may play with the wait x milliseconds with messages that is issued
twice, once in mouseUP handler and once in "advanceSeconds" handler of the
start/stop button

send "setWheel tHours + 1" to  group "hours"
send "setWheel tMinutes + 1" to  group "Minutes"
send "setWheel tSeconds + 1" to  group "moveSeconds"
  
  wait 5 milliseconds with messages  -- increase the milliseconds to
wait, gives more time.

What I see in the video is very much what took me long to debug and which
turned out to be the wait... being too short.

Note, "makeiOSReady" only works on the non-egg shaped scrollers. For
egg-shaped scrollers I could look into them next week when I am back from a
weekend trip and see if I could tweak them to work more efficient. But there
is a lot of computation going on behind the scene.

Try these suggestion in the given order and see what makes it work. Please
tell us if you get it to work.

Kind regards

Bernd



Roger Eller wrote
> Bernd,
> 
> I finally found a few minutes to play.  I think possibly the layerMode may
> need a tweak to get smooth movement on Android.  It looks great and smooth
> on the computer.  Here's a video of the first run on my watch.
> 
> https://dl.dropboxusercontent.com/u/54789013/Android/SmartQ/LordEllerWatch.MOV
> 
> ... and this is the shrunken stack (last modified in 6.6.2).
> https://dl.dropboxusercontent.com/u/54789013/Android/SmartQ/LordEllerWatch_0_2.livecode.zip
> 
> ~Roger





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Clock-tp4692455p4692972.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: Clock

2015-06-05 Thread Roger Eller
Wow, you really thought of everything.  Thanks Bernd!
I'll try this as soon as possible.

~Roger
 On Jun 5, 2015 5:39 AM, "BNig"  wrote:

> Roger,
>
> this is probably due to the limited processing power of the android-watch
>
> This is similar to iOS back when I made the scrollers. At the time iPhones
> had trouble mixing all the blend modes fast enough.
> So I build in a cheat. The command is "makeiOSReady" it is located in the
> script of the group. What it does is to make a snapshot of the scroller and
> hide all the graphics. What is left on is an image "mock" and layered on
> top
> of this field "fDisplay-Scroll"
>
> For the first 3 of the clock faces try
>
> on mouseUp
>dispatch "makeiOSReady" to group "Hours"
>dispatch "makeiOSReady" to group "Minutes"
>dispatch "makeiOSReady" to group "moveSeconds"
> end mouseUp
>
> once you are done with your resizing of the groups because a resize of the
> group, e.g. "hours" will remove the image "mock" and you do your resizing
> on
> the graphics.
> That is the reason why you issue the "makeiOSReady" command at the end,
> when
> you are done configuring the groups.
>
> This should put considerably less burden on the processor of your
> android-watch.
>
> If that does not make it work try disabling the card script that set the
> color.
>
> Also you may play with the wait x milliseconds with messages that is issued
> twice, once in mouseUP handler and once in "advanceSeconds" handler of the
> start/stop button
>
> send "setWheel tHours + 1" to  group "hours"
> send "setWheel tMinutes + 1" to  group "Minutes"
> send "setWheel tSeconds + 1" to  group "moveSeconds"
>
>   wait 5 milliseconds with messages  -- increase the milliseconds to
> wait, gives more time.
>
> What I see in the video is very much what took me long to debug and which
> turned out to be the wait... being too short.
>
> Note, "makeiOSReady" only works on the non-egg shaped scrollers. For
> egg-shaped scrollers I could look into them next week when I am back from a
> weekend trip and see if I could tweak them to work more efficient. But
> there
> is a lot of computation going on behind the scene.
>
> Try these suggestion in the given order and see what makes it work. Please
> tell us if you get it to work.
>
> Kind regards
>
> Bernd
>
>
>
> Roger Eller wrote
> > Bernd,
> >
> > I finally found a few minutes to play.  I think possibly the layerMode
> may
> > need a tweak to get smooth movement on Android.  It looks great and
> smooth
> > on the computer.  Here's a video of the first run on my watch.
> >
> >
> https://dl.dropboxusercontent.com/u/54789013/Android/SmartQ/LordEllerWatch.MOV
> >
> > ... and this is the shrunken stack (last modified in 6.6.2).
> >
> https://dl.dropboxusercontent.com/u/54789013/Android/SmartQ/LordEllerWatch_0_2.livecode.zip
> >
> > ~Roger
>
>
>
>
>
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/Clock-tp4692455p4692972.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
>
___
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: arrays with merge

2015-06-05 Thread Mike Bonner
As ali said, the unquoted key is only an issue if there is a declared
variable, at which point the key becomes whatever is in that variable. (or
if its a keyword of course)

I use the "store the string elsewhere" method.  When creating merge strings
for later use, I either create them using the property inspector, or put
them into a field and set a property to the field.

The other option mentioned is pretty helpful.  Put in an unquoted key, and
set the value of it as a variable.  This can be pretty handy because you
can change which key you want to look at on the fly.

On Fri, Jun 5, 2015 at 3:32 AM, Ali Lloyd  wrote:

> Yes, that is LiveCode 'unquoted literal' mechanism -
>
> It is the same as, for example, (if you have strict compilation off)
>
> *put* tTest & "sdfsdf" -- puts tTestsdfsdf into the message box
>
>
> When a variable has not been declared, any tokens that are not keywords are
> treated as strings.
>
> On 5 June 2015 at 10:26, Terence Heaford  wrote:
>
> > Interestingly it works without quotes around test.
> >
> > It does work but should it?
> >
> > This suggests the only reason for quotes in array keys is in case you
> have
> > a two word key?
> >
> > put merge("SELECT [[tColumns]] FROM '[[tTable]]' [[myArray[test]]]
> > [[tSortOrder]]") into tSQL
> >
> >
> > All the best
> >
> > Terry
> >
> > > On 5 Jun 2015, at 10:13, Ali Lloyd  wrote:
> > >
> > > put merge("SELECT [[tColumns]] FROM '[[tTable]]' [[myArray["test"]]]
> > > [[tSortOrder]]") into tSQL
> > >
> > > doesn't work is  the double quote around "test". Merge should work fine
> > > with arrays (I should know because bug 11274 was one of the first I
> ever
> > > fixed!)
> > >
> > > You can either use & and quote to build the correct string
> >
> > ___
> > 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: arrays with merge

2015-06-05 Thread Ralph DiMola
5,4,3,2,1 Here comes Peter with "Always use strict compilation mode"
Followed by my +1

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 Mike Bonner
Sent: Friday, June 05, 2015 9:42 AM
To: How to use LiveCode
Subject: Re: arrays with merge

As ali said, the unquoted key is only an issue if there is a declared
variable, at which point the key becomes whatever is in that variable. (or
if its a keyword of course)

I use the "store the string elsewhere" method.  When creating merge strings
for later use, I either create them using the property inspector, or put
them into a field and set a property to the field.

The other option mentioned is pretty helpful.  Put in an unquoted key, and
set the value of it as a variable.  This can be pretty handy because you can
change which key you want to look at on the fly.

On Fri, Jun 5, 2015 at 3:32 AM, Ali Lloyd  wrote:

> Yes, that is LiveCode 'unquoted literal' mechanism -
>
> It is the same as, for example, (if you have strict compilation off)
>
> *put* tTest & "sdfsdf" -- puts tTestsdfsdf into the message box
>
>
> When a variable has not been declared, any tokens that are not 
> keywords are treated as strings.
>
> On 5 June 2015 at 10:26, Terence Heaford  wrote:
>
> > Interestingly it works without quotes around test.
> >
> > It does work but should it?
> >
> > This suggests the only reason for quotes in array keys is in case 
> > you
> have
> > a two word key?
> >
> > put merge("SELECT [[tColumns]] FROM '[[tTable]]' [[myArray[test]]]
> > [[tSortOrder]]") into tSQL
> >
> >
> > All the best
> >
> > Terry
> >
> > > On 5 Jun 2015, at 10:13, Ali Lloyd  wrote:
> > >
> > > put merge("SELECT [[tColumns]] FROM '[[tTable]]' 
> > > [[myArray["test"]]]
> > > [[tSortOrder]]") into tSQL
> > >
> > > doesn't work is  the double quote around "test". Merge should work 
> > > fine with arrays (I should know because bug 11274 was one of the 
> > > first I
> ever
> > > fixed!)
> > >
> > > You can either use & and quote to build the correct string
> >
> > ___
> > 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: arrays with merge

2015-06-05 Thread Peter Haworth
Well I missed the countdown so I'll +1your post.

Pete
lcSQL Software
On Jun 5, 2015 7:04 AM, "Ralph DiMola"  wrote:

> 5,4,3,2,1 Here comes Peter with "Always use strict compilation mode"
> Followed by my +1
>
> 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 Mike Bonner
> Sent: Friday, June 05, 2015 9:42 AM
> To: How to use LiveCode
> Subject: Re: arrays with merge
>
> As ali said, the unquoted key is only an issue if there is a declared
> variable, at which point the key becomes whatever is in that variable. (or
> if its a keyword of course)
>
> I use the "store the string elsewhere" method.  When creating merge strings
> for later use, I either create them using the property inspector, or put
> them into a field and set a property to the field.
>
> The other option mentioned is pretty helpful.  Put in an unquoted key, and
> set the value of it as a variable.  This can be pretty handy because you
> can
> change which key you want to look at on the fly.
>
> On Fri, Jun 5, 2015 at 3:32 AM, Ali Lloyd  wrote:
>
> > Yes, that is LiveCode 'unquoted literal' mechanism -
> >
> > It is the same as, for example, (if you have strict compilation off)
> >
> > *put* tTest & "sdfsdf" -- puts tTestsdfsdf into the message box
> >
> >
> > When a variable has not been declared, any tokens that are not
> > keywords are treated as strings.
> >
> > On 5 June 2015 at 10:26, Terence Heaford  wrote:
> >
> > > Interestingly it works without quotes around test.
> > >
> > > It does work but should it?
> > >
> > > This suggests the only reason for quotes in array keys is in case
> > > you
> > have
> > > a two word key?
> > >
> > > put merge("SELECT [[tColumns]] FROM '[[tTable]]' [[myArray[test]]]
> > > [[tSortOrder]]") into tSQL
> > >
> > >
> > > All the best
> > >
> > > Terry
> > >
> > > > On 5 Jun 2015, at 10:13, Ali Lloyd  wrote:
> > > >
> > > > put merge("SELECT [[tColumns]] FROM '[[tTable]]'
> > > > [[myArray["test"]]]
> > > > [[tSortOrder]]") into tSQL
> > > >
> > > > doesn't work is  the double quote around "test". Merge should work
> > > > fine with arrays (I should know because bug 11274 was one of the
> > > > first I
> > ever
> > > > fixed!)
> > > >
> > > > You can either use & and quote to build the correct string
> > >
> > > ___
> > > 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
>
___
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: arrays with merge

2015-06-05 Thread Dr. Hawkins
On Fri, Jun 5, 2015 at 7:31 AM, Peter Haworth  wrote:

> Well I missed the countdown so I'll +1your post.
>

and I'll +2.

The things that I would most like to add to livecode would be strict
compilation being the default, absolute case sensitivity (unless turned off
for comparisons), and strong typing of variables.  Oh, and c-style variable
scoping.



-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: arrays with merge

2015-06-05 Thread Ali Lloyd
In that case I can highly recommend trying LiveCode Builder ;-)

On 5 June 2015 at 16:13, Dr. Hawkins  wrote:

> On Fri, Jun 5, 2015 at 7:31 AM, Peter Haworth  wrote:
>
> > Well I missed the countdown so I'll +1your post.
> >
>
> and I'll +2.
>
> The things that I would most like to add to livecode would be strict
> compilation being the default, absolute case sensitivity (unless turned off
> for comparisons), and strong typing of variables.  Oh, and c-style variable
> scoping.
>
>
>
> --
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> ___
> 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 8 and a new video player?

2015-06-05 Thread Richard Gaskin

Mark Talluto wrote:


On Jun 4, 2015, at 5:06 PM, Richard Gaskin wrote:


Besides, RunRev has already decided to support media playback on
Linux. The only new question I'm raising here is whether it needs
to wait for The Ultimate Widget, or could we please have a few
lines of C++ to tide us over for the next year or so.


Fully understood. I know you have a bug/enhancement report on this.
What is the status from LiveCode?


Very good new on the Windows front:  somewhere between the last time I 
tested and now, #5886 appears fixed; both currentTime and startTime work 
well in v7.0.5 under Windows 8.1 - many thanks to Panos Merakos at 
RunRev for taking the time to follow up on this one.


   "'start player' ignores currentTime w/dontuseQT"
   

It would be helpful if anyone here has time to test that under Windows 7 
or 8.0 to confirm there are no remaining issues with those versions either.


While reviewing player-related bugs I was also able to confirm that this 
report submitted by another member here is apparently also fixed:


   "Revolution plays WMV files unreliably"


Trevor's comment #4 there notes the engine was using the deprecated MCI 
interface at that time - might that have changed since then?


I tested WMV, MP3, AIFF, and a few other formats, and they seem to play 
well in v7.0.5 under Win 8.1.


I was also unable to reproduce this one, though again it would be 
helpful if others here have a chance to test under Win 7 or 8.0 to confirm:


   "Movies on network volumes can't used with player object"
   


Unfortunately the most popular codecs do not work in 7.0.5 under Win 8.1:

   "Support mp4 and h264 without QuickTime"
   

Still, good progress on the Windows side, and hopefully those codecs can 
be supported without much effort.  The MP4 files I tested with play well 
in the Windows Media Player app, so we know the OS includes the codecs 
needed.



As for Linux, the crasher I reported has been confirmed:
   

I haven't heard anything from the team directly, but the activity on 
#5886 suggests that they're reviewing at least some video issues, and we 
know that crashers tend to get priority.


With any luck, once the crash is resolved we'll be able to make sure 
currentTime and startTime work as well on Linux as they do on Mac and 
Windows now, and with that I'll be able to do what I need with video for 
now.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the 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


Re: arrays with merge

2015-06-05 Thread J. Landman Gay
On June 5, 2015 10:13:03 AM CDT, "Dr. Hawkins"  wrote:
>
>The things that I would most like to add to livecode would be strict
>compilation being the default, absolute case sensitivity (unless turned off
>for comparisons), and strong typing of variables.  Oh, and c-style
>variable scoping.

In that case you'll like LCB, the widgets language. 
-- 
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: arrays with merge

2015-06-05 Thread Peter TB Brett

On 2015-06-05 17:22, Ali Lloyd wrote:

On 5 June 2015 at 16:13, Dr. Hawkins  wrote:


On Fri, Jun 5, 2015 at 7:31 AM, Peter Haworth  wrote:

> Well I missed the countdown so I'll +1your post.
>

and I'll +2.

The things that I would most like to add to livecode would be strict
compilation being the default, absolute case sensitivity (unless 
turned off
for comparisons), and strong typing of variables.  Oh, and c-style 
variable

scoping.


In that case I can highly recommend trying LiveCode Builder ;-)


Well, it doesn't have absolute case sensitivity.  Or C-style variable 
scoping (yet)...  we debate these issues in the office with some 
regularity. ;-)


  Peter

--
Dr Peter Brett 
LiveCode Engine Development Team


___
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


cant't find the textFont of formatted text?

2015-06-05 Thread Dr. Hawkins
inside of a loop through the fields, I have

put thFld & cr & the formattedText of thFld \
& cr & exists(the textFont of word 1 to -1 of the formattedText of
thFld)
put the textFont of word 1 to -1 of the formattedText of thFld

On a particular field, I get

field id 3132 of stack "rawForms"
Estimated Number of Creditors
false

How can this possibly be???  The error on the second line is

button "src_formsStack": execution error at line 89 (Chunk: can't find
object), char 19
-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: cant't find the textFont of formatted text?

2015-06-05 Thread Mark Waddingham

On 2015-06-05 20:13, Dr. Hawkins wrote:

inside of a loop through the fields, I have

put thFld & cr & the formattedText of thFld \
& cr & exists(the textFont of word 1 to -1 of the formattedText of
thFld)
put the textFont of word 1 to -1 of the formattedText of thFld

On a particular field, I get

field id 3132 of stack "rawForms"
Estimated Number of Creditors
false

How can this possibly be???  The error on the second line is

button "src_formsStack": execution error at line 89 (Chunk: can't find
object), char 19


The 'formattedText' property of a field is a string so the expression:
  the textFont of word 1 to -1 of the formattedText of thFld

Does this:
  T1 = evaluate the formattedText of thFld
  T2 = word 1 to -1 of T1
  return the textFont of T2

Now, because T2 is also a string, the engine tries to interpret it as a 
control reference.


If you want to access properties of the styled text of the field, then 
you need to do so directly on the field itself:

  put the textFont of word 1 to -1 of field thFld

As an aside, you also cannot use 'exists()' on font names - it is only 
for control references. Instead you can use:
  (the textFont of word 1 to -1 of field thFld) is among the lines of 
the fontNames


Hope this helps,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
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


Simple .lc Script to INSERT data...?

2015-06-05 Thread JOHN PATTEN
Hi All,

I must be missing something simple and I can’t find it…

I have a mysql database with one table and one field. Varchar(1000)

I have a LiveCode project with one button and the following code:

on mouseUp
   put urlEncode(the name of target) into tName
   put "object_name=" & tName into ArgList
   --answer ArgList
   post tArgList to URL "http://username.on-rev.com/ipad_1/add_data_2.lc";
end mouseUp


My .lc file looks like this:



The .lc script creates a new record but it never puts the name of the button in 
the object_name field? The record is completely empty.  I was having the same 
problem on a much more complex database and script, so I thought I would super 
simplify but I’m still having the problem.

Does anybody see anything I’m missing?

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: Simple .lc Script to INSERT data...?

2015-06-05 Thread Matthias Rebbe | M-R-D
John,

if you post data to a livecode server script then you need to use $_post[] 
instead of $_get

$_get[] is used if you add the parameters to the url like

put  URL ("http://username.on-rev.com/ipad_1/add_datga_2.lc?object_name=“ & 
tName) into tResult

Regards,

Matthias




> Am 06.06.2015 um 00:31 schrieb JOHN PATTEN :
> 
> Hi All,
> 
> I must be missing something simple and I can’t find it…
> 
> I have a mysql database with one table and one field. Varchar(1000)
> 
> I have a LiveCode project with one button and the following code:
> 
> on mouseUp
>   put urlEncode(the name of target) into tName
>   put "object_name=" & tName into ArgList
>   --answer ArgList
>   post tArgList to URL "http://username.on-rev.com/ipad_1/add_data_2.lc";
> end mouseUp
> 
> 
> My .lc file looks like this:
> 
>  put revOpenDatabase 
> ("mysql”,"username.on-rev.com”,"username_ipad_2”,"username_ipad_2”,"password")
>  into tConID
> put "ipad_data" into tTableName
> put $_GET["object_name"] into object_name
> put "object_name" into tFields
> 
> put "INSERT INTO" && tTableName && "(" & tFields & ") VALUES (:1);" into tSQL
> 
> revExecuteSQL tConID, tSQL, "object_name"
> revCloseDatabase tConID
> put empty
> ?>
> 
> The .lc script creates a new record but it never puts the name of the button 
> in the object_name field? The record is completely empty.  I was having the 
> same problem on a much more complex database and script, so I thought I would 
> super simplify but I’m still having the problem.
> 
> Does anybody see anything I’m missing?
> 
> 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: Simple .lc Script to INSERT data...?

2015-06-05 Thread JOHN PATTEN
Thanks Matthias,

I did try both ways $_POST and $_GET.  I get the same results; a new record is 
created but the fields are empty.  By the way, the "LiveCode Cloud" tutorials 
show $_POST for inserting new record too.

I’ll keep looking :)


> On Jun 5, 2015, at 3:39 PM, Matthias Rebbe | M-R-D 
>  wrote:
> 
> John,
> 
> if you post data to a livecode server script then you need to use $_post[] 
> instead of $_get
> 
> $_get[] is used if you add the parameters to the url like
> 
> put  URL ("http://username.on-rev.com/ipad_1/add_datga_2.lc?object_name=“ & 
> tName) into tResult
> 
> Regards,
> 
> Matthias
> 
> 
> 
> 
>> Am 06.06.2015 um 00:31 schrieb JOHN PATTEN :
>> 
>> Hi All,
>> 
>> I must be missing something simple and I can’t find it…
>> 
>> I have a mysql database with one table and one field. Varchar(1000)
>> 
>> I have a LiveCode project with one button and the following code:
>> 
>> on mouseUp
>>  put urlEncode(the name of target) into tName
>>  put "object_name=" & tName into ArgList
>>  --answer ArgList
>>  post tArgList to URL "http://username.on-rev.com/ipad_1/add_data_2.lc";
>> end mouseUp
>> 
>> 
>> My .lc file looks like this:
>> 
>> > put revOpenDatabase 
>> ("mysql”,"username.on-rev.com”,"username_ipad_2”,"username_ipad_2”,"password")
>>  into tConID
>> put "ipad_data" into tTableName
>> put $_GET["object_name"] into object_name
>> put "object_name" into tFields
>> 
>> put "INSERT INTO" && tTableName && "(" & tFields & ") VALUES (:1);" into tSQL
>> 
>> revExecuteSQL tConID, tSQL, "object_name"
>> revCloseDatabase tConID
>> put empty
>> ?>
>> 
>> The .lc script creates a new record but it never puts the name of the button 
>> in the object_name field? The record is completely empty.  I was having the 
>> same problem on a much more complex database and script, so I thought I 
>> would super simplify but I’m still having the problem.
>> 
>> Does anybody see anything I’m missing?
>> 
>> 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: Simple .lc Script to INSERT data...?

2015-06-05 Thread Mike Bonner
You're putting your data to post into ArgList
And you're posting tArgList

If thats not a typo here, I suspect its the typo culprit there.

On Fri, Jun 5, 2015 at 5:01 PM, JOHN PATTEN  wrote:

> Thanks Matthias,
>
> I did try both ways $_POST and $_GET.  I get the same results; a new
> record is created but the fields are empty.  By the way, the "LiveCode
> Cloud" tutorials show $_POST for inserting new record too.
>
> I’ll keep looking :)
>
>
> > On Jun 5, 2015, at 3:39 PM, Matthias Rebbe | M-R-D <
> matthias_livecode_150...@m-r-d.de> wrote:
> >
> > John,
> >
> > if you post data to a livecode server script then you need to use
> $_post[] instead of $_get
> >
> > $_get[] is used if you add the parameters to the url like
> >
> > put  URL ("http://username.on-rev.com/ipad_1/add_datga_2.lc?object_name=“
> & tName) into tResult
> >
> > Regards,
> >
> > Matthias
> >
> >
> >
> >
> >> Am 06.06.2015 um 00:31 schrieb JOHN PATTEN :
> >>
> >> Hi All,
> >>
> >> I must be missing something simple and I can’t find it…
> >>
> >> I have a mysql database with one table and one field. Varchar(1000)
> >>
> >> I have a LiveCode project with one button and the following code:
> >>
> >> on mouseUp
> >>  put urlEncode(the name of target) into tName
> >>  put "object_name=" & tName into ArgList
> >>  --answer ArgList
> >>  post tArgList to URL "http://username.on-rev.com/ipad_1/add_data_2.lc";
> >> end mouseUp
> >>
> >>
> >> My .lc file looks like this:
> >>
> >>  >> put revOpenDatabase 
> >> ("mysql”,"username.on-rev.com”,"username_ipad_2”,"username_ipad_2”,"password")
> into tConID
> >> put "ipad_data" into tTableName
> >> put $_GET["object_name"] into object_name
> >> put "object_name" into tFields
> >>
> >> put "INSERT INTO" && tTableName && "(" & tFields & ") VALUES (:1);"
> into tSQL
> >>
> >> revExecuteSQL tConID, tSQL, "object_name"
> >> revCloseDatabase tConID
> >> put empty
> >> ?>
> >>
> >> The .lc script creates a new record but it never puts the name of the
> button in the object_name field? The record is completely empty.  I was
> having the same problem on a much more complex database and script, so I
> thought I would super simplify but I’m still having the problem.
> >>
> >> Does anybody see anything I’m missing?
> >>
> >> 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

Re: cant't find the textFont of formatted text?

2015-06-05 Thread Dr. Hawkins
On Fri, Jun 5, 2015 at 11:20 AM, Mark Waddingham  wrote:

>
> The 'formattedText' property of a field is a string so the expression:
>   the textFont of word 1 to -1 of the formattedText of thFld
>
> Does this:
>   T1 = evaluate the formattedText of thFld
>   T2 = word 1 to -1 of T1
>   return the textFont of T2
>
> Now, because T2 is also a string, the engine tries to interpret it as a
> control reference.
>

Shouldn't it return "empty" then?

>
> If you want to access properties of the styled text of the field, then you
> need to do so directly on the field itself:
>   put the textFont of word 1 to -1 of field thFld
>

OK, I see that's better (I had to go to formatted text at some point
because something else wasn't working.  Or maybe that was before I focused
on words.  I think it was when I was trying to null out the textSize &
textFont of the pasted text to force it to use the field's settings)

(oh, and thFld was actually an id, not a field name)


> As an aside, you also cannot use 'exists()' on font names - it is only for
> control references. Instead you can use:
>   (the textFont of word 1 to -1 of field thFld) is among the lines of the
> fontNames
>

exists() entered late while debugging it.
word 1 to -1 of  theFld
did it

But I'm still troubled by this plowing through over 150 fields before it
found one it didn't like this on . . .

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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 8 and a new video player?

2015-06-05 Thread Kay C Lan
This is probably thread drift but video playback is so 20th century.

I had an old acquaintance pass through town and we caught up. He's working
for a start up that's doing something similar to Google Glass. He had a
demo unit to show me. The googles worked with any users phone (or iPod
touch) but of course it was the software that was on show.

He first showed me some 3D games, a roller coaster, etc. Very cool, but I'm
not into games but even I can see they'll make a $illion. I was much more
impressed with the 3D Paul McCartney concert. I could turn around and see
the thousands of fans behind me. I could look up at roof of the stadium, I
could even watch the show. There were even shots taken from on stage, so
again I could look out to the crowd, watch each and any of the musicians or
even Sir Paul himself. My choice. My friend then removed the cover over he
camera lens and then showed me a demo of Augmented Reality (AR). If you
don't know what AR is here's a mediocre demo:

https://www.youtube.com/watch?v=EhTcAvbjwjg

So the basic requirement is that screen is filled with whatever the camera
is seeing, and then there is some 2D image which triggers something else to
be played on top of that 2D image whilst the rest of the screen continues
to show the real world. In the demo I was shown, I was handed a 2.5" cube;
with the naked eye on each of the six sides was a different, simple black
and white line art image. With the phone and the software (the goggles
aren't necessary, but when used it becomes immersive) I had a 3D animated
miniature horse in my hand. As I rotated the cube I could see the walking
horse from any angle; not just the left side, then the right side, then the
bottom etc, but as I slowly rotated the cube the horse also very smoothly
rotated: 45°, 13°, 76.1345° it was very smooth and very cool and everyone
else in the restaurant were still eating their dinner.

He said someone was working on a Harry Potter style game of chess. All the
pieces would be just basic rectangular prisms of appropriate size and
proportion, but every single side would have a unique image, thus every
single piece when viewed through AR device/software would be alive and
unique. Castles would have archers firing arrows from the battlements,
Knights would have individual armour both for them and their horses. Pawns
would be individual foot soldiers, uniformed alike, but still unique and
with personality. Another $illion there.

Now I'm not suggesting that LiveCode needs to be at the forefront of 3D
multimedia and AR; there is no way the next 3D Grand Theft Auto will be
written in LC; this is the territory of dedicated game houses. Obviously 3D
is all the rage, but it doesn't have to be. I've seen some very basic 2D
uses of AR, especially in the real estate industry. A prospective buyer
notices a for sale sign outside a house, or sees an add in the
newspaper/magazine, simply by holding up the mobile device (with
appropriate app installed) to the sign/add, a gallery of 2D photos becomes
available, of every single room of the house, plus views outside the house
from multiple angles. Buttons appear so you can immediately phone or email
the agent; no need to actually read it off the sign/add.

In the 21st Century I see AR as being huge. I don't know what technology is
required to make it work, even on the most basic level, but whatever it is,
LC needs to jump aboard. HyperCard bought us Myst, I'm sure there are lot
of very bright people out there that have very unique and niche ideas on
how AR could be leveraged to bring static objects to life - museums, art
galleries and libraries immediately come to mind. It would be nice if LC
made that easy to happen.

I hope someone is going to tell me, 'oh we could already do that... if only
startTime worked' ;-)
___
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: "breakpoint" gets edited out of cut/paste in IDE?

2015-06-05 Thread Kay C Lan
Defintely not!

I use hard breakpoints almost exclusively and copy and paste scripts from
one object to another within the same stack as well as to different stacks
altogether on a regular basis and I've never seen this.

I'm currently on OS X 10.9.5 LC 6.6.5 and 7.0.5 but I've been copying and
pasting scripts with breakpoints from the Rev 2.0 days and have never
noticed this ever happening. I just did a quick test in 2 new stacks in
7.0.5 and had not problem copying a script with a hard breakpoint across to
the other stack.

On Fri, Jun 5, 2015 at 7:09 AM, Dr. Hawkins  wrote:

> has anyone else seen this?
>
> If I copy a block of
>
>   if sGrp="p13_6.0.1" then
> breakpoint
>   end if
>
> in the IDE, and then paste it elsewhere in the IDE,  the middle line with
> breakpoint is consistently not appearing, with instead a blank line.
>
> Has anyone else seen something like this?  It's, well, really odd . . .
> --
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> ___
> 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