Re: linux question THANK YOU
Damien (and Mark), THANK YOU THANK YOU THANK YOU!! This is exactly the kind of clear step by step I needed. The HighPoint card is up and running and the machine is, as I type this, formatting the RAID6. Man, I have wasted untold hours trying to get this to work. HighPoint should hire you as their documentation writer!!! Extremely grateful in Tokyo, Tim Selander On 11/3/10 8:14 AM, Damien Girard wrote: Hi, I have took a look at the highpoint-tech.com website, and the driver that they provide does not seems old, they claim that they support linux kernel up to 2.6.31. But making it working it seems to be an harder things :) By the way, on Debian before everything you will need to install the meta-package build-essential and the package linux-kernel-headers. (apt-get install ...) Then go to the subfolder (of the archive): $ cd rr268x-linux-src-v1.xx/product/rr2680/linux/ $ make And as root # make install And to load the driver (as root): # modprobe rr2680 To launch the driver at boot time, on Debian append the following line to the file /etc/modules: rr2680 I hope that I gave you some clues about solving the problem ^^ Kind Regards, Damien Girard NativeSoft, France. -Message d'origine- De : use-revolution-boun...@lists.runrev.com [mailto:use-revolution-boun...@lists.runrev.com] De la part de Tim Selander Envoyé : mardi 2 novembre 2010 03:38 À : How to use Revolution Objet : OT: linux question A question to the Linux users here I'm trying to set up a 16 drive Debian NAS to hold our production company's footage archive. Bought a HighPoint 2680 SATA card because they claimed Debian compatibility. But their stock drivers are so old, I can't even find the distribution they match. They also have the source code so you can compile a new kernel to support the card. I tried, but being a Linux newbie, failed in all attempts. Can't even get the 'tree' downloaded, whatever that is! If, say, I could pay one of you to compile the kernel/driver for me, is there a way you can do that and then send it to me for an easy install here? No idea if kernel files can just be swapped out... I would make space on my ftp server for you to upload the finished file(s) too. Any chance this would work? Thanks, Tim Selander Tokyo, Japan ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: seconds function giving wrong time
This script works as expected on MacOSX 10.5.8Rev 4.0.0 Build 950 get the internet date convert it to seconds put the seconds - it into test3 put the seconds into test convert test to dateItems put the internet date into test2 convert test2 to dateItems put test return test2 return test3 - 2010,11,3,0,56,12,4 2010,11,3,0,56,12,4 0 --- ... when run 56 minutes after midnight PDT, Nov 3rd Could be parallels + Win 7 + MacOSX and time clock sharing. On Nov 2, 2010, at 10:55 PM, David Beck wrote: I do not remember this ever happening before. Something very strange seems to be going on here. I'm hoping somebody can shed some light on what it is. After typing in these commands in the message box: put the seconds into test convert test to dateItems put the internet date into test2 convert test2 to dateItems put test return test2 I get the following result: 2010,11,2,20,23,46,3 2010,11,2,22,48,44,3 The second result matches the system date correctly (Windows 7 running on Parellels). The first result is 2 hours and 25 minutes behind. Does anybody have any idea what is going on here? Thanks. David Beck Jim Ault Las Vegas ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to reorder lines in a list field (understood!)
Bonjour, Thanks to this how to I have understood why my drag and drop scripts is working on my test stack and not working in my app. It is because, in my app; the field is part of a group (not in my test stack)!! It is a bug (# 6823) exhibited by Éric Chatonet in 2008/07 with version 2.9.0 RC4: In a grouped field, dragLeave is sent even if the mouse is within the field rect. while If the field is not grouped it works as expected. This bug is still there is 4.5.0 In my app.the field where I wanted to be able to reorder lines has to be grouped so that I can't use drag and drop for that -((( Best regards from Grenoble André Le 30 oct. 10 à 15:39, Jacques Hausser a écrit : Bonjour, Eric Chatonet also published a how to that does exactly what you want: http://www.sosmartsoftware.com/?r=telechargerl=enarch=tutorials//List%20reorganizing.rev.zip Good luck Jacques Le 30 oct. 2010 à 15:18, André Bisseret a écrit : Bonjour, I am trying to get a list field where it would be possible to reorder the lines. (is there somewhere any tutorial or any solution on this?) I started from a script from Éric Chatonet that allow moving lines from field1 to field2, modifying it to drag lines in one field only. I succeeded in a test stack: in a list field, all works as expected with a dragImage). My problem is that when I put exactly the same script in a field of an app. I am developing, it does not works any more: The dragged line is deleted when releasing the mouse (except if I drag outside the field and then back in it: then that works I am fighting with that for hours now, and can't find what is wrong. My last surprise is that if I don't create (set) any dragImage, then all works as expected. I am getting crazy The worst thing is that the same script works well in a field on my test stack and not on the field on my other stack (the two fields have exactly the same properties). Any idea on what could be wrong? Thanks a lot in advance Best regards from Grenoble André ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ** 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.haus...@unil.ch *** ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution --- Orange vous informe que cet e-mail a ete controle par l'anti-virus mail. Aucun virus connu a ce jour par nos services n'a ete detecte. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Skipping a mark card
I have a project that uses marked cards to navigate them. Aside from unmarking a card, is there a way to skip a mark card when you are using a script (go to next marked card) to go to marked cards? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Skipping-a-mark-card-tp3025277p3025277.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Which messages are sent to a datagrid on opencard?
On Sun, Oct 31, 2010 at 6:16 AM, Malte Brill revolut...@derbrill.de wrote: I have a rather complex stack that needs quite a few datagrids on a card. Now when said card is opened it is noticeably laggy. I guess this is due to the messages that are sent to the datagrids on (pre)opencard. PreopenControl or something the like? If I remove the dgs, or lock messages before going to the card, everything is speedy. Now I wonder: Can I lock messages before going to said card and avoid the lagging and still being able to populate may data? Malte, zryip is correct in that the Data Grid will be initialized later on if preopenControl is never received. If you want to see exactly what is going on check out the private command _Initialize in the script of btn Data Grid of stack revdatagridlibrary. Given that persistent data is set to false and you don't have any data in the grids then I think the most time intensive operation would be when the table columns are created in the call to _table.CreateColumns. You could experiment with commenting out some of the code in _Initialize to determine where the bottle neck is. If you can locate it then perhaps we can determine how to address the speed issue. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: delete chunk.
Just tossing this out there, but I *love* this behavior. I'm sure there are situations where it's undesirable, but are easily compensated for by just adding another delimiter. Begin able to do the following is very handy and makes the code clean: put foo cr after fld x put bar cr after fld x put the number of lines of fld x Having that return 2 is extremely convenient. Agreed, but sometimes it's not convenient when you want to get the last item of a line; for example, if you have a container that holds columns for First Name (tab) Last Name (tab) Notes, and some lines have a note and some don't, you can't just set the itemDelimiter to tab and run through the container and get the last item or item -1 of the line to check if the person entered a note; if they didn't provide one, then check the last item will give you their Last Name instead. It would be great if there was a global setting that you could toggle it on in these circumstances, something like: put item -1 of Ken,Ray, == returns Ray set the dontIgnoreTrailingDelimiter to true put item -1 of Ken,Ray, == returns :-) Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
LiveCode external/plugin question
Hi there, I wonder if there is a external/plugin for LiveCode that gives Apps on Windows a kiosk style/mode? And I mean true kiosk so ALTF4, CTRLALTDEL and the Windows Keys are disabled. Any advise is welcome. (maybe an idea for a developer and make is a paid external?) greetings, William ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: delete chunk.
Hi Ken, Just tossing this out there, but I *love* this behavior. I'm sure there are situations where it's undesirable, but are easily compensated for by just adding another delimiter. Begin able to do the following is very handy and makes the code clean: put foo cr after fld x put bar cr after fld x put the number of lines of fld x Having that return 2 is extremely convenient. Agreed, but sometimes it's not convenient when you want to get the last item of a line; for example, if you have a container that holds columns for First Name (tab) Last Name (tab) Notes, and some lines have a note and some don't, you can't just set the itemDelimiter to tab and run through the container and get the last item or item -1 of the line to check if the person entered a note; if they didn't provide one, then check the last item will give you their Last Name instead. It would be great if there was a global setting that you could toggle it on in these circumstances, something like: Yes, good idea! put item -1 of Ken,Ray, == returns Ray set the dontIgnoreTrailingDelimiter to true put item -1 of Ken,Ray, == returns But please no dontXYZ props anymore, they are SO counterintuitive! Don't you think that set the useqt to false is mentally a lot less challenging than set the dontuseqt to true??? :-D :-) Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: delete chunk.
On 03/11/2010 04:41, J. Landman Gay wrote: Right. You can't have an empty last item, and if you try, the last delimiter is removed. There's a comment about it in the dictionary under item. You can have an empty last item - see the end of the email. But even without that special case, you can have a trailing delimiter - if you do this in the message box of LC 4.5 put a,b,c into t ; put empty into item -1 of t; put t then you get a,b, i.e. the trailing comma remains. If instead you say delete item -1 of temp then the trailing delimiter disappears. I guess it just *is* that way, and always has been. The problem is that the docs are completely wrong when they say delete /chunk/ of /container / is the same as put empty into /chunk/ of /container/ But it can be tricky to follow the logic. Here's a quiz without trying it :-) what do you get from put a,b,c into t put empty into the last item of t put empty into the last item of t put empty into the last item of t put t answer follows below You get a,, the first put empty ... removes c The second one removes b The third one does nothing - because the last item is empty. -- Alex. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: LiveCode external/plugin question
William, at http://www.northcode.com/blog.php/2007/07/25/Securing-Windows-For-Use-As-A-Kiosk you find information how to solve this by modifying the registry. I used that for XP some time ago. But i do not know, if this works with Windows Vista/7 also. Maybe this helps. Regards, Matthias Am 03.11.2010 um 13:54 schrieb William de Smet: Hi there, I wonder if there is a external/plugin for LiveCode that gives Apps on Windows a kiosk style/mode? And I mean true kiosk so ALTF4, CTRLALTDEL and the Windows Keys are disabled. Any advise is welcome. (maybe an idea for a developer and make is a paid external?) greetings, William ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: LiveCode external/plugin question
Hi William, As an easy alternative to Matthias' solution, you could run your stack as a revlet in Internet Explorer and start IE in kiosk mode http://support.microsoft.com/kb/154780 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 3 nov 2010, at 14:10, Matthias Rebbe wrote: William, at http://www.northcode.com/blog.php/2007/07/25/Securing-Windows-For-Use-As-A-Kiosk you find information how to solve this by modifying the registry. I used that for XP some time ago. But i do not know, if this works with Windows Vista/7 also. Maybe this helps. Regards, Matthias ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: delete chunk.
This seems perfectly intuitive to me. When you delete an item, you are doing something entirely different than just manipulating the contents of an item. In one case you reduce the number of items. In the other you merely insert, or remove, data from them.For example, a,b,,, has five items. Putting empty, or anything, into item 4, say, makes sense, and we have not changed the number of itms at all. I think it all may just be a misperception, having to do with the last item being perceived differently from an interior item. I'll bet this thread would not have started if the process had been: delete item 3 of a,b,,, put empty into item 3 of a,b,,, Craig Newman ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Skipping a mark card
Do you always want to do this, to always go to the following marked card? In other words, to always go to the second marked card during any navigation? If so, why not just lock the screen, go to the next marked card, and then go to the next marked card? It seems like an odd way to get around, though. I am missing something. Craig Newman In a message dated 11/3/10 8:46:17 AM, csz...@mac.com writes: I have a project that uses marked cards to navigate them. Aside from unmarking a card, is there a way to skip a mark card when you are using a script (go to next marked card) to go to marked cards? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: delete chunk.
Actually, I think that's exactly the problem. a,b,,, has 4 items. The trailing , is ignored. a,b,,,e has 5 items. putting a space, or some type of invisible char after the trailing , makes it 5 items. It drives me nuts, if the comma is there it should designate a null item whether its in the middle or at the end. On Wed, Nov 3, 2010 at 7:43 AM, dunb...@aol.com wrote: This seems perfectly intuitive to me. When you delete an item, you are doing something entirely different than just manipulating the contents of an item. In one case you reduce the number of items. In the other you merely insert, or remove, data from them.For example, a,b,,, has five items. Putting empty, or anything, into item 4, say, makes sense, and we have not changed the number of itms at all. I think it all may just be a misperception, having to do with the last item being perceived differently from an interior item. I'll bet this thread would not have started if the process had been: delete item 3 of a,b,,, put empty into item 3 of a,b,,, Craig Newman ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Skipping a mark card
'Skipping the difficult bits' is a well-documented sport, as well as 'Jumping to conclusions' and 'Running a temperature': http://openlibrary.org/books/OL2875493M/Alice_through_the_needle's_eye So 'Skipping a marked card' is an extremely SHARP thing to do; mind you I don't how much money I would plonk down on the table if I knew my opponent was using marked cards . . . :) On 11/3/10 3:48 PM, dunb...@aol.com wrote: Do you always want to do this, to always go to the following marked card? In other words, to always go to the second marked card during any navigation? If so, why not just lock the screen, go to the next marked card, and then go to the next marked card? It seems like an odd way to get around, though. I am missing something. Craig Newman In a message dated 11/3/10 8:46:17 AM, csz...@mac.com writes: I have a project that uses marked cards to navigate them. Aside from unmarking a card, is there a way to skip a mark card when you are using a script (go to next marked card) to go to marked cards? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Skipping a mark card
Richmond, Thanks for your humor! Charles Szasz csz...@mac.com On Nov 3, 2010, at 10:07 AM, Richmond Mathewson-2 [via Runtime Revolution] wrote: 'Skipping the difficult bits' is a well-documented sport, as well as 'Jumping to conclusions' and 'Running a temperature': http://openlibrary.org/books/OL2875493M/Alice_through_the_needle's_eye So 'Skipping a marked card' is an extremely SHARP thing to do; mind you I don't how much money I would plonk down on the table if I knew my opponent was using marked cards . . . :) On 11/3/10 3:48 PM, [hidden email] wrote: Do you always want to do this, to always go to the following marked card? In other words, to always go to the second marked card during any navigation? If so, why not just lock the screen, go to the next marked card, and then go to the next marked card? It seems like an odd way to get around, though. I am missing something. Craig Newman In a message dated 11/3/10 8:46:17 AM, [hidden email] writes: I have a project that uses marked cards to navigate them. Aside from unmarking a card, is there a way to skip a mark card when you are using a script (go to next marked card) to go to marked cards? ___ use-revolution mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution View message @ http://runtime-revolution.278305.n4.nabble.com/Skipping-a-mark-card-tp3025277p3025410.html To unsubscribe from Skipping a mark card, click here. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Skipping-a-mark-card-tp3025277p3025412.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Skipping a mark card
Hi Craig, I have a special marked card that is always marked. This because I also want it to be included when a text file is saved. I only want the special card to be accessible via a button. In addition, I have other marked cards that the user has access to while using my application. I use the marked cards for the user to go from one marked card to others that are marked. I also use marked cards for printing. So, the special marked card is always saved even if it is empty. This special marked card is reserved for the user when a certain type of meeting is needed. When the user clicks on a button to go to this special card, the user can fill it out and print it. Then save it along with the other marked cards. Charles Szasz csz...@mac.com On Nov 3, 2010, at 9:48 AM, dunbarx [via Runtime Revolution] wrote: Do you always want to do this, to always go to the following marked card? In other words, to always go to the second marked card during any navigation? If so, why not just lock the screen, go to the next marked card, and then go to the next marked card? It seems like an odd way to get around, though. I am missing something. Craig Newman In a message dated 11/3/10 8:46:17 AM, [hidden email] writes: I have a project that uses marked cards to navigate them. Aside from unmarking a card, is there a way to skip a mark card when you are using a script (go to next marked card) to go to marked cards? ___ use-revolution mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution View message @ http://runtime-revolution.278305.n4.nabble.com/Skipping-a-mark-card-tp3025277p3025390.html To unsubscribe from Skipping a mark card, click here. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Skipping-a-mark-card-tp3025277p3025401.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: delete chunk.
On 03/11/2010 13:43, dunb...@aol.com wrote: This seems perfectly intuitive to me. When you delete an item, you are doing something entirely different than just manipulating the contents of an item. In one case you reduce the number of items. In the other you merely insert, or remove, data from them. But manipulating the contents of an item does (can) change the number of items. put a,b,c into temp put temp the number of items in temp === a,b,c 3 put empty into the last item of temp put temp the number of items in temp === a,b, 2 -- Alex. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: delete chunk.
On Wed, Nov 3, 2010 at 1:23 AM, Alex Tweedly a...@tweedly.net wrote: Hmmm ... what should I get from put a,b,c into temp delete item -1 of temp I think temp should now have a,b, - i.e. the last item has disappeared, but the (now) trailing item delimiter should still be there. However, I actually get that temp has a,b - the last comma has also disappeared. The docs say that delete chunk of container is equivalent to put empty into chunk of container - but if I replace it so I do put a,b,c into temp put empty into item -1 of temp then I do indeed get a,b,. Feels like a bug, and I should put it into QCC - but it's late at night and I may be just missing something. Am I ? Thanks -- Alex. Alex, I have not followed all the thread but a synonym for: delete item -1 of temp is delete last item of temp See items like kind of containers. With a,b,c you have a group three boxes. By using: delete last item of temp you will removing completly the last box from the group And you will have as result 2 boxes: a,b However by using: put empty into last item of temp you will empty the last box, but the box will still exist: a,b, So not a bug but a natural way to use items in LC ;) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: delete chunk.
I agree it would be great to be able to say set the payAttentionToTrailingDelimiters to true But in the meantime you can use the fact that doubling a trailing delimiter will be ignored. repeat for each line L in tData if the last item of (L the itemDel) is empty then -- deal with an empty one else -- use the last item of L which is not empty end if -- Alex. On 03/11/2010 12:52, Ken Ray wrote: Just tossing this out there, but I *love* this behavior. I'm sure there are situations where it's undesirable, but are easily compensated for by just adding another delimiter. Begin able to do the following is very handy and makes the code clean: put foo cr after fld x put bar cr after fld x put the number of lines of fld x Having that return 2 is extremely convenient. Agreed, but sometimes it's not convenient when you want to get the last item of a line; for example, if you have a container that holds columns for First Name (tab) Last Name (tab) Notes, and some lines have a note and some don't, you can't just set the itemDelimiter to tab and run through the container and get the last item or item -1 of the line to check if the person entered a note; if they didn't provide one, then check the last item will give you their Last Name instead. It would be great if there was a global setting that you could toggle it on in these circumstances, something like: put item -1 of Ken,Ray, == returns Ray set the dontIgnoreTrailingDelimiter to true put item -1 of Ken,Ray, == returns :-) Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: delete chunk.
Hi Alex, I am starting to agree with you that some of this becomes counterintuitive. Not hard to work around, but potentially confusing to a newcomer. I am in the habit of fastidiously making sure that my lists do not have a trailing delimiter, so I have not been plagued by this too much. a,b,,, should say that it contains five items (two characters and three empty items). If it does not, that is confusing. On Wed, Nov 3, 2010 at 10:25 AM, Alex Tweedly a...@tweedly.net wrote: I agree it would be great to be able to say set the payAttentionToTrailingDelimiters to true But in the meantime you can use the fact that doubling a trailing delimiter will be ignored. repeat for each line L in tData if the last item of (L the itemDel) is empty then -- deal with an empty one else -- use the last item of L which is not empty end if -- Alex. On 03/11/2010 12:52, Ken Ray wrote: Just tossing this out there, but I *love* this behavior. I'm sure there are situations where it's undesirable, but are easily compensated for by just adding another delimiter. Begin able to do the following is very handy and makes the code clean: put foo cr after fld x put bar cr after fld x put the number of lines of fld x Having that return 2 is extremely convenient. Agreed, but sometimes it's not convenient when you want to get the last item of a line; for example, if you have a container that holds columns for First Name (tab) Last Name (tab) Notes, and some lines have a note and some don't, you can't just set the itemDelimiter to tab and run through the container and get the last item or item -1 of the line to check if the person entered a note; if they didn't provide one, then check the last item will give you their Last Name instead. It would be great if there was a global setting that you could toggle it on in these circumstances, something like: put item -1 of Ken,Ray, == returns Ray set the dontIgnoreTrailingDelimiter to true put item -1 of Ken,Ray, == returns :-) Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- Do all things with love ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Skipping a mark card
Craig, I found that by checking the Find Command ignores box of the special marked card that I don't want the user to access using the marked command works! But this card has to be the last marked card in the stack to work. When the user is on the next to last marked card and clicks on a navigation button to go to next marked card, the button does nothing. But on other marked cards it works. So this keeps the user from accessing the special marked card using navigation buttons. Charles Szasz csz...@mac.com On Nov 3, 2010, at 9:48 AM, dunbarx [via Runtime Revolution] wrote: Do you always want to do this, to always go to the following marked card? In other words, to always go to the second marked card during any navigation? If so, why not just lock the screen, go to the next marked card, and then go to the next marked card? It seems like an odd way to get around, though. I am missing something. Craig Newman In a message dated 11/3/10 8:46:17 AM, [hidden email] writes: I have a project that uses marked cards to navigate them. Aside from unmarking a card, is there a way to skip a mark card when you are using a script (go to next marked card) to go to marked cards? ___ use-revolution mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution View message @ http://runtime-revolution.278305.n4.nabble.com/Skipping-a-mark-card-tp3025277p3025390.html To unsubscribe from Skipping a mark card, click here. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Skipping-a-mark-card-tp3025277p3025484.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Skipping a mark card
Craig, I forgot to add that I had to use the following script in my navigation button in addition to checking the Find Command ignores box of the special marked card: on mouseUp if dontSearch of next marked card = false then go next marked card end if end mouseUp Charles Szasz csz...@mac.com On Nov 3, 2010, at 9:48 AM, dunbarx [via Runtime Revolution] wrote: Do you always want to do this, to always go to the following marked card? In other words, to always go to the second marked card during any navigation? If so, why not just lock the screen, go to the next marked card, and then go to the next marked card? It seems like an odd way to get around, though. I am missing something. Craig Newman In a message dated 11/3/10 8:46:17 AM, [hidden email] writes: I have a project that uses marked cards to navigate them. Aside from unmarking a card, is there a way to skip a mark card when you are using a script (go to next marked card) to go to marked cards? ___ use-revolution mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution View message @ http://runtime-revolution.278305.n4.nabble.com/Skipping-a-mark-card-tp3025277p3025390.html To unsubscribe from Skipping a mark card, click here. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Skipping-a-mark-card-tp3025277p3025488.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: delete chunk.
Yep, a delimiter should be a delimiter even if it delimits null. On Wed, Nov 3, 2010 at 8:32 AM, Jonathan Lynch jonathandly...@gmail.comwrote: Hi Alex, I am starting to agree with you that some of this becomes counterintuitive. Not hard to work around, but potentially confusing to a newcomer. I am in the habit of fastidiously making sure that my lists do not have a trailing delimiter, so I have not been plagued by this too much. a,b,,, should say that it contains five items (two characters and three empty items). If it does not, that is confusing. On Wed, Nov 3, 2010 at 10:25 AM, Alex Tweedly a...@tweedly.net wrote: I agree it would be great to be able to say set the payAttentionToTrailingDelimiters to true But in the meantime you can use the fact that doubling a trailing delimiter will be ignored. repeat for each line L in tData if the last item of (L the itemDel) is empty then -- deal with an empty one else -- use the last item of L which is not empty end if -- Alex. On 03/11/2010 12:52, Ken Ray wrote: Just tossing this out there, but I *love* this behavior. I'm sure there are situations where it's undesirable, but are easily compensated for by just adding another delimiter. Begin able to do the following is very handy and makes the code clean: put foo cr after fld x put bar cr after fld x put the number of lines of fld x Having that return 2 is extremely convenient. Agreed, but sometimes it's not convenient when you want to get the last item of a line; for example, if you have a container that holds columns for First Name (tab) Last Name (tab) Notes, and some lines have a note and some don't, you can't just set the itemDelimiter to tab and run through the container and get the last item or item -1 of the line to check if the person entered a note; if they didn't provide one, then check the last item will give you their Last Name instead. It would be great if there was a global setting that you could toggle it on in these circumstances, something like: put item -1 of Ken,Ray, == returns Ray set the dontIgnoreTrailingDelimiter to true put item -1 of Ken,Ray, == returns :-) Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- Do all things with love ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: delete chunk.
On 11/3/10 9:00 AM, Mike Bonner wrote: Actually, I think that's exactly the problem. a,b,,, has 4 items. The trailing , is ignored. a,b,,,e has 5 items. putting a space, or some type of invisible char after the trailing , makes it 5 items. It drives me nuts, if the comma is there it should designate a null item whether its in the middle or at the end. Okay, then how many lines should be in: acr bcr ? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: delete chunk.
In my opinion? it SHOULD say 3. 2 lines with stuff, and 1 blank. Of course it says 2, but this is the same reason people delete the last char of.. when doing things. If you fill a field with this cr that cr, and then click at the bottom of the field, your cursor goes to the blank line underneath the 2 lines with text. The line exists, it should be counted. Looking at it the other way, if you put fred into line 1 of field 1, put mike into line 2 of field 1, the cr is added between the 2 automatically, but there is no extra trailing line. There are 2 lines. Having text for line 1 cr empty for line 2 cr text for line 3, at that point, line 2 looks and acts exactly like line 2 would look and behave if there were no line 3. You can click in it, type in it, it acts like a line. And is counted as a line like it should be. If however it is a trailing empty line it is not counted. It's the same exact thing. A cr followed by empty. Simply adding another line after it shouldn't make it magically appear as a line. either it is or it isn't, at least so it seems to me. Having said all this, there is most likely a reason it is the way it is that I don't have enough knowledge to understand. As with removing trailing carriage returns, if it's a null item it isn't difficult to work around and i'm not sure I can come up with a valid reason for actually having an empty item, but that doesn't mean there isn't a use for it. /shrug As a last visual example, I have several spice bottles in my kitchen, some of which are empty. If I re-arrange them so that an empty one is on the end of the row it doesn't cease to exist, and it doesn't pop back in to being because i put it between 2 spice bottles that DO have contents. On Wed, Nov 3, 2010 at 9:20 AM, J. Landman Gay jac...@hyperactivesw.comwrote: On 11/3/10 9:00 AM, Mike Bonner wrote: Actually, I think that's exactly the problem. a,b,,, has 4 items. The trailing , is ignored. a,b,,,e has 5 items. putting a space, or some type of invisible char after the trailing , makes it 5 items. It drives me nuts, if the comma is there it should designate a null item whether its in the middle or at the end. Okay, then how many lines should be in: acr bcr ? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: seconds function giving wrong time
JACQUE? Put that dang time travel stack away!!! Bob On Nov 2, 2010, at 10:55 PM, David Beck wrote: I do not remember this ever happening before. Something very strange seems to be going on here. I'm hoping somebody can shed some light on what it is. After typing in these commands in the message box: put the seconds into test convert test to dateItems put the internet date into test2 convert test2 to dateItems put test return test2 I get the following result: 2010,11,2,20,23,46,3 2010,11,2,22,48,44,3 The second result matches the system date correctly (Windows 7 running on Parellels). The first result is 2 hours and 25 minutes behind. Does anybody have any idea what is going on here? Thanks. David Beck Rotunda Software ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: delete chunk.
Tomato On Nov 3, 2010, at 8:41 AM, Mike Bonner wrote: In my opinion? it SHOULD say 3. 2 lines with stuff, and 1 blank. Of course it says 2, but this is the same reason people delete the last char of.. when doing things. If you fill a field with this cr that cr, and then click at the bottom of the field, your cursor goes to the blank line underneath the 2 lines with text. The line exists, it should be counted. Looking at it the other way, if you put fred into line 1 of field 1, put mike into line 2 of field 1, the cr is added between the 2 automatically, but there is no extra trailing line. There are 2 lines. Having text for line 1 cr empty for line 2 cr text for line 3, at that point, line 2 looks and acts exactly like line 2 would look and behave if there were no line 3. You can click in it, type in it, it acts like a line. And is counted as a line like it should be. If however it is a trailing empty line it is not counted. It's the same exact thing. A cr followed by empty. Simply adding another line after it shouldn't make it magically appear as a line. either it is or it isn't, at least so it seems to me. Having said all this, there is most likely a reason it is the way it is that I don't have enough knowledge to understand. As with removing trailing carriage returns, if it's a null item it isn't difficult to work around and i'm not sure I can come up with a valid reason for actually having an empty item, but that doesn't mean there isn't a use for it. /shrug As a last visual example, I have several spice bottles in my kitchen, some of which are empty. If I re-arrange them so that an empty one is on the end of the row it doesn't cease to exist, and it doesn't pop back in to being because i put it between 2 spice bottles that DO have contents. On Wed, Nov 3, 2010 at 9:20 AM, J. Landman Gay jac...@hyperactivesw.com wrote: On 11/3/10 9:00 AM, Mike Bonner wrote: Actually, I think that's exactly the problem. a,b,,, has 4 items. The trailing , is ignored. a,b,,,e has 5 items. putting a space, or some type of invisible char after the trailing , makes it 5 items. It drives me nuts, if the comma is there it should designate a null item whether its in the middle or at the end. Okay, then how many lines should be in: acr bcr ? -- Jacqueline Landman Gay Jim Ault Las Vegas ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: seconds function giving wrong time
Thanks Jim. On 11/3/10 7:09 AM, use-revolution-requ...@lists.runrev.com wrote: This script works as expected on MacOSX 10.5.8Rev 4.0.0 Build 950 get the internet date convert it to seconds put the seconds - it into test3 put the seconds into test convert test to dateItems put the internet date into test2 convert test2 to dateItems put test return test2 return test3 - 2010,11,3,0,56,12,4 2010,11,3,0,56,12,4 0 --- ... when run 56 minutes after midnight PDT, Nov 3rd Could be parallels + Win 7 + MacOSX and time clock sharing. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: seconds function giving wrong time
On 11/3/10 11:21 AM, Bob Sneidar wrote: JACQUE? Put that dang time travel stack away!!! It's just a misplaced breakpoint, the script has stopped somewhere next week. I'll get it running again in a few days when I catch up with it. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: delete chunk.
On 11/3/10 10:41 AM, Mike Bonner wrote: Having said all this, there is most likely a reason it is the way it is that I don't have enough knowledge to understand. As with removing trailing carriage returns, if it's a null item it isn't difficult to work around and i'm not sure I can come up with a valid reason for actually having an empty item, but that doesn't mean there isn't a use for it. /shrug It may be the difference between seeing the delimiter as a terminating character or as a dividing character. If you consider the comma or return as a terminator, then it is attached to the preceding string. If that entry is empty, there is nothing to terminate and the engine removes it. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Nutty as a fruitcake
Release Candidate 2 of Devawriter Pro (Demo) is now available for download: http://andregarzia.on-rev.com/richmond/dwriterpro.html Be there, or be square . . . :) sincerely, Richmond Mathewson. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: LiveCode external/plugin question
@Matthias and Mark: Thanks for your replies! I was looking for true kiosk mode so Marks advise using IE isn't the right thing for me. I need all keys to be blocked. Editing the registry seems the only way but it needs the computer to reboot. I need my app on startup to block these keys without rebooting the machine. After closing the app the keys need to function again. Is this even possible? Greetings, William 2010/11/3 Mark Schonewille m.schonewi...@economy-x-talk.com: Hi William, As an easy alternative to Matthias' solution, you could run your stack as a revlet in Internet Explorer and start IE in kiosk mode http://support.microsoft.com/kb/154780 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 3 nov 2010, at 14:10, Matthias Rebbe wrote: William, at http://www.northcode.com/blog.php/2007/07/25/Securing-Windows-For-Use-As-A-Kiosk you find information how to solve this by modifying the registry. I used that for XP some time ago. But i do not know, if this works with Windows Vista/7 also. Maybe this helps. Regards, Matthias ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: delete chunk.
It helps if I think of it that way but in the case of empty items in the middle of a line it doesn't behave that way. Still terminates nothing, but is counted as an item. Despite all the conversation, I've never really run into it as a problem except when I was playing with merge one day. Had a string like [[item1]],[[item2]],[[item3]] and would merge it, and was lost when some of my items were empty, and the number of items would return different values based on which item was empty. Real confusing for a newbie when you can do if item 2 is empty then.. but not if the last item is empty when you expect there to be 3 items. The way it works currently, you can never check to see if the last item is empty because it never can be. If it is, it will check the next one to the left instead. I just changed how I do things so it's not a big deal. I got curious one day and did some tests. Building a long list (multi row/column) by looping and using put something into item # line # of tListImMaking was horrendously slow when compared to put whateveritemsyouneedonthisline return after tListImMaking, and then truncating the last return, so that eliminated a percentage of the things I was attempting and shoved me down different roads. On Wed, Nov 3, 2010 at 11:33 AM, J. Landman Gay jac...@hyperactivesw.comwrote: On 11/3/10 10:41 AM, Mike Bonner wrote: Having said all this, there is most likely a reason it is the way it is that I don't have enough knowledge to understand. As with removing trailing carriage returns, if it's a null item it isn't difficult to work around and i'm not sure I can come up with a valid reason for actually having an empty item, but that doesn't mean there isn't a use for it. /shrug It may be the difference between seeing the delimiter as a terminating character or as a dividing character. If you consider the comma or return as a terminator, then it is attached to the preceding string. If that entry is empty, there is nothing to terminate and the engine removes it. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: delete chunk.
So think about this. If we only regard the delimiter as a delimiter between items (rather than a terminator), then how would we have a container with zero items? I mean, if 1 delimiter indicates the presence of two items, then zero delimiters would indicate one item. would an empty container have zero items, or one item that is empty? On Wed, Nov 3, 2010 at 1:33 PM, J. Landman Gay jac...@hyperactivesw.comwrote: On 11/3/10 10:41 AM, Mike Bonner wrote: Having said all this, there is most likely a reason it is the way it is that I don't have enough knowledge to understand. As with removing trailing carriage returns, if it's a null item it isn't difficult to work around and i'm not sure I can come up with a valid reason for actually having an empty item, but that doesn't mean there isn't a use for it. /shrug It may be the difference between seeing the delimiter as a terminating character or as a dividing character. If you consider the comma or return as a terminator, then it is attached to the preceding string. If that entry is empty, there is nothing to terminate and the engine removes it. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- Do all things with love ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: delete chunk.
Hmm. I get your point, and now I think I have a little bit of gray leaking out my left ear. If you look at it as if the delimiter is both an instigator AND a terminator, then if you have a var with , in it, it seems like it should be 2 empty (and pointless) items. I had been thinking that it could be considered an instigator only with an assumed delimiter before the first item, but then as you say, empty isn't empty, empty would be 1 empty item. This also explains why I will never ever write my own intepreter/compiler. Too many things I will never understand well enough. Love trying to get my head around things, failure to do so can be as educational as success if not more so. On Wed, Nov 3, 2010 at 11:56 AM, Jonathan Lynch jonathandly...@gmail.comwrote: So think about this. If we only regard the delimiter as a delimiter between items (rather than a terminator), then how would we have a container with zero items? I mean, if 1 delimiter indicates the presence of two items, then zero delimiters would indicate one item. would an empty container have zero items, or one item that is empty? On Wed, Nov 3, 2010 at 1:33 PM, J. Landman Gay jac...@hyperactivesw.com wrote: On 11/3/10 10:41 AM, Mike Bonner wrote: Having said all this, there is most likely a reason it is the way it is that I don't have enough knowledge to understand. As with removing trailing carriage returns, if it's a null item it isn't difficult to work around and i'm not sure I can come up with a valid reason for actually having an empty item, but that doesn't mean there isn't a use for it. /shrug It may be the difference between seeing the delimiter as a terminating character or as a dividing character. If you consider the comma or return as a terminator, then it is attached to the preceding string. If that entry is empty, there is nothing to terminate and the engine removes it. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- Do all things with love ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: delete chunk.
I agree it would be great to be able to say set the payAttentionToTrailingDelimiters to true But in the meantime you can use the fact that doubling a trailing delimiter will be ignored. repeat for each line L in tData if the last item of (L the itemDel) is empty then -- deal with an empty one else -- use the last item of L which is not empty end if Thanks, Alex... that's something I do when I need to, but it seems like more of a workaround to me, which is why I'd rather have some kind of global setting I could turn on when I needed it. In some ways it's like like the wholematches... I don't believe we had that in HyperCard, so if you were trying to see if a whole something matched, you had to do slap the delimiters in front of and after everything, like: -- imagine field 1 has a CR-delimited list of different kinds of fruit if offset((cr pears cr),(cr tFruit cr)) 0 then... It's so much easier to say: set the wholeMatches to true if lineOffset(pear,tFruit) 0 then... Maybe we should call it the wholeChunks ? set the wholeChunks to true put item -1 of Ken,Ray, == returns ?? :-) Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Path and File Questions for On-Rev
Hi everyone, How can I get a simple listing of files in a subfolder named, say, myFolder in my public_html directory at On-rev? If I run put the files I get the list of files in public_html. Does files() accept a path as a parameter? Haven't being able to get it to work. Likewise, how can I delete files in a subfolder using irev scripts? I think my problem is that I'm not specifying paths on the server correctly. Regards, Gregory ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Path and File Questions for On-Rev
Gregory you have just to change the default folder. ?rev set the folder to sp112 put the files into tList replace CR with br in tList put tList ? Regards, Matthias Am 03.11.2010 um 19:59 schrieb Gregory Lypny: Hi everyone, How can I get a simple listing of files in a subfolder named, say, myFolder in my public_html directory at On-rev? If I run put the files I get the list of files in public_html. Does files() accept a path as a parameter? Haven't being able to get it to work. Likewise, how can I delete files in a subfolder using irev scripts? I think my problem is that I'm not specifying paths on the server correctly. Regards, Gregory ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Path and File Questions for On-Rev
if you set the defaultfolder to the defaultFolder /myFolder and then put the files you should be good to go. delete file takes a path as argument so if you don't want to set the default folder for that you can specify a relative (based on current default folder) or absolute path delete file pathtofolder/filetodelete and the result will contain a fail message if the file was not found. On Wed, Nov 3, 2010 at 12:59 PM, Gregory Lypny gregory.ly...@videotron.cawrote: Hi everyone, How can I get a simple listing of files in a subfolder named, say, myFolder in my public_html directory at On-rev? If I run put the files I get the list of files in public_html. Does files() accept a path as a parameter? Haven't being able to get it to work. Likewise, how can I delete files in a subfolder using irev scripts? I think my problem is that I'm not specifying paths on the server correctly. Regards, Gregory ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
plisted off ?
I just released a new version of the Demo of my upcoming Devawriter Pro and got this back from the people at MacUpdate: You recently submitted an update request in which you referred to the latest version of DevaWriter Pro as simply RC2, but according to the version strings in the info.plist file, it is 4.0.0.950. Is this a release candidate for Version 4.0? Please let me know so that I can clarify this version number discrepancy. Umm . . . 1. Am I missing something? Having set the version number as 'R2' in the standalone builder; why does the info.plist contain the version number of the development IDE? 2. Is there a simple way to circumvent this? Short of cracking open the Mac .app package and editing the info.plist with a text editor? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
dns validation of .fr domain and on-rev
Hi there, I'm trying to install a new companion domain on my on-rev account without success, at least for yet, because this domain, widestep.fr, needs, because the .fr, to pass the AFNIC (french NIC office) dns validator tests and it is n't the case at the moment. Did anyone had more success in installing such an .fr domain on its own on-rev account ? Any help greatly appreciated, Best regards, -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.wrds.com www.sahores-conseil.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Path and File Questions for On-Rev
better than that is to create a listFiles function such as: function listFiles pPath put the defaultfolder into tCurrentDefaultFolder set the defaultfolder to pPath get the files set the defaultfolder to tCurrentDefaultFolder return it end listFiles This way, you don't risk overwriting the default folder. Sometimes you want to list the files somewhere but don't want to change the folder there, this solves your problems andre On Wed, Nov 3, 2010 at 5:12 PM, Mike Bonner bonnm...@gmail.com wrote: if you set the defaultfolder to the defaultFolder /myFolder and then put the files you should be good to go. delete file takes a path as argument so if you don't want to set the default folder for that you can specify a relative (based on current default folder) or absolute path delete file pathtofolder/filetodelete and the result will contain a fail message if the file was not found. On Wed, Nov 3, 2010 at 12:59 PM, Gregory Lypny gregory.ly...@videotron.cawrote: Hi everyone, How can I get a simple listing of files in a subfolder named, say, myFolder in my public_html directory at On-rev? If I run put the files I get the list of files in public_html. Does files() accept a path as a parameter? Haven't being able to get it to work. Likewise, how can I delete files in a subfolder using irev scripts? I think my problem is that I'm not specifying paths on the server correctly. Regards, Gregory ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: plisted off ?
Sarah has a nice plist editor: http://troz.net/rev/index.irev?category=Utility#stacks toward the bottom. Marty Knapp I just released a new version of the Demo of my upcoming Devawriter Pro and got this back from the people at MacUpdate: You recently submitted an update request in which you referred to the latest version of DevaWriter Pro as simply RC2, but according to the version strings in the info.plist file, it is 4.0.0.950. Is this a release candidate for Version 4.0? Please let me know so that I can clarify this version number discrepancy. Umm . . . 1. Am I missing something? Having set the version number as 'R2' in the standalone builder; why does the info.plist contain the version number of the development IDE? 2. Is there a simple way to circumvent this? Short of cracking open the Mac .app package and editing the info.plist with a text editor? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: plisted off ?
On 11/03/2010 09:43 PM, Marty Knapp wrote: Sarah has a nice plist editor: http://troz.net/rev/index.irev?category=Utility#stacks toward the bottom. Marty Knapp Thanks; very helpful indeed . . . :) I just released a new version of the Demo of my upcoming Devawriter Pro and got this back from the people at MacUpdate: You recently submitted an update request in which you referred to the latest version of DevaWriter Pro as simply RC2, but according to the version strings in the info.plist file, it is 4.0.0.950. Is this a release candidate for Version 4.0? Please let me know so that I can clarify this version number discrepancy. Umm . . . 1. Am I missing something? Having set the version number as 'R2' in the standalone builder; why does the info.plist contain the version number of the development IDE? 2. Is there a simple way to circumvent this? Short of cracking open the Mac .app package and editing the info.plist with a text editor? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Skipping a mark card
Charles. I see. So might you simply put an opencard handler into the script of your special card, sending the user to the next marked card unless some property was set? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Skipping a mark card
You might try preOpenCard which is sent before the user see the card being opened. On Nov 3, 2010, at 1:56 PM, dunb...@aol.com wrote: Charles. I see. So might you simply put an opencard handler into the script of your special card, sending the user to the next marked card unless some property was set? __ Jim Ault Las Vegas ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: dns validation of .fr domain and on-rev
there was something similar in the forum about german domains: http://forums.on-rev.com/viewtopic.php?f=4t=56 i think it's best to mail support, they'll fix it. On 3 Nov 2010, at 20:37, Pierre Sahores wrote: Hi there, I'm trying to install a new companion domain on my on-rev account without success, at least for yet, because this domain, widestep.fr, needs, because the .fr, to pass the AFNIC (french NIC office) dns validator tests and it is n't the case at the moment. Did anyone had more success in installing such an .fr domain on its own on-rev account ? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: dns validation of .fr domain and on-rev
Hello Björnke, Many thanks. The topic seems to contains a good workaround. Will test it tomorrow. Best Regards, Le 3 nov. 2010 à 23:39, Björnke von Gierke a écrit : there was something similar in the forum about german domains: http://forums.on-rev.com/viewtopic.php?f=4t=56 i think it's best to mail support, they'll fix it. On 3 Nov 2010, at 20:37, Pierre Sahores wrote: Hi there, I'm trying to install a new companion domain on my on-rev account without success, at least for yet, because this domain, widestep.fr, needs, because the .fr, to pass the AFNIC (french NIC office) dns validator tests and it is n't the case at the moment. Did anyone had more success in installing such an .fr domain on its own on-rev account ? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.wrds.com www.sahores-conseil.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution