Re: P

2012-04-02 Thread Mark Wieder
mark-

You spelled :-p wrong.

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
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: P

2012-04-02 Thread Richmond

On 04/02/2012 10:23 AM, Mark Wieder wrote:

mark-

You spelled :-p wrong.



You slipped grammatically : wrongly  :)

___
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: Location of iOS 5.0 SDK

2012-04-02 Thread Graham Samuel
Hi Mark - warning - I agree that you should be able to steam on to 5.1 from the 
point you've got to: however although this clearly worked for Tom, it didn't 
work for me. I did what you did, apart from not allowing XCode to remove 4.2 
and when I point the mobile prefs of LC 5.5. to the XCode app (bundle) in my 
Applications folder, the pref mechanism accepts the path but then can't find 
the new simulator and comes up with some odd messages which I've written about 
elsewhere. As I have not deleted my Developer folder I can go back to 4.2, but 
I am dead in the water as regards 5.1 and its simulator. I tried all I could 
think of, including opening the XCode bundle and copying what I found there 
into a new Developer folder, but it didn't help. I have had a call out to 
RunRev support for some days now and I'm hoping for a solution very soon - 
when/if I get it, I will post it to the list.

I don't know what can be different between Tom's setup and mine.

Graham

On Sun, 01 Apr 2012 23:09:41 -0400, Thomas McGrath III mcgra...@mac.com wrote:

 
 The new path is actually to the xCode.app in the applications folder and once 
 pointed to the app itself LC will then traverse the package contents to the 
 internal 5.1 SDK and not the 5.0 SDK. You don't really need the /Developer 
 anymore since LC can now build the 5.1 in the xCode.app app.
 
 
 -- Tom McGrath III
 http://lazyriver.on-rev.com
 3mcgr...@comcast.net
 
 On Apr 1, 2012, at 10:09 PM, Mark Smith wrote:
 
 I know I shouldn't have upgraded to iOS 5.1 on the iPad. Here's what I have
 done:
 
 1. updated iPad to iOS 5.1 (first mistake)
 2. this required update to xCode 4.3.2 (done)
 3. this required update to Lion (OSX 10.7.3) (check)
 
 Livecode is now complaining that in order to build for iOS it needs to use
 the 5.0 SDK. Under preferences it says the root of iOS SDK 5.0 is /Developer
 and I have not changed this during any of this process. So, if it worked
 before I did all of this why isn't it working now?
 
 Does anyone have any suggestions of what to try next?
 
 (I'm wondering if the cause of this was that step where the xCode installer
 asked me if it could remove xCode 4.2, and I said yes?? This is probably it,
 because I'll bet the new xCode is installing into a different location. Does
 anyone know the correct path for the prefs in LC??)
 
 Thanks
 
 -- M
 

___
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


AW: what to put into the standalone signature?

2012-04-02 Thread Tiemo Hollmann TB
Hello,

I didn't get any answer here and didn't find any satisfying answer with
googleing, so I think I just can ignore the signature.
If anybody still has an explanation for me, I would be happy, Thanks
Tiemo

 
 up to now I have always ignored the standalone signature and kept the
 standard  - my programs run. But what is it for?
 
 What do you actually have to put into the signature? Is it a free string I
 can choose, or do I have to get it from any registration process from
 Apple?
 
 Any advantages / disadvantages using / not using it instead of the 
 default?
 
 Thanks for sharing your experiences with a windows guy
 
 Tiemo
 


___
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: AW: what to put into the standalone signature?

2012-04-02 Thread Richmond

On 04/02/2012 11:14 AM, Tiemo Hollmann TB wrote:

Hello,

I didn't get any answer here and didn't find any satisfying answer with
googleing, so I think I just can ignore the signature.
If anybody still has an explanation for me, I would be happy, Thanks
Tiemo


up to now I have always ignored the standalone signature and kept the
standard  - my programs run. But what is it for?

What do you actually have to put into the signature? Is it a free string I
can choose, or do I have to get it from any registration process from
Apple?

Any advantages / disadvantages using / not using it instead of the 
default?


Well, as far as Macintosh goes; a standalone built just like that 
(i.e. no post-build mods, signatures, mucking around with the
version number, etc.) works just like that. I would suppose the only 
advantage of having a signature is if you want to link text files,
or somesuch, explicitly to it; i.e. so double-clicking on one of those 
documents would launch your standalone.




Thanks for sharing your experiences with a windows guy

Tiemo






___
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


AW: AW: what to put into the standalone signature?

2012-04-02 Thread Tiemo Hollmann TB
Thanks Richmond for your expertise
Tiemo

 -Ursprüngliche Nachricht-
 Von: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-
 boun...@lists.runrev.com] Im Auftrag von Richmond
 Gesendet: Montag, 2. April 2012 10:21
 An: How to use LiveCode
 Betreff: Re: AW: what to put into the standalone signature?
 
 On 04/02/2012 11:14 AM, Tiemo Hollmann TB wrote:
  Hello,
 
  I didn't get any answer here and didn't find any satisfying answer
  with googleing, so I think I just can ignore the signature.
  If anybody still has an explanation for me, I would be happy, Thanks
  Tiemo
 
  up to now I have always ignored the standalone signature and kept the
  standard  - my programs run. But what is it for?
 
  What do you actually have to put into the signature? Is it a free
  string I can choose, or do I have to get it from any registration
  process from Apple?
 
  Any advantages / disadvantages using / not using it instead of the 
  default?
 
 Well, as far as Macintosh goes; a standalone built just like that
 (i.e. no post-build mods, signatures, mucking around with the version
 number, etc.) works just like that. I would suppose the only advantage
of
 having a signature is if you want to link text files, or somesuch,
 explicitly to it; i.e. so double-clicking on one of those documents would
 launch your standalone.
 
 
  Thanks for sharing your experiences with a windows guy
 
  Tiemo
 
 
 
 
 ___
 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: AW: what to put into the standalone signature?

2012-04-02 Thread Guglielmo Braguglia

Hi Tiemo,
maybe this page help to understand the 'signature' codes : 
http://revolution.byu.edu/helps/file-creatorcodes.php :-)


Guglielmo


On 02.04.2012 10:14, Tiemo Hollmann TB wrote:

Hello,

I didn't get any answer here and didn't find any satisfying answer with
googleing, so I think I just can ignore the signature.
If anybody still has an explanation for me, I would be happy, Thanks
Tiemo


up to now I have always ignored the standalone signature and kept the
standard  - my programs run. But what is it for?

