From ambassador at fourthworld.com Thu Jan 1 00:00:16 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 31 Dec 2008 21:00:16 -0800 Subject: [OT] Happy New Year Message-ID: <495C4DE0.7080302@fourthworld.com> Just a brief note to express my gratitude for all the helpful tips and wisdom the folks on this list have shared with me throughout 2008, and my hopes that I'll be able to return the favor in 2009. Best wishes to all the folks here in this community and the Rev team in Edinburgh for a prosperous and enjoyable new year. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From chipp at chipp.com Thu Jan 1 01:26:39 2009 From: chipp at chipp.com (Chipp Walters) Date: Thu, 1 Jan 2009 00:26:39 -0600 Subject: [OT] Happy New Year In-Reply-To: <495C4DE0.7080302@fourthworld.com> References: <495C4DE0.7080302@fourthworld.com> Message-ID: <665591460812312226v72de2d67ja6933037a67db015@mail.gmail.com> <-- What he said! Best to all. Hope 2009 is great for all of you! From m.schonewille at economy-x-talk.com Thu Jan 1 04:42:43 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 1 Jan 2009 10:42:43 +0100 Subject: [OT] Happy New Year Message-ID: <63D18F48-48D3-420F-8145-034DF81863E5@economy-x-talk.com> Happy New Year. I wish all of you a successful year with less bugs and more features ;-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! From baleareninsel at gmx.net Thu Jan 1 05:22:55 2009 From: baleareninsel at gmx.net (Horst) Date: Thu, 1 Jan 2009 02:22:55 -0800 (PST) Subject: RevCopyFolder XP problem In-Reply-To: <701F557F-6D89-42BA-8937-31000DA95749@dvglasgow.wanadoo.co.uk> References: <701F557F-6D89-42BA-8937-31000DA95749@dvglasgow.wanadoo.co.uk> Message-ID: <21240249.post@talk.nabble.com> Hol? David, Why don't you use XCOPY? f.e. get shell("start xCopy /e /c /d /y /h /k /v D:\*.* H:\test\*.*") that works fine David Glasgow wrote: > > Way back in October, Eric, Ken and others helped out with identifying > special folders in XP and Vista, in which I could save shared and non > shared data. (Because the system I used in my app previously breaks > under Vista). > > Having finally decided on appropriate locations and file structures, > I have started to script a routine which checks on the platform, then > checks in each location for the expected folders, and copies them > there if they are not present. > > Debugging is a bit of a painful process on Windows, because I am > using Studio on Mac and testing under Parallels (XP). However, as > far as I can tell, RevCopyFolder doesn't work as advertised on XP. > In the Rev 2.0 language reference it states: > > "The revCopyFolder command makes a copy of the entire folder, > including all files, subfolders, and their contents. The folder > remains in its original location and the copy is placed in the new > location." > > I only get the top level (i.e foldertocopy) folder created in the > new location, with none of its contents, be they files or folders. I > look at the result for each instance of RevCopyFolder after each > partial successful copy, which gives me the numerical value '4'. > > I know that RevCopyFolder seems to be very erratic on the Mac, but is > my problem on Win recognised by others? Is there an easy workaround? > > Thanks > > David Glasgow > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/RevCopyFolder-XP-problem-tp21235671p21240249.html Sent from the Revolution - User mailing list archive at Nabble.com. From david at dvglasgow.wanadoo.co.uk Thu Jan 1 07:37:24 2009 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Thu, 1 Jan 2009 12:37:24 +0000 Subject: RevCopyFolder XP problem In-Reply-To: <20081228180004.C2C42488ED6@mail.runrev.com> References: <20081228180004.C2C42488ED6@mail.runrev.com> Message-ID: <7B973434-1375-4B0B-B00A-CE9E2810957A@dvglasgow.wanadoo.co.uk> > Way back in October, Eric, Ken and others helped out with > identifying special folders in XP and Vista, in which I could save > shared and non shared data. (Because the system I used in my app > previously breaks under Vista). > > Having finally decided on appropriate locations and file > structures, I have started to script a routine which checks on the > platform, then checks in each location for the expected folders, > and copies them there if they are not present. > > Debugging is a bit of a painful process on Windows, because I am > using Studio on Mac and testing under Parallels (XP). However, as > far as I can tell, RevCopyFolder doesn't work as advertised on XP. > In the Rev 2.0 language reference it states: > > "The revCopyFolder command makes a copy of the entire folder, > including all files, subfolders, and their contents. The folder > remains in its original location and the copy is placed in the new > location." > > I only get the top level (i.e foldertocopy) folder created in the > new location, with none of its contents, be they files or folders. > I look at the result for each instance of RevCopyFolder after each > partial successful copy, which gives me the numerical value '4'. > > I know that RevCopyFolder seems to be very erratic on the Mac, but > is my problem on Win recognised by others? Is there an easy > workaround? > > Thanks > > David Glasgow Cracked it! Thought I would post the solution just in case it helps someone else. I have no idea why 'the result' is 4, as described above, but this only happens if revcopyfolder fails. And when I say "fails", I discovered that if the foldertocopy can't be found, Rev doesn't complain, it just creates a folder of the designated name at the designated destination and puts '4' in the result. It looks like the command has succeeded, until you examine the (non existent) folder contents... And why couldn't the foldertocopy be found? Because revcopyfolder doesn't like relative file paths. The same script with absolute paths works fine. Hmmm. Starting 2009 on a roll. Hope no Revistas spent too much time trying to help me. David G From lists at mangomultimedia.com Thu Jan 1 09:22:05 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 1 Jan 2009 09:22:05 -0500 Subject: revXmlAttribute fails with "xmlns" In-Reply-To: References: Message-ID: <9E5311A9-4A18-41D1-869D-7DBEB483DE14@mangomultimedia.com> On Dec 31, 2008, at 1:43 PM, David Bovill wrote: > The "revXmlAttribute" amd "revXmlAttributes" functions fail to > recognise an > "xmlns" attribute. Try this script in the message box: I've been meaning to report this as well as I came across it the other day while working with some Google Data APIs for Blogger: Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From mcgrath3 at mac.com Thu Jan 1 09:36:23 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 01 Jan 2009 09:36:23 -0500 Subject: [OT] Happy New Year In-Reply-To: <665591460812312226v72de2d67ja6933037a67db015@mail.gmail.com> References: <495C4DE0.7080302@fourthworld.com> <665591460812312226v72de2d67ja6933037a67db015@mail.gmail.com> Message-ID: I agree. Wishing everyone here a healthy and happy and prosperous New Year! Regards, Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Jan 1, 2009, at 1:26 AM, Chipp Walters wrote: > <-- > What he said! > > Best to all. Hope 2009 is great for all of you! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Thu Jan 1 09:45:58 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 1 Jan 2009 09:45:58 -0500 Subject: Tree Arrays: putting XML in nested arrays In-Reply-To: References: <69D68D7C-F8A6-40C7-8737-20A3E467507E@mangomultimedia.com> Message-ID: <53057637-2B28-4239-920B-F68F98267D85@mangomultimedia.com> On Dec 31, 2008, at 11:59 AM, David Bovill wrote: > One question about the data structure: > > [root] >> [@attributes] >> [attr1] >> [node] >> [node] = value > > This would mean that to extract the plain tree structure you would > have to: > > filter keys(someArray) without "@*" > > Isn't this unnecessarily slow? > What do you think about: > > - put treeArray ["_tree"]["root"]["node"][1] into nodeContents > - put treeArray ["_attribute"]["root"]["node"][1]["style"] into > nodeStyle > - put keys(treeArray ["_tree"]["root"]) into level1 > > Out of interest what do you use them for? I've never timed the overhead of filter but in my case I don't notice a speed hit and the structure isn't unnecessary. I use these conversion routines to facilitate interfacing with web services. As soon as I receive a response from the server I convert it to a Revolution array. If I need to send a request then I create an array, convert to XML and send it. Often I need to be able to extract an entire node and send it to a function for further processing. If the attributes were stored in a different branch in the array then it would complicate the code for doing this. In general I've found I can code much more quickly and end up with more readable code when working with the new MD arrays as opposed to the revXML calls. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From david.bovill at gmail.com Thu Jan 1 10:10:18 2009 From: david.bovill at gmail.com (David Bovill) Date: Thu, 1 Jan 2009 15:10:18 +0000 Subject: Tree Arrays: putting XML in nested arrays In-Reply-To: <53057637-2B28-4239-920B-F68F98267D85@mangomultimedia.com> References: <69D68D7C-F8A6-40C7-8737-20A3E467507E@mangomultimedia.com> <53057637-2B28-4239-920B-F68F98267D85@mangomultimedia.com> Message-ID: 2009/1/1 Trevor DeVore > > I've never timed the overhead of filter but in my case I don't notice a > speed hit and the structure isn't unnecessary. I use these conversion > routines to facilitate interfacing with web services. As soon as I receive a > response from the server I convert it to a Revolution array. If I need to > send a request then I create an array, convert to XML and send it. Often I > need to be able to extract an entire node and send it to a function for > further processing. If the attributes were stored in a different branch in > the array then it would complicate the code for doing this. I can't see it would complicate anything - just simplify the code? To get an attribute you'd simply prepend the path with "@attribute" rather than stick it at the end - the bonus would be speed and less lines of code (no need for filter). Or am I missing something? In general I've found I can code much more quickly and end up with more > readable code when working with the new MD arrays as opposed to the revXML > calls. Snap - that's one of the main use's here - I'm just looking to generalise it. My thinking is that this exact same code could replace the data-structures that I also use for tree-widgets (and therefore for storing a variety of hierarchical data) - so a generic and fast treeArray data structure could be used for both web service's (XML or JSON) and for tree / outline widgets. That's why I'm being a bit picky about the actual data structure, and making it as lean and fast as possible. From lists at mangomultimedia.com Thu Jan 1 11:46:34 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 1 Jan 2009 11:46:34 -0500 Subject: Tree Arrays: putting XML in nested arrays In-Reply-To: References: <69D68D7C-F8A6-40C7-8737-20A3E467507E@mangomultimedia.com> <53057637-2B28-4239-920B-F68F98267D85@mangomultimedia.com> Message-ID: <4605A4AC-1CDC-44CF-AED0-D8463F04081E@mangomultimedia.com> On Jan 1, 2009, at 10:10 AM, David Bovill wrote: > I can't see it would complicate anything - just simplify the code? > To get an > attribute you'd simply prepend the path with "@attribute" rather > than stick > it at the end - the bonus would be speed and less lines of code (no > need for > filter). Or am I missing something? With your design you are assuming that you will always be working on the entire tree. With my design I want each node of the array to be self contained so that it can be treated as a part separate from the whole. I can extract a node like this: put theTreeA[root]["node_1"] into theNodeA and I have all of the data relevant to that node. For how I work this is the logical approach given that I am not experiencing any speed issues. Have you benchmarked filter to see how badly it affects performance in your use cases? Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From jacque at hyperactivesw.com Thu Jan 1 11:53:48 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 01 Jan 2009 10:53:48 -0600 Subject: [OT] Happy New Year In-Reply-To: References: <495C4DE0.7080302@fourthworld.com> <665591460812312226v72de2d67ja6933037a67db015@mail.gmail.com> Message-ID: <495CF51C.5080905@hyperactivesw.com> I wish the best 2009 to everyone -- I love you all. Jacque -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacques.hausser at unil.ch Thu Jan 1 12:37:29 2009 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Thu, 1 Jan 2009 18:37:29 +0100 Subject: that is the question... In-Reply-To: <495CF51C.5080905@hyperactivesw.com> References: <495C4DE0.7080302@fourthworld.com> <665591460812312226v72de2d67ja6933037a67db015@mail.gmail.com> <495CF51C.5080905@hyperactivesw.com> Message-ID: First, happy new year to all of you ! Second, I found something curious when scripting a prompt for an answer folder dialog. To put it in a button: on mouseUp put "O? est le dossier ? & quote & ?RosData" & quote & " ?" into laquestion answer folder laquestion put laquestion into field Ftexte end mouseUp It is not visible in this mail, but in the script editor the first 'quote' is dark blue and the second bordeau... both in the dialog box and in the field, the string becomes: O? est le dossier ? & quote & ?RosData" ? instead of the expected O? est le dossier "RosData" ? Could it be my first '09 bug ? (I didn't find anything similar looking for "quote" in the quality center) Mac Intel, OSX 10.5.6 Thank you for advice - even if the simplest solution is to suppress the quotes ;o) Jacques ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From rmicout at online.fr Thu Jan 1 12:52:39 2009 From: rmicout at online.fr (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 1 Jan 2009 18:52:39 +0100 Subject: that is the question... In-Reply-To: References: <495C4DE0.7080302@fourthworld.com> <665591460812312226v72de2d67ja6933037a67db015@mail.gmail.com> <495CF51C.5080905@hyperactivesw.com> Message-ID: <87BFE3C8-82B9-425F-AB32-D084C314C8DA@online.fr> Bonne ann?e Jacques, Happy new year for all ! and if you write : put "O? est le dossier " & quote & "RosData" & quote & " ?" into laquestion instead put "O? est le dossier ? & quote & ?RosData" & quote & " ?" into laquestion ? Ren? from Paris Le 1 janv. 09 ? 18:37, Jacques Hausser a ?crit : > First, happy new year to all of you ! > > Second, I found something curious when scripting a prompt for an > answer folder dialog. To put it in a button: > > on mouseUp > put "O? est le dossier ? & quote & ?RosData" & quote & " ?" into > laquestion > answer folder laquestion > put laquestion into field Ftexte > end mouseUp > > It is not visible in this mail, but in the script editor the first > 'quote' is dark blue and the second bordeau... > > both in the dialog box and in the field, the string becomes: > > O? est le dossier ? & quote & ?RosData" ? > > instead of the expected > > O? est le dossier "RosData" ? > > Could it be my first '09 bug ? (I didn't find anything similar > looking for "quote" in the quality center) > Mac Intel, OSX 10.5.6 > > Thank you for advice - even if the simplest solution is to suppress > the quotes ;o) > > Jacques > > ****************************************** > Prof. Jacques Hausser > Department of Ecology and Evolution > Biophore / Sorge > University of Lausanne > CH 1015 Lausanne > please use my private address: > 6 route de Burtigny > CH-1269 Bassins > tel/fax: ++ 41 22 366 19 40 > mobile: ++ 41 79 757 05 24 > E-Mail: jacques.hausser at unil.ch > ******************************************* > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From m.schonewille at economy-x-talk.com Thu Jan 1 12:53:23 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 1 Jan 2009 18:53:23 +0100 Subject: that is the question... In-Reply-To: References: <495C4DE0.7080302@fourthworld.com> <665591460812312226v72de2d67ja6933037a67db015@mail.gmail.com> <495CF51C.5080905@hyperactivesw.com> Message-ID: <11098472-50D3-4B22-9880-640AD1580E01@economy-x-talk.com> Hi Jacques, If you set the font to Monaco and probably many other fonts as well, you will see that the second quote in put "O? est le dossier ? & quote & ?RosData" & quote & " ?" into laquestion is not the same as the first quote. The third quote is the same as the second quote but not the same as the third quote. Make sure that you always use the same quote, ASCII 34. The following line is correct: put "O? est le dossier " & quote & "RosData" & quote & " ?" into laquestion You could also write put "O? est le dossier ?RosData??" into laquestion -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 1 jan 2009, at 18:37, Jacques Hausser wrote: > First, happy new year to all of you ! > > Second, I found something curious when scripting a prompt for an > answer folder dialog. To put it in a button: > > on mouseUp > put "O? est le dossier ? & quote & ?RosData" & quote & " ?" into > laquestion > answer folder laquestion > put laquestion into field Ftexte > end mouseUp > > It is not visible in this mail, but in the script editor the first > 'quote' is dark blue and the second bordeau... > > both in the dialog box and in the field, the string becomes: > > O? est le dossier ? & quote & ?RosData" ? > > instead of the expected > > O? est le dossier "RosData" ? > > Could it be my first '09 bug ? (I didn't find anything similar > looking for "quote" in the quality center) > Mac Intel, OSX 10.5.6 > > Thank you for advice - even if the simplest solution is to suppress > the quotes ;o) > > Jacques From eric.chatonet at sosmartsoftware.com Thu Jan 1 12:55:10 2009 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 1 Jan 2009 18:55:10 +0100 Subject: that is the question... In-Reply-To: References: <495C4DE0.7080302@fourthworld.com> <665591460812312226v72de2d67ja6933037a67db015@mail.gmail.com> <495CF51C.5080905@hyperactivesw.com> Message-ID: <22ECA989-D500-401E-BF51-55033D262E1E@sosmartsoftware.com> Bonsoir Jacques, Happy new year too :-) There is not any real bug here but invisible chars you don't see but they confuse the engine. If you retrieve charToNums from your prompt, you get: 79,157,32,101,115,116,32,108,101,32,100,111,115,115,105,101,114,32,210,3 2,38,32,113,117,111,116,101,32,38,32,210,82,111,115,68,97,116,97,34,32,6 3 If you rewrite it, you get: 79,157,32,101,115,116,32,108,101,32,100,111,115,115,105,101,114,32,34,82 ,111,115,68,97,116,97,34,32,63 And you see that charToNum(34) (quote) was replaced with 0,32,38,32,113,117,111,116,101,32,38,32,210 in the form you copy paste in your email. I don't know if we may call that a bug: let's say that it's a good idea to type again a string that causes that kind of problem :-) Le 1 janv. 09 ? 18:37, Jacques Hausser a ?crit : > First, happy new year to all of you ! > > Second, I found something curious when scripting a prompt for an > answer folder dialog. To put it in a button: > > on mouseUp > put "O? est le dossier ? & quote & ?RosData" & quote & " ?" into > laquestion > answer folder laquestion > put laquestion into field Ftexte > end mouseUp > > It is not visible in this mail, but in the script editor the first > 'quote' is dark blue and the second bordeau... > > both in the dialog box and in the field, the string becomes: > > O? est le dossier ? & quote & ?RosData" ? > > instead of the expected > > O? est le dossier "RosData" ? > > Could it be my first '09 bug ? (I didn't find anything similar > looking for "quote" in the quality center) > Mac Intel, OSX 10.5.6 > > Thank you for advice - even if the simplest solution is to suppress > the quotes ;o) > > Jacques Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Thu Jan 1 13:08:20 2009 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 1 Jan 2009 19:08:20 +0100 Subject: that is the question... In-Reply-To: <22ECA989-D500-401E-BF51-55033D262E1E@sosmartsoftware.com> References: <495C4DE0.7080302@fourthworld.com> <665591460812312226v72de2d67ja6933037a67db015@mail.gmail.com> <495CF51C.5080905@hyperactivesw.com> <22ECA989-D500-401E-BF51-55033D262E1E@sosmartsoftware.com> Message-ID: <21232571-6980-4BA2-AA71-9018AFF670C2@sosmartsoftware.com> Sorry, I am bad sighted since last year... And I did not see your literary quotes: As Mark who has better glasses, pointed it out: here is the problem :-) I remember old HyperCard times when a lot of French coders were used to replace usual quotes by literary ones to gain time... Is it your case too? :-) Le 1 janv. 09 ? 18:55, Eric Chatonet a ?crit : > Happy new year too :-) > > There is not any real bug here but invisible chars you don't see > but they confuse the engine. > If you retrieve charToNums from your prompt, you get: > 79,157,32,101,115,116,32,108,101,32,100,111,115,115,105,101,114,32,210 > , > 32,38,32,113,117,111,116,101,32,38,32,210,82,111,115,68,97,116,97,34,3 > 2,63 > If you rewrite it, you get: > 79,157,32,101,115,116,32,108,101,32,100,111,115,115,105,101,114,32,34, > 82,111,115,68,97,116,97,34,32,63 > And you see that charToNum(34) (quote) was replaced with > 0,32,38,32,113,117,111,116,101,32,38,32,210 in the form you copy > paste in your email. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From jacques.hausser at unil.ch Thu Jan 1 13:09:52 2009 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Thu, 1 Jan 2009 19:09:52 +0100 Subject: that is the question... In-Reply-To: <11098472-50D3-4B22-9880-640AD1580E01@economy-x-talk.com> References: <495C4DE0.7080302@fourthworld.com> <665591460812312226v72de2d67ja6933037a67db015@mail.gmail.com> <495CF51C.5080905@hyperactivesw.com> <11098472-50D3-4B22-9880-640AD1580E01@economy-x-talk.com> Message-ID: <86D74576-2F57-4381-9438-85C9D380408E@unil.ch> Many thanks to Ren?, Eric and Mark ! Good teaching ! My first big decision in 09: I changed the font of the script editor (which was the default one...). Jacques ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From david.bovill at gmail.com Thu Jan 1 14:13:07 2009 From: david.bovill at gmail.com (David Bovill) Date: Thu, 1 Jan 2009 19:13:07 +0000 Subject: Tree Arrays: putting XML in nested arrays In-Reply-To: <4605A4AC-1CDC-44CF-AED0-D8463F04081E@mangomultimedia.com> References: <69D68D7C-F8A6-40C7-8737-20A3E467507E@mangomultimedia.com> <53057637-2B28-4239-920B-F68F98267D85@mangomultimedia.com> <4605A4AC-1CDC-44CF-AED0-D8463F04081E@mangomultimedia.com> Message-ID: 2009/1/1 Trevor DeVore > > With your design you are assuming that you will always be working on the > entire tree. With my design I want each node of the array to be self > contained so that it can be treated as a part separate from the whole. I can > extract a node like this: > > put theTreeA[root]["node_1"] into theNodeA > > and I have all of the data relevant to that node. Ah - OK. But this would only be one extra line and practically as fast: put theTreeA[root]["node_1"] into theNodeA > put theTreeA[@attributes][root]["node_1"] into theNodeA > > For how I work this is the logical approach given that I am not > experiencing any speed issues. Have you benchmarked filter to see how badly > it affects performance in your use cases? No - but the processing is recursive to rebuild trees from the data structure for expanding and collapsing lines, or indeed just about any processing of the tree structure. If the tree structure is large with hundreds of nodes this becomes important. A filter command be called on each recursion for every node of the tree processed. From andre at andregarzia.com Thu Jan 1 14:27:36 2009 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 1 Jan 2009 17:27:36 -0200 Subject: [OT] Happy New Year In-Reply-To: <495CF51C.5080905@hyperactivesw.com> References: <495C4DE0.7080302@fourthworld.com> <665591460812312226v72de2d67ja6933037a67db015@mail.gmail.com> <495CF51C.5080905@hyperactivesw.com> Message-ID: <7c87a2a10901011127r1930f3cbidaefe2105f72e370@mail.gmail.com> me too! me too!!!! send "happy new year" to everyone in -1 day! :D Fireworks in Rio are nice, better yet with a lot of sparkling wine. Cheers, thanks all for everything. This list and the people I've met here are important parts of my life and I am happier by knowing you all! On Thu, Jan 1, 2009 at 2:53 PM, J. Landman Gay wrote: > I wish the best 2009 to everyone -- I love you all. > > Jacque > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From gbrackett at luceatlux.com Thu Jan 1 15:52:34 2009 From: gbrackett at luceatlux.com (George C Brackett) Date: Thu, 01 Jan 2009 15:52:34 -0500 Subject: OT: Happy New Year! Message-ID: <1CD4A701-D708-4491-852F-596E0AA73051@luceatlux.com> Me, too: Happy New Year from Boston! May the year bring peace, happiness and health to everyone! George From lists at mangomultimedia.com Thu Jan 1 16:09:43 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 1 Jan 2009 16:09:43 -0500 Subject: Tree Arrays: putting XML in nested arrays In-Reply-To: References: <69D68D7C-F8A6-40C7-8737-20A3E467507E@mangomultimedia.com> <53057637-2B28-4239-920B-F68F98267D85@mangomultimedia.com> <4605A4AC-1CDC-44CF-AED0-D8463F04081E@mangomultimedia.com> Message-ID: <1AB7C7E5-5F25-406E-90A9-D39DB042604F@mangomultimedia.com> On Jan 1, 2009, at 2:13 PM, David Bovill wrote: > Ah - OK. But this would only be one extra line and practically as > fast: > > put theTreeA[root]["node_1"] into theNodeA > >> put theTreeA[@attributes][root]["node_1"] into theNodeA But that wouldn't give you the same result. You would just have the attributes in theNodeA but not the rest of the node contents. Using your structure you have to combine your attributes node with the main node to get all data into a single array. This means you can't pass the node directly to a function call without first combining node and it's attributes into a temp array and then passing it in. It seems like you are working with much larger data sets and you want to manipulate without knowing the structure ahead of time. I have no such need hence the reason I have little concern for a structure optimized for speed. I just want ease of use for my needs. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From revdev at pdslabs.net Thu Jan 1 16:33:28 2009 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 01 Jan 2009 13:33:28 -0800 Subject: OT: Happy New Year! In-Reply-To: <1CD4A701-D708-4491-852F-596E0AA73051@luceatlux.com> References: <1CD4A701-D708-4491-852F-596E0AA73051@luceatlux.com> Message-ID: <495D36A8.308@pdslabs.net> Me too, to everyone. It's another new beginning! I love those. Phil George C Brackett wrote: > Me, too: Happy New Year from Boston! May the year bring peace, > happiness and health to everyone! > > George -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From katheryn.swynford at gmail.com Thu Jan 1 17:13:56 2009 From: katheryn.swynford at gmail.com (Judy Perry) Date: Thu, 1 Jan 2009 14:13:56 -0800 Subject: [OT] Happy New Year In-Reply-To: <7c87a2a10901011127r1930f3cbidaefe2105f72e370@mail.gmail.com> References: <495C4DE0.7080302@fourthworld.com> <665591460812312226v72de2d67ja6933037a67db015@mail.gmail.com> <495CF51C.5080905@hyperactivesw.com> <7c87a2a10901011127r1930f3cbidaefe2105f72e370@mail.gmail.com> Message-ID: <4be051070901011413q339a745alc3edcbb0c1f0211e@mail.gmail.com> Did we all remember to take into account this year's leap second? http://hpiers.obspm.fr/iers/bul/bulc/bulletinc.dat Happy New Year! Judy http://revined.blogspot.com On Thu, Jan 1, 2009 at 11:27 AM, Andre Garzia wrote: > me too! me too!!!! > > send "happy new year" to everyone in -1 day! > > :D > > Fireworks in Rio are nice, better yet with a lot of sparkling wine. > > Cheers, thanks all for everything. This list and the people I've met > here are important parts of my life and I am happier by knowing you > all! > > On Thu, Jan 1, 2009 at 2:53 PM, J. Landman Gay > wrote: > > I wish the best 2009 to everyone -- I love you all. > > > > Jacque > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From david.bovill at gmail.com Thu Jan 1 18:22:30 2009 From: david.bovill at gmail.com (David Bovill) Date: Thu, 1 Jan 2009 23:22:30 +0000 Subject: Tree Arrays: putting XML in nested arrays In-Reply-To: <1AB7C7E5-5F25-406E-90A9-D39DB042604F@mangomultimedia.com> References: <69D68D7C-F8A6-40C7-8737-20A3E467507E@mangomultimedia.com> <53057637-2B28-4239-920B-F68F98267D85@mangomultimedia.com> <4605A4AC-1CDC-44CF-AED0-D8463F04081E@mangomultimedia.com> <1AB7C7E5-5F25-406E-90A9-D39DB042604F@mangomultimedia.com> Message-ID: Good point - wasn't thinking - having problems with the latest beta and script editing, but I'll try and see if there are any speed issues differences, and if not stick with your structures. Thanks. 2009/1/1 Trevor DeVore > On Jan 1, 2009, at 2:13 PM, David Bovill wrote: > > Ah - OK. But this would only be one extra line and practically as fast: >> >> put theTreeA[root]["node_1"] into theNodeA >> >> put theTreeA[@attributes][root]["node_1"] into theNodeA >>> >> > But that wouldn't give you the same result. You would just have the > attributes in theNodeA but not the rest of the node contents. Using your > structure you have to combine your attributes node with the main node to get > all data into a single array. This means you can't pass the node directly to > a function call without first combining node and it's attributes into a temp > array and then passing it in. > > It seems like you are working with much larger data sets and you want to > manipulate without knowing the structure ahead of time. I have no such need > hence the reason I have little concern for a structure optimized for speed. > I just want ease of use for my needs. > > > Regards, > > -- > Trevor DeVore > Blue Mango Learning Systems > www.bluemangolearning.com - www.screensteps.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mkoob at rogers.com Thu Jan 1 20:20:56 2009 From: mkoob at rogers.com (Martin Koob) Date: Fri, 2 Jan 2009 01:20:56 +0000 (UTC) Subject: Menu bars on main stack and different menus on substacks References: <4959350D.9000709@fourthworld.com> Message-ID: Richard Gaskin writes: > Being the lazy person I am, I wonder what the downside would be to just > leave the two sub-menu items in place across all the cards. But I also > recognize that I have no idea what the app does, so that may not be a > suitable option. :) > > If not, one approach I've used for menu updating is to store a list of > items in a custom prop, and on mouseDown in the menu group I populate > the menu buttons, adding, deleting, or modifying items as needed. With > Rev 2.7 forward the mousedown message is sent to a menu group even when > using a keyboard menu shortcut, and even with the mouse it completes > processing before the menu is displayed, so one mouseDown handler lets > me handle all menu updates gracefully. > > This might seem that it would be slow, but the engine is amazingly fast > with this sort of thing; I doubt you'd ever notice any impairment in > responsiveness. > Part of my rationale for changing the menus on the new card is also laziness on my part. I don't want to change the documentation for the existing card. It is also partly that I am trying to keep the menus as simple as possible for users by removing items that won't ever apply (and therefore be enabled) in that card. Thanks for your suggestion. I have tried successfully to change the items of the menu as you suggested using the following line of code. set the text of button "File" to the menuset2 of button "File" However, I was wondering how I could add or remove a full menu not just change the items ie. MainMenuBar File Edit Help SecondMenuBar File Edit Project Help This would be another use of changing the MenuBar with 'set the Menubar of stack' in order to create contextual menus as William Humphrey mentioned. The problems with the stack height changing and the menu button appearing would have to be managed. Is there another way to do this? Martin From 00bioarchimed at free.fr Fri Jan 2 06:21:53 2009 From: 00bioarchimed at free.fr (Thierry) Date: Fri, 2 Jan 2009 12:21:53 +0100 Subject: access new arrays within external Message-ID: Happy new year to all of you. Does someone know where I can find the API documentation to access the new arrays ( Rev 3.0 ) from within externals ? Thanks for any pointer or link. Regards, Thierry From jbv.silences at club-internet.fr Fri Jan 2 07:49:33 2009 From: jbv.silences at club-internet.fr (jbv) Date: Fri, 02 Jan 2009 13:49:33 +0100 Subject: Rev cgi & mySQL (again) Message-ID: <495E0D56.8662B25B@club-internet.fr> Hi there I have a mySQL table with about 40000 entries. I also have a Rev cgi 2.5 script that sends (very) complex SELECT requests; in which the "WHERE" part can feature as much as 50 nested booleans winth "and", "or", "binary" etc For quite some time I realized that requests to mySQL slow down my scripts in a terrible way, both because of the complexity of the requests, and also because of (imho) a buffer size problem when the amount of data returned is huge... I've tried several tricks to improve the speed of my scripts (like "one big request" vs "several small requests in a loop"), but with no luck... finally, I tried the following : I dumped the content of myTable as a text file, opened it in the Rev script, and did the selection of records inside a "repeat for each line" loop. And to my surprise, the speed of the script improved to almost 40% (which is a lot for a script that used to take 5 to 6 sec, and now takes 3.5 to 4 sec)... Well, I don't know what conclusion to draw from this... Besides the obvious superiority of Transcript... I guess some wise and experienced guys will tell me that for sophisticated DB processing I should have switched to a better product (like Valentina) long time ago... But nevertheless I'm curious to know if anyone already faced the need to (almost) completely drop SQL in favor of Transcript for DB data search... Best, JB From david at architex.tv Fri Jan 2 07:59:36 2009 From: david at architex.tv (David Bovill) Date: Fri, 2 Jan 2009 12:59:36 +0000 Subject: Where to download beta versions? Message-ID: Anyone point me to somewhere to download the latest beta versions manually? I've downloaded 3.5.0-dp-2, but I need to go back to 3.5.0-dp-2. The manage versions Rev interface does not let me do that as I wen from 3.0.0-gm-3 directy to the latest beta. From m.schonewille at economy-x-talk.com Fri Jan 2 08:15:30 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 2 Jan 2009 14:15:30 +0100 Subject: Where to download beta versions? In-Reply-To: References: Message-ID: <5535C3FC-6A27-4E41-A257-68B55669A599@economy-x-talk.com> Hi David, You can download beta versions if you have an Enterprise license. Perhaps you should ask on the other list, if you have access to it. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 2 jan 2009, at 13:59, David Bovill wrote: > Anyone point me to somewhere to download the latest beta versions > manually? > > I've downloaded 3.5.0-dp-2, but I need to go back to 3.5.0-dp-2. The > manage > versions Rev interface does not let me do that as I wen from 3.0.0- > gm-3 > directy to the latest beta. From shoreagent at gmail.com Fri Jan 2 08:30:13 2009 From: shoreagent at gmail.com (william humphrey) Date: Fri, 2 Jan 2009 09:30:13 -0400 Subject: Where to download beta versions? In-Reply-To: <5535C3FC-6A27-4E41-A257-68B55669A599@economy-x-talk.com> References: <5535C3FC-6A27-4E41-A257-68B55669A599@economy-x-talk.com> Message-ID: <459b22a90901020530j4fadaaf5j689ea8aed392ee2e@mail.gmail.com> Hi Even with an Enterprise license it does not mean that you're on the Enterprise mailing list. I've tried and never got on it... On Fri, Jan 2, 2009 at 9:15 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi David, > > You can download beta versions if you have an Enterprise license. Perhaps > you should ask on the other list, if you have access to it. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > Dutch forum: http://runrev.info/rrforum > > We are always looking for new projects! Feel free to contact us to discuss > your custom software project! > > > On 2 jan 2009, at 13:59, David Bovill wrote: > > Anyone point me to somewhere to download the latest beta versions >> manually? >> >> I've downloaded 3.5.0-dp-2, but I need to go back to 3.5.0-dp-2. The >> manage >> versions Rev interface does not let me do that as I wen from 3.0.0-gm-3 >> directy to the latest beta. >> > -- http://www.bluewatermaritime.com From david.bovill at gmail.com Fri Jan 2 08:34:36 2009 From: david.bovill at gmail.com (David Bovill) Date: Fri, 2 Jan 2009 13:34:36 +0000 Subject: Where to download beta versions? In-Reply-To: <459b22a90901020530j4fadaaf5j689ea8aed392ee2e@mail.gmail.com> References: <5535C3FC-6A27-4E41-A257-68B55669A599@economy-x-talk.com> <459b22a90901020530j4fadaaf5j689ea8aed392ee2e@mail.gmail.com> Message-ID: Me neither! I've got an Enterprise License - Heather what's the low down on getting beta's subscribing to the Star Ship List? 2009/1/2 william humphrey > Hi > Even with an Enterprise license it does not mean that you're on the > Enterprise mailing list. I've tried and never got on it... > > On Fri, Jan 2, 2009 at 9:15 AM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > > > Hi David, > > > > You can download beta versions if you have an Enterprise license. Perhaps > > you should ask on the other list, if you have access to it. > > > > -- > > Best regards, > > > > Mark Schonewille > > > > Economy-x-Talk Consulting and Software Engineering > > http://economy-x-talk.com > > http://www.salery.biz > > Dutch forum: http://runrev.info/rrforum > > > > We are always looking for new projects! Feel free to contact us to > discuss > > your custom software project! > > > > > > On 2 jan 2009, at 13:59, David Bovill wrote: > > > > Anyone point me to somewhere to download the latest beta versions > >> manually? > >> > >> I've downloaded 3.5.0-dp-2, but I need to go back to 3.5.0-dp-2. The > >> manage > >> versions Rev interface does not let me do that as I wen from 3.0.0-gm-3 > >> directy to the latest beta. > >> > > > > > -- > http://www.bluewatermaritime.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From david at vaudevillecourt.tv Fri Jan 2 08:40:34 2009 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 2 Jan 2009 13:40:34 +0000 Subject: set the text of line 4 of field id 123? Message-ID: These work as expected: put newLine into line lineNum of field id fieldID > set the htmltext of line lineNum of field id fieldID to newLine > So why on earth does this not work? set the text of line lineNum of field id fieldID to newLine > I've always found the properties (text and htmltext) of text fields somewhat inconsistent, and can never remember the ins and outs - so I 'think" this has always been the case and is not a new bug in the beta. Can anyone make sense of this for me? From wjm at wjm.org Fri Jan 2 09:06:55 2009 From: wjm at wjm.org (Bill Marriott) Date: Fri, 2 Jan 2009 09:06:55 -0500 Subject: Rev cgi & mySQL (again) References: <495E0D56.8662B25B@club-internet.fr> Message-ID: > I'm curious to know if anyone already faced the need to (almost) > completely drop SQL in favor of Transcript for DB data search... Without seeing the SELECT command and knowing how the database is set up, it's hard to know whether dropping MySQL is prudent or not. It's not too difficult for technology A to outshine technology B when one knows A much more intimately than B. For example, someone who is an expert in SQL might be able to form a highly-optimized query that would blow the doors off a novice-authored Rev handler. You knew to use "repeat for each" to take advantage of that structure's performance advantage over "repeat with i = 1 to n." And how many times have we seen this list accelerate a routine by orders of magnitude? I suspect there is a way to organize the database such that queries perform quite a bit faster. I know that on a project of mine that had a 3.5 GB data set with 4.6 million rows, using SQLite was markedly higher performance than Rev. (And I don't consider myself an expert on either!) Perhaps the problem lies in the large amount of data you're extracting with your query? The complexity of the SELECT generally is not the bottleneck. But, the result essentially has to be transferred from the DB engine to Rev, whereas when you process within Rev, no handoff is required. Try to further refine your query with the LIMIT start,howmany clause so the minimal amount of data required for display is requested, and see how that works. - Bill From wjm at wjm.org Fri Jan 2 09:17:14 2009 From: wjm at wjm.org (Bill Marriott) Date: Fri, 2 Jan 2009 09:17:14 -0500 Subject: set the text of line 4 of field id 123? References: Message-ID: David, Because "the text of" is a property of a field (button, image), not a line/chunk thereof. The HTMLText syntax specifically allows for chunks; Text does not. From the docs: set the HTMLText of [chunk of] field to htmlString set the text of {button | field | image} to string It would appear you have a nice enhancement request for "the text of" property, but it's probably that way because HTMLText will always be text data, whereas the text of something could be binary. David Bovill wrote, > These work as expected: > > put newLine into line lineNum of field id fieldID > set the htmltext of line lineNum of field id fieldID to newLine > > So why on earth does this not work? > > set the text of line lineNum of field id fieldID to newLine > > I've always found the properties (text and htmltext) of text fields > somewhat > inconsistent, and can never remember the ins and outs - so I 'think" this > has always been the case and is not a new bug in the beta. Can anyone make > sense of this for me? From sunshine at public.kherson.ua Fri Jan 2 09:18:30 2009 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri, 02 Jan 2009 16:18:30 +0200 Subject: Rev cgi & mySQL (again) In-Reply-To: <495E0D56.8662B25B@club-internet.fr> Message-ID: On 1/2/09 2:49 PM, "jbv" wrote: > Hi there > > I have a mySQL table with about 40000 entries. I also have a Rev cgi 2.5 > > script that sends (very) complex SELECT requests; in which the "WHERE" part > can feature as much as 50 nested booleans winth "and", "or", "binary" etc > > For quite some time I realized that requests to mySQL slow down my scripts in > a terrible way, both because of the complexity of the requests, and also > because of (imho) a buffer size problem when the amount of data returned is > huge... > > I've tried several tricks to improve the speed of my scripts (like "one big > request" vs "several small requests in a loop"), but with no luck... > > finally, I tried the following : I dumped the content of myTable as a text > file, opened it in the Rev script, and did the selection of records inside a > "repeat for each line" loop. And to my surprise, the speed of the script > improved to almost 40% (which is a lot for a script that used to take 5 to 6 > sec, and now takes 3.5 to 4 sec)... > > Well, I don't know what conclusion to draw from this... Besides the obvious > superiority of Transcript... I doubt about this conclusion. :) * mySQL server is on localhost? even if yes -- it still have overhead of packing data to sockets. if no -- then this is absolutely not comparable tasks. > I guess some wise and experienced guys will tell > me that for sophisticated DB processing I should have switched to a better > product (like Valentina) long time ago... > > But nevertheless I'm curious to know if anyone already faced the need to > (almost) completely drop SQL in favor of Transcript for DB data search... I wonder how this can be considered at all? If you need only load this 40K records and use them in READ only way, then may be yes. But if your app also update data, and if app now or in the future may require multi-user way then DBMS must be used. 50 nested bools query really looks complex... Should be checked ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From david.bovill at gmail.com Fri Jan 2 09:56:04 2009 From: david.bovill at gmail.com (David Bovill) Date: Fri, 2 Jan 2009 14:56:04 +0000 Subject: set the text of line 4 of field id 123? In-Reply-To: References: Message-ID: OK - filed as an enhancement request. Vote for it here- if you feel the same! I guess I could use set the htmltext of line 1 of field even if using plain text - but I think it is just plain counter intuitive as it is - good to see the docs are explicit though :) 2009/1/2 Bill Marriott > David, > > Because "the text of" is a property of a field (button, image), not a > line/chunk thereof. The HTMLText syntax specifically allows for chunks; > Text > does not. From the docs: > > set the HTMLText of [chunk of] field to htmlString > set the text of {button | field | image} to string > > It would appear you have a nice enhancement request for "the text of" > property, but it's probably that way because HTMLText will always be text > data, whereas the text of something could be binary. Bill - you don't know where to download beta's do you? I'd like to install dp1 due to the value() bug in dp2 - and while I'm at it maybe check what happened to my enterprise mailing list subscription? From jbv.silences at club-internet.fr Fri Jan 2 10:13:58 2009 From: jbv.silences at club-internet.fr (jbv) Date: Fri, 02 Jan 2009 16:13:58 +0100 Subject: Rev cgi & mySQL (again) References: Message-ID: <495E2F2A.4968745A@club-internet.fr> Bill, Ruslan, Thanks for your answers. To answer some of your questions, I only need to read data from mySQL, and the nested booleans are of the ( ... OR ... OR ...) AND ( ... OR ...) type. I don't if anyone's interested, but here are examples of my code : -- example 1 : using mySQL put quote into q put "" into b repeat for each item i in myList1 -- myList1 may contain up to 50 items put " OR Col1 = " &q& i &q& " OR Col2 = " &q& i &q after b end repeat put "(" into word 1 of b put " ) " after b if item x of myList2 is not "0" then put "" into a get item x of myList2 repeat for each char k in it -- may contain up to 10 chars if a = "" then put " Col3 LIKE " &q& k & "%" &q& " OR Col3 LIKE " &q& "%/" & k & "%" &q into a else put " OR Col3 LIKE " &q& k & "%" &q& " OR Col3 LIKE " &q& "%/" & k & "%" &q after a end if end repeat if a is not "" then put " AND ( " & a & " ) " after b end if end if put "SELECT Col10, Col11, Col12, Col13, Col14, Col15 FROM myTable WHERE " & b &" AND Col20 != " &q&q into myREQUEST put revDataFromQuery(,,theID,myREQUEST,) into myVar -- example 2 : using Rev -- reads table dump open file path read from file path until EOF close file path put it into myV0 -- table dump already includes the Col20 != "" condition from the above SQL request put quote into q put "" into myV if myList1 is not 0 then put "" into c repeat for each char k in myList2 if c = "" then put " char 1 of d = " &q& k &q& " or d contains " &q& "/" & k &q into c else put " or char 1 of d = " &q& k &q& " or d contains " &q& "/" & k &q after c end if end repeat repeat for each line j in myV0 get item 1 of j put item 3 of j into a put item 4 of j into d repeat for each item i in myList1 if (it = i or a = i) and (the value of c) then put j &cr after myV exit repeat end if end repeat end repeat else repeat for each line j in myV0 get item 1 of j put item 3 of j into a repeat for each item i in myList1 if it = i or a = i then put j &cr after myV exit repeat end if end repeat end repeat end if From bvg at mac.com Fri Jan 2 10:06:52 2009 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 02 Jan 2009 16:06:52 +0100 Subject: Where to download beta versions? In-Reply-To: <459b22a90901020530j4fadaaf5j689ea8aed392ee2e@mail.gmail.com> References: <5535C3FC-6A27-4E41-A257-68B55669A599@economy-x-talk.com> <459b22a90901020530j4fadaaf5j689ea8aed392ee2e@mail.gmail.com> Message-ID: <2535A303-5609-4385-8FD8-C70EBA46EA95@mac.com> It should mean it. If you're not, then mail support. The problem is (i think) that all changes to that list must be made manually, so if your request is not acted upon, pester them in increasing frequency, until they finally do it. But remember to let them also have fun Bj?rnke On 2 Jan 2009, at 14:30, william humphrey wrote: > Hi > Even with an Enterprise license it does not mean that you're on the > Enterprise mailing list. I've tried and never got on it... From williamdesmet at gmail.com Fri Jan 2 10:43:49 2009 From: williamdesmet at gmail.com (William de Smet) Date: Fri, 2 Jan 2009 16:43:49 +0100 Subject: Clone image trouble? Message-ID: Hi there all, For my son I am starting to create an app in which he use 'stamps' to create his own drawing. So far I have some small icons (graphics) and a dummy graphic. I started with the following code: ----- on mouseup set text of img "dummy" to the text of the me clone img "dummy" end mouseup ----- The dummy graphic can be moved around with 'grab me'. I am trying to delete the cloned image with: --- delete image "dummy" (I put this in the dummy image as well) --- but then the original dummy graphic is deleted and not the cloned one probably because the cloned one is the active image? What am I missing? I want the dummy image to stay as dummy/template image. Greetings, William From eric.chatonet at sosmartsoftware.com Fri Jan 2 10:55:17 2009 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 2 Jan 2009 16:55:17 +0100 Subject: Clone image trouble? In-Reply-To: References: Message-ID: <0F49ACE9-B3B8-49F9-8B0E-B2613A31E973@sosmartsoftware.com> Bonjour William, When you delete the "Dummy" image you delete your template because the engine looks for the first image with this name (in layering order). So you have two solutions: 1. You rename the image when cloned: clone img "dummy" set the name of it to "Copy of dummy" And: delete image "Copy of dummy" 2. If it suits your needs and appears consistent, just use: delete LAST image Le 2 janv. 09 ? 16:43, William de Smet a ?crit : > Hi there all, > For my son I am starting to create an app in which he use 'stamps' > to create > his own drawing. > So far I have some small icons (graphics) and a dummy graphic. > I started with the following code: > > ----- > > on mouseup > > set text of img "dummy" to the text of the me > > clone img "dummy" > > end mouseup > > ----- > > The dummy graphic can be moved around with 'grab me'. > > I am trying to delete the cloned image with: > > --- > > delete image "dummy" (I put this in the dummy image as well) > > --- > > but then the original dummy graphic is deleted and not the cloned one > probably because the cloned one is the active image? > > What am I missing? > > I want the dummy image to stay as dummy/template image. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From sims at ezpzapps.com Fri Jan 2 10:56:39 2009 From: sims at ezpzapps.com (Jim Sims) Date: Fri, 2 Jan 2009 16:56:39 +0100 Subject: Clone image trouble? In-Reply-To: References: Message-ID: <9A40CC07-15BA-49D7-9225-A31D31EFDC66@ezpzapps.com> On Jan 2, 2009, at 4:43 PM, William de Smet wrote: > Hi there all, > For my son I am starting to create an app in which he use 'stamps' > to create > his own drawing. > So far I have some small icons (graphics) and a dummy graphic. > I started with the following code: > delete image "dummy" (I put this in the dummy image as well) > > --- > > but then the original dummy graphic is deleted and not the cloned one > probably because the cloned one is the active image? > > What am I missing? > > I want the dummy image to stay as dummy/template image. From the docs: If the object is a control, its copy is placed on the current card, 32 pixels below and to the right of the original object. The copy's name and other properties are the same as those of the original. Maybe use: on newImage -- assign name for new image here end newImage That help? sims sims at ezpzapps.com Skype: sims.jim iChat: techietours ______________________ Opportunity by Design From wjm at wjm.org Fri Jan 2 11:32:18 2009 From: wjm at wjm.org (Bill Marriott) Date: Fri, 2 Jan 2009 11:32:18 -0500 Subject: set the text of line 4 of field id 123? References: Message-ID: Rev doesn't have the betas available as a download ... that was available only during the "open beta" for 2.9. Now they're back to getting them from within the Enterprise software. But Heather might be able to help obtain it for you (or a new dp3 might do the trick). Heather's also the only person who can fix the Enterprise mailing list problem. Wish I could help. > Bill - you don't know where to download beta's do you? I'd like to install > dp1 due to the value() bug in dp2 - and while I'm at it maybe check what > happened to my enterprise mailing list subscription? From david.bovill at gmail.com Fri Jan 2 11:52:48 2009 From: david.bovill at gmail.com (David Bovill) Date: Fri, 2 Jan 2009 16:52:48 +0000 Subject: set the text of line 4 of field id 123? In-Reply-To: References: Message-ID: OK - thanks for the reply! 2009/1/2 Bill Marriott > Rev doesn't have the betas available as a download ... that was available > only during the "open beta" for 2.9. Now they're back to getting them from > within the Enterprise software. But Heather might be able to help obtain it > for you (or a new dp3 might do the trick). Heather's also the only person > who can fix the Enterprise mailing list problem. Wish I could help. > > > Bill - you don't know where to download beta's do you? I'd like to > install > > dp1 due to the value() bug in dp2 - and while I'm at it maybe check what > > happened to my enterprise mailing list subscription? > From palcibiades-first at yahoo.co.uk Fri Jan 2 11:55:34 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 2 Jan 2009 16:55:34 +0000 Subject: conditional formatting, how to do it Message-ID: <200901021655.34200.palcibiades-first@yahoo.co.uk> Must be doing something obvious wrong. As usual! I want to go through a field and format lines depending on what they start with. So to begin with I try the following, which works just fine, to make sure the lines are being found and picked up: set the itemDelimiter to " " repeat for each line theLine in field "test" of stack "Calendar" if item 1 of theLine is "Sunday" then put theLine end if end repeat Now I change this so as to do the formatting as follows: set the itemDelimiter to " " repeat for each line theLine in field "test" of stack "Calendar" if item 1 of theLine is "Sunday" then set the textStyle of theLine to "bold" end if end repeat and get the error Message execution error: Error description: Chunk: error in object expression So how to do this? That is, make every line that starts with Sunday bold? And why is it not working? Peter From sundown at pacifier.com Fri Jan 2 11:58:43 2009 From: sundown at pacifier.com (-= JB =-) Date: Fri, 2 Jan 2009 08:58:43 -0800 Subject: Where to download beta versions? In-Reply-To: <2535A303-5609-4385-8FD8-C70EBA46EA95@mac.com> References: <5535C3FC-6A27-4E41-A257-68B55669A599@economy-x-talk.com> <459b22a90901020530j4fadaaf5j689ea8aed392ee2e@mail.gmail.com> <2535A303-5609-4385-8FD8-C70EBA46EA95@mac.com> Message-ID: <1877E310-8C6C-4D34-99EC-EDE15ACA2E69@pacifier.com> Heather responded to the problems I was having and fixed it for me. She is very nice to work with so just ask her again if you need to. -=>JB<=- On Jan 2, 2009, at 7:06 AM, Bj?rnke von Gierke wrote: > It should mean it. If you're not, then mail support. The problem is > (i think) that all changes to that list must be made manually, so > if your request is not acted upon, pester them in increasing > frequency, until they finally do it. > > But remember to let them also have fun > Bj?rnke > > > On 2 Jan 2009, at 14:30, william humphrey wrote: > >> Hi >> Even with an Enterprise license it does not mean that you're on the >> Enterprise mailing list. I've tried and never got on it... > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Fri Jan 2 12:04:23 2009 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 2 Jan 2009 18:04:23 +0100 Subject: conditional formatting, how to do it In-Reply-To: <200901021655.34200.palcibiades-first@yahoo.co.uk> References: <200901021655.34200.palcibiades-first@yahoo.co.uk> Message-ID: <1EA0725E-B988-4534-9895-96DD42B2B1DE@sosmartsoftware.com> Bonsoir Peter, Don't know if it will help, but: Many times, it appears more efficient to set 'char 1 to -1 of line to