What do you actually have to put into the signature? Is it a free string I
can choose, or do I have to get it from any registration process from
Apple?

Any advantages / disadvantages using / not using it instead of the 
default?

Thanks for sharing your experiences with a windows guy

Tiemo



___
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


AW: AW: what to put into the standalone signature?

2012-04-02 Thread Tiemo Hollmann TB
Hi Guglielmo,
thank you for the informative link
Tiemo

 -Ursprüngliche Nachricht-
 Von: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-
 boun...@lists.runrev.com] Im Auftrag von Guglielmo Braguglia
 Gesendet: Montag, 2. April 2012 11:40
 An: How to use LiveCode
 Betreff: Re: AW: what to put into the standalone signature?
 
 Hi Tiemo,
 maybe this page help to understand the 'signature' codes :
 http://revolution.byu.edu/helps/file-creatorcodes.php :-)
 
 Guglielmo
 
 
 On 02.04.2012 10:14, Tiemo Hollmann TB wrote:
  Hello,
 
  I didn't get any answer here and didn't find any satisfying answer
  with googleing, so I think I just can ignore the signature.
  If anybody still has an explanation for me, I would be happy, Thanks
  Tiemo
 
  up to now I have always ignored the standalone signature and kept the
  standard  - my programs run. But what is it for?
 
  What do you actually have to put into the signature? Is it a free
  string I can choose, or do I have to get it from any registration
  process from Apple?
 
  Any advantages / disadvantages using / not using it instead of the 
  default?
 
  Thanks for sharing your experiences with a windows guy
 
  Tiemo
 
 
  ___
  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


getProp syntax query

2012-04-02 Thread Graham Samuel
For the very first time in a pretty long career as a LiveCode coder, I'm trying 
to make sense of DataGrids, which I see were a heroic effort to extend LiveCode 
- with a very sophisticated implementation and literally hundreds of pages of 
documentation. AFAIK it was done by Trevor deVore - I am deeply impressed, even 
as I stumble.

I am trying to implement some spreadsheet-like behaviour and have fallen more 
or less at the first fence during the lesson on Page 94 How do I get Aggregate 
Values for Columns?.

I can make the example work if I follow it exactly. It depends on a getProp 
handler the first line of which is:

 getprop uSumOfColumn [pColumn]

I would like to multiply two columns using this as a starting point, so I would 
like to refer to two columns in my getProp handler. However when I look up 
getProp in the LC documentation, I don't see that getProp can take any 
parameters at all, certainly not an array reference, so my attempt to extend 
this structure with a line like

getProp usMultipleOfColumns [pColumn1] [ pColumn2]

can't be compiled - putting a comma in between the parameters (if that's what 
they are) doesn't help. As you see I have no idea what I'm doing. My question 
is, how does the syntax of the original getProp handler work? How is the bit in 
square brackets allowed, and why isn't it featured in the LC documentation? If 
I did want to provide a getProp handler with the names of two different 
columns, how would I do it? I do realise there are much more pedestrian ways of 
achieving what I want, but it seems important to understand the mechanism shown 
in the DataGrid docs.

Ignorantly

Graham

___
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: near feature parity

2012-04-02 Thread Bernard Devlin
I gave up on LiveCode on Linux some years ago.

Last week I downloaded and installed one of the v5.x installers from
my LiveCode account, and installed it on Mint Linux.  As soon as I
started LiveCode, it hung.  Luckily, as it started, the LiveCode
window was smaller than the monitor - as even when I started the task
killer to kill it, the task killer could not get access to any portion
of the screen in which the LiveCode window was located.

If I'd been able to get LiveCode to work, I was prepared to pay for
Linux deployment.  As I couldn't, I saved myself some money (for about
the 3rd or 4th year running).

To my recollection, I've had trouble with LiveCode on Mint, OpenSuse
and CentOS - 3 of the top 7 distros on distrowatch.org.  I can't even
recollect if I ever got it to work satisfactorily on Debian or Ubuntu
- I'm sure I tried.  I think I might have it installed on an Ubuntu
laptop, so when I get back, I'll have a look (just to satisfy my own
belief that it was a cause worth giving up on).

The money I saved on paying for only the minimum that I need from
Runrev bought me a new Macbook Air (a device I love, so I'm not
complaining -- even though I hate the direction in which Apple is
going).

Bernard

On Sun, Apr 1, 2012 at 7:08 PM, Richard Gaskin
ambassa...@fourthworld.com wrote:
 So the Linux version costs twice as much for half the features, making
 it roughly four times more expensive.

 Not an easy sales proposition for even my closest Linux-loving friends.

___
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: getProp syntax query

2012-04-02 Thread Mark Schonewille
Hi Graham,

The following (nonsense) example works:

getProp foo[bar]
   answer bar
   return hello world
end foo

setProp foo[bar] theData
   answer theData
   pass foo
end foo

You can use only one index, i.e. the setProp/getProp handlers are 
one-dimensional. An additional parameter contains the data that the property is 
being set to. Use the target to find out which control's property is being set. 

--
Best regards,

Mark Schonewille

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

Get the extIco2Png external for LiveCode here http://qery.us/1w6

On 2 apr 2012, at 12:13, Graham Samuel wrote:

 For the very first time in a pretty long career as a LiveCode coder, I'm 
 trying to make sense of DataGrids, which I see were a heroic effort to extend 
 LiveCode - with a very sophisticated implementation and literally hundreds of 
 pages of documentation. AFAIK it was done by Trevor deVore - I am deeply 
 impressed, even as I stumble.
 
 I am trying to implement some spreadsheet-like behaviour and have fallen more 
 or less at the first fence during the lesson on Page 94 How do I get 
 Aggregate Values for Columns?.
 
 I can make the example work if I follow it exactly. It depends on a getProp 
 handler the first line of which is:
 
 getprop uSumOfColumn [pColumn]
 
 I would like to multiply two columns using this as a starting point, so I 
 would like to refer to two columns in my getProp handler. However when I look 
 up getProp in the LC documentation, I don't see that getProp can take any 
 parameters at all, certainly not an array reference, so my attempt to extend 
 this structure with a line like
 
 getProp usMultipleOfColumns [pColumn1] [ pColumn2]
 
 can't be compiled - putting a comma in between the parameters (if that's what 
 they are) doesn't help. As you see I have no idea what I'm doing. My question 
 is, how does the syntax of the original getProp handler work? How is the bit 
 in square brackets allowed, and why isn't it featured in the LC 
 documentation? If I did want to provide a getProp handler with the names of 
 two different columns, how would I do it? I do realise there are much more 
 pedestrian ways of achieving what I want, but it seems important to 
 understand the mechanism shown in the DataGrid docs.
 
 Ignorantly
 
 Graham


___
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: Location of iOS 5.0 SDK

2012-04-02 Thread Mike Kerner
You need to change the path.  Click on the Location elipsis for the 5.0
sdk.  Confirm that you are using the newer XCode.  Select XCode in your
Applications Folder.  It is an application bundle which contains the SDK.




-- 
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


[on-rev]Line endings for a db query

2012-04-02 Thread Martin Koob
I have a script that is a repeat loop that gets the results of a database
query which has a number of lines and puts it after a variable tSamplelist. 
I then use that variable tSampleList to display data on the webpage by
iterating through the lines in the variable.  

However for each iteration of the original repeat loop the first line of
data from the next query is appended to the last line of the tSamplelist and
not put on a new line.  I tried adding a return after each query but that
creates a new blank line.   Is there a character I can add after the query
that will end the line so the next query will be added on a new line?

Thanks.

Martin

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526068.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: Location of iOS 5.0 SDK

2012-04-02 Thread Graham Samuel
Folks, I have now heard from Support at the mother ship (thanks Heather). My 
setup would have worked if I had chosen the Test Target from the Development 
menu in the IDE before trying to test. Somehow in my first (quite successful) 
experiments on iOS app development, either I didn't set this or I did it so 
early on that I forgot. So the drill is:

1. Point your mobile preference to the XCode app bundle (it just looks like an 
application file, but it's a sneaky folder) in the Applications folder.

2. Before you attempt a 'Test' on the simulator, set your Test Target (I now 
have the choice between the iPhone 5.1 and the iPad 5.1 simulators).

So the difference between Tom and me was that Tom knew what he was doing.

Graham

I wrote:
 Hi Mark - warning - I agree that you should be able to steam on to 5.1 from 
 the point you've got to: however although this clearly worked for Tom, it 
 didn't work for me. I did what you did, apart from not allowing XCode to 
 remove 4.2 and when I point the mobile prefs of LC 5.5. to the XCode app 
 (bundle) in my Applications folder, the pref mechanism accepts the path but 
 then can't find the new simulator and comes up with some odd messages which 
 I've written about elsewhere. As I have not deleted my Developer folder I can 
 go back to 4.2, but I am dead in the water as regards 5.1 and its simulator. 
 I tried all I could think of, including opening the XCode bundle and copying 
 what I found there into a new Developer folder, but it didn't help. I have 
 had a call out to RunRev support for some days now and I'm hoping for a 
 solution very soon - when/if I get it, I will post it to the list.
 
 I don't know what can be different between Tom's setup and mine.
 
 Graham
 
 On Sun, 01 Apr 2012 23:09:41 -0400, Thomas McGrath III mcgra...@mac.com 
 wrote:
 
 
 The new path is actually to the xCode.app in the applications folder and 
 once pointed to the app itself LC will then traverse the package contents to 
 the internal 5.1 SDK and not the 5.0 SDK. You don't really need the 
 /Developer anymore since LC can now build the 5.1 in the xCode.app app.
 
 
 -- Tom McGrath III
 http://lazyriver.on-rev.com
 3mcgr...@comcast.net
 
 On Apr 1, 2012, at 10:09 PM, Mark Smith wrote:
 
 I know I shouldn't have upgraded to iOS 5.1 on the iPad. Here's what I have
 done:
 
 1. updated iPad to iOS 5.1 (first mistake)
 2. this required update to xCode 4.3.2 (done)
 3. this required update to Lion (OSX 10.7.3) (check)
 
 Livecode is now complaining that in order to build for iOS it needs to use
 the 5.0 SDK. Under preferences it says the root of iOS SDK 5.0 is /Developer
 and I have not changed this during any of this process. So, if it worked
 before I did all of this why isn't it working now?
 
 Does anyone have any suggestions of what to try next?
 
 (I'm wondering if the cause of this was that step where the xCode installer
 asked me if it could remove xCode 4.2, and I said yes?? This is probably it,
 because I'll bet the new xCode is installing into a different location. Does
 anyone know the correct path for the prefs in LC??)
 
 Thanks
 
 -- M
 
 

___
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: [on-rev]Line endings for a db query

2012-04-02 Thread Michael Kann
Martin, 

Here's my guess as to what is happening. On the web page you need a br to 
start a new line. Perhaps the return that you appended to your data is not 
getting translated into a br before it is put onto the web page.

Mike


--- On Mon, 4/2/12, Martin Koob mk...@rogers.com wrote:

From: Martin Koob mk...@rogers.com
Subject: [on-rev]Line endings for a db query
To: use-revolut...@lists.runrev.com
Date: Monday, April 2, 2012, 8:47 AM

I have a script that is a repeat loop that gets the results of a database
query which has a number of lines and puts it after a variable tSamplelist. 
I then use that variable tSampleList to display data on the webpage by
iterating through the lines in the variable.  

However for each iteration of the original repeat loop the first line of
data from the next query is appended to the last line of the tSamplelist and
not put on a new line.  I tried adding a return after each query but that
creates a new blank line.   Is there a character I can add after the query
that will end the line so the next query will be added on a new line?

Thanks.

Martin

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526068.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: [on-rev]Line endings for a db query

2012-04-02 Thread Martin Koob
Hi Micheal.

Thanks for the suggestion.  However the problem was occurring before I added
the markup text to the data.

I have found a way to work around it.

I am using revDatafromQuery to do the query and I am using LF as the row
delimiter.

in the repeat loop
I put the data returned and an LF  after variable tSamplesList.
then I delete the last line of tSamplesList.

This way on each pass through the repeat loop the new data from the query is
added starting on a new line and there are not blank lines in the variable
tSamplesList.

I also have to put a condition to test if it is the last iteration of the
repeat loop.  If so then don't delete the last line otherwise you lose the
last record from the final query.

So it seems that revDatafromQuery does not put an LF on the last line
returned from a query.

Is there another way to add the correct character at the end of the query to
generate a new line in the variable?

Martin




--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526210.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: [on-rev]Line endings for a db query

2012-04-02 Thread Martin Koob
Actually I typed too soon.

adding a LF or a return after tSamplesList variable then deleting the last
line actually deletes the last record from the query in the tSamplesList
variable.   

Back to square one.

Martin


--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526238.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: [on-rev]Line endings for a db query

2012-04-02 Thread Martin Koob
So in the end I just added the LF after the query data from each query which
created extra lines in the variable but then when I used the data I just
checked if the line was empty and did not use that line.
This is just a work around.  Does anyone have any suggestions as to how to
add several queries after a variable ensuring that each record is on a
separate line?

Thanks.

Martin

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526295.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


OT: mails bouncing back?

2012-04-02 Thread Klaus on-rev
Hi friends,

in the last weeks some of my mails bounced back from different email addresses
due to the sending MTA's poor reputation?
...
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

 x...@.com
   SMTP error from remote mail server after initial connection:
   host smtp.secureserver.net [216.69.186.201]: 
554-m1pismtp01-002.prod.mesa1.secureserver.net
   554 Your access to this mail system has been rejected due to the sending 
MTA's poor reputation. 
...
.
My web and email hoster is RunRev (on-rev).

So my hoster has a bad reputation? 
If yes, how come? What can I do?

Can anyone tell me who is to blame here, I plea not guilty!? :-D

Thanks in advance!


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.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: mails bouncing back?

2012-04-02 Thread Mark Wieder
Klaus-

Monday, April 2, 2012, 8:22:44 AM, you wrote:

 My web and email hoster is RunRev (on-rev).

 So my hoster has a bad reputation? 
 If yes, how come? What can I do?

 Can anyone tell me who is to blame here, I plea not guilty!? :-D

I no longer use the on-rev smtp server because of this problem. Use
your local isp's smtp server instead.

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
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: P

2012-04-02 Thread Mark Wieder
Richmond-

Monday, April 2, 2012, 12:28:16 AM, you wrote:

 You slipped grammatically : wrongly  :)

ROTFLly

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
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: [on-rev]Line endings for a db query

2012-04-02 Thread Pete
Try

if tvar is empty then
  put stuff into tvar
else
  put return  stuff after tvar
end ig
On Apr 2, 2012 8:13 AM, Pete Haworth p...@haworths.org wrote:

 Line delimiters are squirly! Try this pseudo code:

 if tvar is empty then
   Put stuff into tvar
 else
   put return  stuff after tvar
 end if

 If you can tell its the fitst time thru your loop, you can check for that
 instead of tvar empty.

 Pete
 On Apr 2, 2012 7:49 AM, Martin Koob mk...@rogers.com wrote:

 Actually I typed too soon.

 adding a LF or a return after tSamplesList variable then deleting the last
 line actually deletes the last record from the query in the tSamplesList
 variable.

 Back to square one.

 Martin


 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526238.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: getProp syntax query

2012-04-02 Thread Pete
Hi Graham,
Mark expalined the syntax I think.

You probably already realise this, but using getProp isn't an integral part
of the datagrid, I think Trevor just used it as an example.

Since you're doing a spreadsheet, I assume you'd want to multiply any 2
columns together, not specific ones.  If that's the case, you could
consider putting a handler in the datagrid's group script that takes the
column names as parameters and returns the result.  Something like:

function multiplyColumns pcol1,pcol2
  put the dgHilitedLine of me into tLine
  try
put GetDataOfLine(tLine,pcol1) * GetDataOfLine(tline,pcol2) into tresult
  catch terr
return terr
  end try
  return tresult
end multiplyColumns

The try is in there in case one of the columns doesn't contain numeric data
or the column name doesn't exist  but you could ctach that other ways.

Datagrids are great but it takes a while to get to grips with them!

Pete


On Mon, Apr 2, 2012 at 3:13 AM, Graham Samuel livf...@mac.com wrote:

 For the very first time in a pretty long career as a LiveCode coder, I'm
 trying to make sense of DataGrids, which I see were a heroic effort to
 extend LiveCode - with a very sophisticated implementation and literally
 hundreds of pages of documentation. AFAIK it was done by Trevor deVore - I
 am deeply impressed, even as I stumble.

 I am trying to implement some spreadsheet-like behaviour and have fallen
 more or less at the first fence during the lesson on Page 94 How do I get
 Aggregate Values for Columns?.

 I can make the example work if I follow it exactly. It depends on a
 getProp handler the first line of which is:

  getprop uSumOfColumn [pColumn]

 I would like to multiply two columns using this as a starting point, so I
 would like to refer to two columns in my getProp handler. However when I
 look up getProp in the LC documentation, I don't see that getProp can take
 any parameters at all, certainly not an array reference, so my attempt to
 extend this structure with a line like

 getProp usMultipleOfColumns [pColumn1] [ pColumn2]

 can't be compiled - putting a comma in between the parameters (if that's
 what they are) doesn't help. As you see I have no idea what I'm doing. My
 question is, how does the syntax of the original getProp handler work? How
 is the bit in square brackets allowed, and why isn't it featured in the LC
 documentation? If I did want to provide a getProp handler with the names of
 two different columns, how would I do it? I do realise there are much more
 pedestrian ways of achieving what I want, but it seems important to
 understand the mechanism shown in the DataGrid docs.

 Ignorantly

 Graham

 ___
 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




-- 
Pete
Molly's Revenge http://www.mollysrevenge.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: Button oddities -- LC 5.5 related? (Not a serious problem)

2012-04-02 Thread Bob Sneidar
BTW This is why I wanted to group my imported images into predefined ID ranges. 
I ran across this at one point. 

Bob


On Mar 31, 2012, at 7:21 PM, Timothy Miller wrote:

 On Mar 31, 2012, at 3:56 PM, J. Landman Gay wrote:
 
 On 3/31/12 5:34 PM, Timothy Miller wrote:
 I just discovered that if I click with the browse tool on the
 place where the buttons should be, the button becomes visible and the
 button script executes. If I save and quit LC, the buttons disappear
 when I launch the stack again.
 
 Sounds like an icon ID conflict. Do what Mike suggested. Import the icons 
 from the Icon Library into your stack and assign the new image IDs to the 
 buttons. That way they'll stay stable.
 
 Thankya Mike and Jacque. That's a relief! I had unhappy visions of 
 laboriously re-creating a corrupted stack.
 
 Sadly, I can't figure out how to import icons from the icon library into my 
 stack. You won't believe this... The first thing that popped into my head was 
 resedit
 
 Okay, I guess I figured it out by trial and error, probably did it wrong, but 
 it worked. Something about development: image library. Never noticed that 
 item before.
 
 A couple of little images, about right for the icons I want, are now sitting 
 at a random location on one of the cards in the stack. So now when I set the 
 icon, I can use image library:this stack. I can see the little images there. 
 Before I was using image library: standard icons.
 
 What do I do with the little images I imported? Set the visible to false, 
 hide them under a field, or can I delete them now, because they are used in a 
 button?
 
 Should this be standard procedure? I never thought about importing images for 
 icons. Normally, when I make a new button and want an icon, I just use the 
 icons  borders popup.
 
 The stack and buttons are working normally now.
 
 Version 5.5 has a new file format and older versions of LiveCode can't read 
 it.
 
 Open your stack in 5.5. Do a Save as and use the popdown menu in the Save 
 dialog to choose Legacy 2.7 format. Save it that way and it will open again 
 in 5.02.
 
 Another relief.
 
 Maybe I should read the what's new document. I don't recall seeing one, but 
 I didn't look for it very hard.
 
 Tim
 ___
 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: Button oddities -- LC 5.5 related? (Not a serious problem)

2012-04-02 Thread Bob Sneidar
It's one of the oddest things, but buttons point to imported images, imported 
images *can* be set to point to a file on the hard drive. Why not allow a 
button to point to an image on the hard drive for it's icon I say? Someone will 
cry, Backwards Compatibility at this point no doubt. But the ability to set a 
button's Icons to files on the hard drive ought to be a major consideration for 
the next major LC release IMHO. 

Bob


On Apr 1, 2012, at 12:03 PM, J. Landman Gay wrote:

 On 3/31/12 9:21 PM, Timothy Miller wrote:
 
 What do I do with the little images I imported? Set the visible to
 false, hide them under a field, or can I delete them now, because
 they are used in a button?
 
 You can't delete them; they are the source of your icons. Just set them to be 
 invisible.


___
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: mails bouncing back?

2012-04-02 Thread Bob Sneidar
Do you have your own domain set up with on-rev? If so, then you need to contact 
the blacklist organizations and find out what the gripe was. Then you can 
contact them via a form they have and request that you be removed, but if the 
problem still persists, the problem will recur. 

Are you sending out a lot of email from your domain as a kind of spam? If so, 
then you should consider using a separate domain for this for obvious reasons. 
Also, find out what is blacklisted, your IP or your domain. If your domain then 
someone may have hijacked it for smtp. If your IP then it's pretty clear that 
something at On-Rev has gotten compromised, but I seriously doubt that, unless 
it's a web site someone is maintaining there. That needs to be addressed with 
the On-Rev support people. 

Once you resolve the issue, contact the blacklist sites, let them know what you 
have done to resolve the issue, and they should unblock your domain/IP. 
Everyone gets at least one freebie, so get it right. 

Bob


On Apr 2, 2012, at 8:31 AM, Mark Wieder wrote:

 Klaus-
 
 Monday, April 2, 2012, 8:22:44 AM, you wrote:
 
 My web and email hoster is RunRev (on-rev).
 
 So my hoster has a bad reputation? 
 If yes, how come? What can I do?
 
 Can anyone tell me who is to blame here, I plea not guilty!? :-D
 
 I no longer use the on-rev smtp server because of this problem. Use
 your local isp's smtp server instead.
 
 -- 
 -Mark Wieder
 mwie...@ahsoftware.net
 
 
 ___
 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: P

2012-04-02 Thread Bob Sneidar
I don't have to P and you can't make me!

Bob


On Apr 1, 2012, at 6:20 AM, mark.rauter...@gmail.com wrote:

 
 Sent from my BlackBerry®
 ___
 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: Button oddities -- LC 5.5 related? (Not a serious problem)

2012-04-02 Thread Malte Brill
I do not see what does not work in that context? The images does not 
necessariely need to be imported? Works just fine with referenced images. Sure, 
it still needs an image container, but that does not hurt much, does it? I 
would be glad if the icon could be a rugged ID though (image ID 58 of cd 
myCard of stack myStack) without being resolved to an ambigouus number...

Cheers,

Malte

 It's one of the oddest things, but buttons point to imported images, imported 
 images *can* be set to point to a file on the hard drive. Why not allow a 
 button to point to an image on the hard drive for it's icon I say?

___
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: mails bouncing back?

2012-04-02 Thread Klaus on-rev
Hi Bob,

Am 02.04.2012 um 19:02 schrieb Bob Sneidar:

 Do you have your own domain set up with on-rev?

Yep.

 If so, then you need to contact the blacklist organizations and find out what 
 the gripe was. Then you can contact them via a form they have and request 
 that you be removed, but if the problem still persists, the problem will 
 recur. 
 
 Are you sending out a lot of email from your domain as a kind of spam?

Not at all! :-/

 If so, then you should consider using a separate domain for this for obvious 
 reasons. Also, find out what is blacklisted, your IP or your domain. If your 
 domain then someone may have hijacked it for smtp. If your IP then it's 
 pretty clear that something at On-Rev has gotten compromised, but I seriously 
 doubt that, unless it's a web site someone is maintaining there. That needs 
 to be addressed with the On-Rev support people. 
 
 Once you resolve the issue, contact the blacklist sites, let them know what 
 you have done to resolve the issue, and they should unblock your domain/IP. 
 Everyone gets at least one freebie, so get it right. 

Thanks for the hints!

 Bob
 
 On Apr 2, 2012, at 8:31 AM, Mark Wieder wrote:
 
 Klaus-
 Monday, April 2, 2012, 8:22:44 AM, you wrote:
 My web and email hoster is RunRev (on-rev).
 So my hoster has a bad reputation? 
 If yes, how come? What can I do?
 Can anyone tell me who is to blame here, I plea not guilty!? :-D
 I no longer use the on-rev smtp server because of this problem. Use
 your local isp's smtp server instead.

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.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: mails bouncing back?

2012-04-02 Thread Tim Jones
It appears that OnRev uses GoDaddy services as the secureserver.net servers 
belong to them.  Because of GoDaddy's easy online setup, spammers / scammers 
are able to pop in, perform a hit-and-run with their mail broadcast, and the 
security team doesn't catch it and disable the account into it's already a 
problem.

It sounds to me like RunRev should examine alternate mail service providers for 
the OnRev solution since secureserver.net is very deeply entrenched in the 
blacklists.

Tim
.
On Apr 2, 2012, at 8:31 AM, Mark Wieder wrote:

 Klaus-
 
 Monday, April 2, 2012, 8:22:44 AM, you wrote:
 
 My web and email hoster is RunRev (on-rev).
 
 So my hoster has a bad reputation? 
 If yes, how come? What can I do?
 
 Can anyone tell me who is to blame here, I plea not guilty!? :-D
 
 I no longer use the on-rev smtp server because of this problem. Use
 your local isp's smtp server instead.
 
 -- 
 -Mark Wieder
 mwie...@ahsoftware.net


___
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


iOS pull-down menu is full screen

2012-04-02 Thread Dar Scott
I'm using LiveCode 4.6.4 for this.  In a test stack a pull-down menu shows up 
as full screen on iOS 4.3.  I think a combo box does the same.  I would guess 
later versions have this fixed, but if there is a quick workaround I'd like to 
do that.  This doesn't have to look pretty, but something better than full 
screen would be nice.  

(I thought I had used a menu button that did not do this but maybe not.)

Any ideas?

Dar


___
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: mails bouncing back?

2012-04-02 Thread Bob Sneidar
Nice to know Tim good catch!

Bob


On Apr 2, 2012, at 10:29 AM, Tim Jones wrote:

 It appears that OnRev uses GoDaddy services as the secureserver.net servers 
 belong to them.  Because of GoDaddy's easy online setup, spammers / 
 scammers are able to pop in, perform a hit-and-run with their mail broadcast, 
 and the security team doesn't catch it and disable the account into it's 
 already a problem.
 
 It sounds to me like RunRev should examine alternate mail service providers 
 for the OnRev solution since secureserver.net is very deeply entrenched in 
 the blacklists.
 
 Tim
 .
 On Apr 2, 2012, at 8:31 AM, Mark Wieder wrote:
 
 Klaus-
 
 Monday, April 2, 2012, 8:22:44 AM, you wrote:
 
 My web and email hoster is RunRev (on-rev).
 
 So my hoster has a bad reputation? 
 If yes, how come? What can I do?
 
 Can anyone tell me who is to blame here, I plea not guilty!? :-D
 
 I no longer use the on-rev smtp server because of this problem. Use
 your local isp's smtp server instead.
 
 -- 
 -Mark Wieder
 mwie...@ahsoftware.net
 
 
 ___
 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: [on-rev]Line endings for a db query

2012-04-02 Thread Martin Koob
Hi Peter

Thanks, I just tried your suggestion.

That still inserts blank lines into the variable that I have to filter out
later.

It seems the revDataFromQuery does not insert an end of line character after
the last record and
it seems that the end of line character that is used to separate lines in
the variable is not the same as the return or LF constants in LiveCode.

Martin

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526757.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: Button oddities -- LC 5.5 related? (Not a serious problem)

2012-04-02 Thread Bob Sneidar
If a button could point to a file instead of an embedded image, the issues with 
ID's would disappear altogether. Instead of having an image AND the button, and 
then hiding the image, you would only have the button. Yes you can create an 
image and point it to a file on the hard drive, but it amounts to the same 
thing as importing the image and then setting it's file reference to the 
original file. 2 different paths, same destination. A button's icon still has 
to be set to that image object's ID, so it's six one way, half a dozen the 
other. One leg is both the same, you see? ;-) 

Bob


On Apr 2, 2012, at 10:21 AM, Malte Brill wrote:

 I do not see what does not work in that context? The images does not 
 necessariely need to be imported? Works just fine with referenced images. 
 Sure, it still needs an image container, but that does not hurt much, does 
 it? I would be glad if the icon could be a rugged ID though (image ID 58 of 
 cd myCard of stack myStack) without being resolved to an ambigouus 
 number...
 
 Cheers,
 
 Malte
 
 It's one of the oddest things, but buttons point to imported images, 
 imported images *can* be set to point to a file on the hard drive. Why not 
 allow a button to point to an image on the hard drive for it's icon I say?
 
 ___
 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: mails bouncing back?

2012-04-02 Thread Pete
I got caught in this web a couple of years back (I think it was with
GoDaddy).  Here's the problem I have with the blacklist sites.  Their
blanket blackballing of servers means that the 99% of users who are using
it for genuine, non-spam emails get dumped on for the sins of the 1%.
 Personally, I sgtrongly object to having my genuine emails blocked in this
fashion.  It's illegal to tamper with the US Mail and it should be illegal
to block the delivery of genuine email as well.

End of rant!

Pete

On Mon, Apr 2, 2012 at 10:29 AM, Tim Jones tolis...@me.com wrote:

 It appears that OnRev uses GoDaddy services as the secureserver.net
 servers belong to them.  Because of GoDaddy's easy online setup, spammers
 / scammers are able to pop in, perform a hit-and-run with their mail
 broadcast, and the security team doesn't catch it and disable the account
 into it's already a problem.

 It sounds to me like RunRev should examine alternate mail service
 providers for the OnRev solution since secureserver.net is very deeply
 entrenched in the blacklists.

 Tim
 .
 On Apr 2, 2012, at 8:31 AM, Mark Wieder wrote:

  Klaus-
 
  Monday, April 2, 2012, 8:22:44 AM, you wrote:
 
  My web and email hoster is RunRev (on-rev).
 
  So my hoster has a bad reputation?
  If yes, how come? What can I do?
 
  Can anyone tell me who is to blame here, I plea not guilty!? :-D
 
  I no longer use the on-rev smtp server because of this problem. Use
  your local isp's smtp server instead.
 
  --
  -Mark Wieder
  mwie...@ahsoftware.net


 ___
 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




-- 
Pete
Molly's Revenge http://www.mollysrevenge.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: iOS pull-down menu is full screen

2012-04-02 Thread J. Landman Gay

On 4/2/12 12:44 PM, Dar Scott wrote:

I'm using LiveCode 4.6.4 for this.  In a test stack a pull-down menu
shows up as full screen on iOS 4.3.  I think a combo box does the
same.  I would guess later versions have this fixed, but if there is
a quick workaround I'd like to do that.  This doesn't have to look
pretty, but something better than full screen would be nice.


Mobile systems can only display one window at a time, and menu butons 
are implemented internally as stacks so they show full screen. The 
solution was to use an iOS native control, but that didn't happen until 
version 5.0.


You could probably make your own popup by faking it with a field.

--
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: [on-rev]Line endings for a db query

2012-04-02 Thread Bob Sneidar
I just checked to see what revDataFromQuery uses for a row delimiter by 
default, if you do not provide one. It returns ascii 10, the backspace 
character! Very odd. Must be an HTML thingummy. 

I then specified comma and cr as the column and row delimiters like so:

   put revDataFromQuery(comma,cr,theConnID,select * from events)  cr into 
theSQLData
   put revDataFromQuery(comma,cr,theConnID,select * from clients)  cr after 
theSQLData

This produced NO extra line that I could see. If you still get an extra line 
using this method, I suspect you have a blank record in your table. 

Bob


On Apr 2, 2012, at 10:57 AM, Martin Koob wrote:

 Hi Peter
 
 Thanks, I just tried your suggestion.
 
 That still inserts blank lines into the variable that I have to filter out
 later.
 
 It seems the revDataFromQuery does not insert an end of line character after
 the last record and
 it seems that the end of line character that is used to separate lines in
 the variable is not the same as the return or LF constants in LiveCode.
 
 Martin
 
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526757.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: [on-rev]Line endings for a db query

2012-04-02 Thread Pete
Hi Martin,
That's strange. I just tried the following test:

put revDataFromQuery(,,gDBID,SELECT * FROM t1) into tVar
put return  revDataFromQuery(,,gDBID,SELECT * FROM t1) after tVar

tVar looked just like it should after the above, no blank lines.

Are you using the default rowdelim character for revDataFromQuery?  What
platform are you on?  My test was done on a Mac.

Pete

On Mon, Apr 2, 2012 at 10:57 AM, Martin Koob mk...@rogers.com wrote:

 Hi Peter

 Thanks, I just tried your suggestion.

 That still inserts blank lines into the variable that I have to filter out
 later.

 It seems the revDataFromQuery does not insert an end of line character
 after
 the last record and
 it seems that the end of line character that is used to separate lines in
 the variable is not the same as the return or LF constants in LiveCode.

 Martin

 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526757.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




-- 
Pete
Molly's Revenge http://www.mollysrevenge.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: [on-rev]Line endings for a db query

2012-04-02 Thread Pete
Do you mean decimal 10 or octal 10?  Decimal 10 is newline (which is what
I'd expect), octal 10 is backspace.
Pete

On Mon, Apr 2, 2012 at 12:05 PM, Bob Sneidar b...@twft.com wrote:

 I just checked to see what revDataFromQuery uses for a row delimiter by
 default, if you do not provide one. It returns ascii 10, the backspace
 character! Very odd. Must be an HTML thingummy.

 I then specified comma and cr as the column and row delimiters like so:

   put revDataFromQuery(comma,cr,theConnID,select * from events)  cr
 into theSQLData
   put revDataFromQuery(comma,cr,theConnID,select * from clients)  cr
 after theSQLData

 This produced NO extra line that I could see. If you still get an extra
 line using this method, I suspect you have a blank record in your table.

 Bob


 On Apr 2, 2012, at 10:57 AM, Martin Koob wrote:

  Hi Peter
 
  Thanks, I just tried your suggestion.
 
  That still inserts blank lines into the variable that I have to filter
 out
  later.
 
  It seems the revDataFromQuery does not insert an end of line character
 after
  the last record and
  it seems that the end of line character that is used to separate lines in
  the variable is not the same as the return or LF constants in LiveCode.
 
  Martin
 
  --
  View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526757.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




-- 
Pete
Molly's Revenge http://www.mollysrevenge.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: [on-rev]Line endings for a db query

2012-04-02 Thread Bob Sneidar
Reference my post. I think he may have a blank row in his database. 

Bob


On Apr 2, 2012, at 12:12 PM, Pete wrote:

 Hi Martin,
 That's strange. I just tried the following test:
 
 put revDataFromQuery(,,gDBID,SELECT * FROM t1) into tVar
 put return  revDataFromQuery(,,gDBID,SELECT * FROM t1) after tVar
 
 tVar looked just like it should after the above, no blank lines.
 
 Are you using the default rowdelim character for revDataFromQuery?  What
 platform are you on?  My test was done on a Mac.
 
 Pete
 
 On Mon, Apr 2, 2012 at 10:57 AM, Martin Koob mk...@rogers.com wrote:
 
 Hi Peter
 
 Thanks, I just tried your suggestion.
 
 That still inserts blank lines into the variable that I have to filter out
 later.
 
 It seems the revDataFromQuery does not insert an end of line character
 after
 the last record and
 it seems that the end of line character that is used to separate lines in
 the variable is not the same as the return or LF constants in LiveCode.
 
 Martin
 
 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526757.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
 
 
 
 
 -- 
 Pete
 Molly's Revenge http://www.mollysrevenge.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: getProp syntax query

2012-04-02 Thread Graham Samuel
Mark, thanks for that. There is absolutely nothing of this in the LC Dictionary 
AFAICS, although after a search I realised that there is a very hard to read 
(IMHO) description on section 7.10 of the User Guide. I think at the very least 
a note should be added to the Dictionary entry, so I have submitted one, but I 
would be very happy if someone such as yourself corrects it. It seems a huge 
omission to me. The Dictionary should give at least the correct syntax for 
every type of statement.

Thanks again

Graham

On Mon, 2 Apr 2012 13:38:06 +0200, Mark Schonewille 
m.schonewi...@economy-x-talk.com wrote:

 Hi Graham,
 
 The following (nonsense) example works:
 
 getProp foo[bar]
   answer bar
   return hello world
 end foo
 
 setProp foo[bar] theData
   answer theData
   pass foo
 end foo
 
 You can use only one index, i.e. the setProp/getProp handlers are 
 one-dimensional. An additional parameter contains the data that the property 
 is being set to. Use the target to find out which control's property is being 
 set. 
 
 --
 Best regards,
 
 Mark Schonewille

___
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: [on-rev]Line endings for a db query

2012-04-02 Thread Bob Sneidar
Whoops! My bad yes it's dec 12 newline. I just assumed in a list of that nature 
on a web site the first column would be the one the majority of people care 
about. :-)

Bob


On Apr 2, 2012, at 12:16 PM, Pete wrote:

 Do you mean decimal 10 or octal 10?  Decimal 10 is newline (which is what
 I'd expect), octal 10 is backspace.
 Pete
 
 On Mon, Apr 2, 2012 at 12:05 PM, Bob Sneidar b...@twft.com wrote:
 
 I just checked to see what revDataFromQuery uses for a row delimiter by
 default, if you do not provide one. It returns ascii 10, the backspace
 character! Very odd. Must be an HTML thingummy.
 
 I then specified comma and cr as the column and row delimiters like so:
 
  put revDataFromQuery(comma,cr,theConnID,select * from events)  cr
 into theSQLData
  put revDataFromQuery(comma,cr,theConnID,select * from clients)  cr
 after theSQLData
 
 This produced NO extra line that I could see. If you still get an extra
 line using this method, I suspect you have a blank record in your table.
 
 Bob
 
 
 On Apr 2, 2012, at 10:57 AM, Martin Koob wrote:
 
 Hi Peter
 
 Thanks, I just tried your suggestion.
 
 That still inserts blank lines into the variable that I have to filter
 out
 later.
 
 It seems the revDataFromQuery does not insert an end of line character
 after
 the last record and
 it seems that the end of line character that is used to separate lines in
 the variable is not the same as the return or LF constants in LiveCode.
 
 Martin
 
 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526757.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
 
 
 
 
 -- 
 Pete
 Molly's Revenge http://www.mollysrevenge.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: OT: mails bouncing back?

2012-04-02 Thread Mark Wieder
Tim Jones tolistim@... writes:

 It appears that OnRev uses GoDaddy services as the secureserver.net servers
belong to them.  Because of
 GoDaddy's easy online setup, spammers / scammers are able to pop in, perform
a hit-and-run with their
 mail broadcast, and the security team doesn't catch it and disable the account
into it's already a problem.
 
 It sounds to me like RunRev should examine alternate mail service providers
for the OnRev solution since
 secureserver.net is very deeply entrenched in the blacklists.

Tim-

That's exactly the problem. Using blacklists to control spam is a brute-force
lowest-common-denominator approach. Unfortunately, everyone uses one of a
handful of blacklist servers. It's very difficult to get an IP address off the
list and very easy to get on.

The short-term solution is to configure your email client to use your local smtp
server instead of on-rev's. The long-term solution is, as you said, for runrev
to select a different domain service. Since further development work on the
on-rev hosting platform is unlikely, the long-term solution then is the same as
the short-term solution.

-- 
 Mark Wieder




___
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: Location of iOS 5.0 SDK

2012-04-02 Thread Thomas McGrath III
Mark,

This will only work with LC 5.5 and above.

LC 5.0.2 will only work with xCode with iOS 5.0 -- not 5.1


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Apr 2, 2012, at 9:09 AM, Mark Smith wrote:

 Thanks Tom, unfortunately I had no luck. The exact path to Xcode 4.3.2 is
 Mark Smith's Macbook Pro/Macintosh HD/Applications. Selecting that path in
 prefs gives me this error msg:
 
 The chosen folder is not a valid iOS SDK for 5.0 and later. It must be one
 that ships with Xcode 4.2 or later.
 
 I'll send it to Support and see what they say. I am starting to develop a
 huge aversion to anything called an upgrade sigh
 
 -- Mark
 
 PS I should mention I am still using LC 5.0.2. That may be the problem at
 this point.
 
 PPS Jacque, the upgrade to Lion went smoother than I thought, and apart from
 the above I've not run into any other problems. I can't say there is
 anything in Lion I am looking for, but windows do seem to snap open faster.
 Graham, if I get this sorted out I'll post the solution. 
 
 
 Thomas McGrath III-3 wrote
 
 Mark,
 
 The new path is actually to the xCode.app in the applications folder and
 once pointed to the app itself LC will then traverse the package contents
 to the internal 5.1 SDK and not the 5.0 SDK. You don't really need the
 /Developer anymore since LC can now build the 5.1 in the xCode.app app.
 
 
 -- Tom McGrath III
 
 
 
 
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/Location-of-iOS-5-0-SDK-tp4524976p4525961.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: Location of iOS 5.0 SDK

2012-04-02 Thread Mark Smith
Mike, Tom, all the rest... thanks for the assistance. You are correct. I did
an email earlier today to Heather and she confirmed this only works in 5.5
(I feel another article for the newsletter coming on... we should not be
stumbling around out here in user land trying to figure this out... anyway).
However, while I've now sufficiently calmed down those who saw my recent
post on the dev list will know that my first foray into LC 5.5 just about
gave me a heart attack. The first time I opened my stack (the one I am
currently developing) every action resulted in an error, and the whole UI
was totally toast. I thought I was done for sure. Time to hang up the
developer hat. Then I did something inexplicable. I closed and reopened the
stack, without saving (I remember explicitly thinking... who would want to
save this mess) and... it all worked. For a minute I thought I was back in
5.0.2 somehow. But I wasn't. It just worked. 

I still have no idea what happened, or why (which does kind of scare me).
But we're back in business. I even recompiled it for iOS and it worked fine.
Apparently this is the current recipe:

iOS 5.1
xCode 4.3.2
OSX 10.7.3
LC 5.5
Point the mobile support preference at the xCode 4.3.2 application (which is
just a clever folder in disguise) and it should work.

Thanks again... you folks are the best.

-- Mark


--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Location-of-iOS-5-0-SDK-tp4524976p4527755.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: Location of iOS 5.0 SDK

2012-04-02 Thread Mark Smith

J. Landman Gay wrote
 
 
 I have purchased and downloaded Lion and have been sitting here all 
 weekend trying to make myself install it. I know I have to. Still don't 
 want to.
 


Jacque, I would say go for it. The current successful recipe, based on my
limited experience, appears to be

iOS 5.1 
xCode 4.3.2 
OSX 10.7.3 
LC 5.5 
Point the mobile support preference at the xCode 4.3.2 application (which is
just a clever folder in disguise) and it should work. 

But be aware that the first time I opened a stack in LC 5.5 it went totally
berserk on stuff that had run flawlessly before, then when I closed and
reopened the stack it worked fine. I have no explanation. But I think I've
had more than enough fun for one night, and will take another look at this
tomorrow.

What an exciting field we operate in :)

-- Mark





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Location-of-iOS-5-0-SDK-tp4524976p4527765.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: Location of iOS 5.0 SDK

2012-04-02 Thread Tim Jones
On Apr 2, 2012, at 6:37 PM, Thomas McGrath III wrote:

 Mark,
 
 This will only work with LC 5.5 and above.
 
 LC 5.0.2 will only work with xCode with iOS 5.0 -- not 5.1

However, there is no reason that you can't build a 5.1 compatible app using 
LC5.0.2 and Xcode 4.2.

Tim


___
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: Location of iOS 5.0 SDK

2012-04-02 Thread J. Landman Gay

On 4/2/12 11:14 PM, Mark Smith wrote:

Jacque, I would say go for it. The current successful recipe, based on my
limited experience, appears to be


snip

I've been keeping notes, so I think I've got the recipe down. I just 
don't want Lion. But everyone seems to have updated successfully so I 
will do it too. I was going to do it today but I didn't, and now it's 
getting late, so I'll...do it tomorrow. Right. Tomorrow.


(Everybody sing: Tomorrow! Tomorrow! I'll do it, tomorrow!)

--
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