Re: Rev 3.0 problems

2008-09-14 Thread Chipp Walters
Peter, You might want to try a nifty tool I've worked on to help make 3.0's script editor work better for me. altXray is a plugin for Rev 3.0. It works best with altPlugin Toolbar. http://www.altuit.com/webs/altuit2/altPluginCover/About.htm It helps Rev in a number of ways: Outside Script

Re: Arrays: new and old keys, i

2008-09-14 Thread Jim Ault
On 9/13/08 10:38 PM, Dick Kriesel [EMAIL PROTECTED] wrote: Maybe the benefit of unsorted keys is faster execution. Why wait for a sort if you don't need it? I believe the logic in the realm of PHP and web pages and databases are often-used functions such as explode(' ',explode(',',

Re: Arrays: new and old keys, i

2008-09-14 Thread Mark Smith
I believe that it's in the nature of hash tables (which is what Rev's arrays are, I think) that they do not preserve the order of keys. If so, then the engine would have to maintain an ordered index separately. This would likely affect performance, so perhaps we wouldn't always want it...

Re: Arrays: new and old keys, i

2008-09-14 Thread Mark Smith
Also, there seems to be a speed advantage with using the multi- dimesional arrays: on mouseUp put the millisecs into ts repeat with i = 1 to 1000 repeat with j = 1 to 1000 put counting into tArray[i,j] end repeat end repeat put the millisecs - ts into inTime

Re: Arrays: new and old keys, i

2008-09-14 Thread Richard Gaskin
David Bovill wrote: 2008/9/14 Richard Gaskin ambassador at fourthworld.com For accessing specific elements from large collections, arrays outperform any lineoffset in lists or any other method I can think of by several orders of magnitude.* Read, It's a good hash mechanism. :) When I need

Re: Arrays: new and old keys, i

2008-09-14 Thread Colin Holgate
On Sep 14, 2008, at 1:25 AM, Ken Ray wrote: What benefit is it to the Rev developer (not the engine) to have the keys NOT sorted? I can't think of a really good everyday example, but here's a made up one: Suppose you're asking people for a list of possessions, and want them to pick off

Re: New to Rev Use-Rev List - Some Questions - RevMentor

2008-09-14 Thread Mark Srebnik
Thanks for the big welcome and all your input, Jacqueline. Appreciate all your help and suggestions! on 9/13/08 10:21 PM, J. Landman Gay at [EMAIL PROTECTED] wrote: Mark Srebnik wrote: Greetings Revolutionistas*, Just discovered the Use-Rev Listwanted to jump in and say Hello to

Mail merge in Run Rev

2008-09-14 Thread James Hurley
This is a new area for me, but I'm sure it is a common task for many of you. I have a mail merge job for a local election. I have generated all the data in RR for the letter, i.e. the label and the greeting for the letter from the election data base. (This greeting is a little complicated

Re: Arrays: new and old keys, i

2008-09-14 Thread Mark Wieder
Mark- Thanks for doing the timing on this. I believe it's not just multidimensional arrays that are faster now, but a part of the new engine changes is that arrays with solely numeric indices are treated differently from associative arrays. They're about as close to the metal as you can get and

Re: Arrays: new and old keys, i

2008-09-14 Thread Mark Wieder
Ken- Saturday, September 13, 2008, 10:25:58 PM, you wrote: What benefit is it to the Rev developer (not the engine) to have the keys NOT sorted? I agree. While I don't think it's a traditional role of arrays to have their keys sorted and hash tables have their own internal key sorting, I

Re: automating Excel

2008-09-14 Thread Mark Wieder
Ken- Saturday, September 13, 2008, 9:20:51 PM, you wrote: Thank you. I may have to have this framed. What your code has done is to create a data link between Excel and the text file so that whenever the text file is changed, you can switch to that workbook and do a refresh and it will

QT: How do you move image's at random position?

2008-09-14 Thread William de Smet
Hi there, I am making a simple excercise for my litte son of 4 years of age. I got 6 images that can be dragged around the screen (one by one). He must put them in the right place but on error I want the images to change place. Do I need to code the position of the images on every error or can

Re: Rev 3.0 problems

2008-09-14 Thread Peter Brigham
On Sat, 13 Sep 2008 17:07:24, J. Landman Gay [EMAIL PROTECTED] wrote: Peter Brigham wrote: Well, my personal frontscript only has handlers for suspend, resume, and controlkeydown messages, there are no backscripts, and I haven't tweaked the rev IDE scripts at all. The only stack in

Re: Arrays: new and old keys, i

2008-09-14 Thread David Bovill
2008/9/14 Richard Gaskin [EMAIL PROTECTED] put tMyData[5] into tMySnippetA put tMySnippetA[title] put tMySnippetA[body] Are there cases where putting your arrays inside of ordinal wrapper arrays would be problematic? Most of the time I don't want the complexity - the order I like best

Re: Arrays: new and old keys, i

2008-09-14 Thread Mark Brownell
From: Mark Wieder [EMAIL PROTECTED] ... Maybe a property of arrays would do this: set the sortorder of theDataA to empty -- unsorted, fastest set the sortorder of theDataA to first input -- FIFO set the sortorder of theDataA to last input -- LFIFO set the sortorder of theDataA to alpha --

QT: How do you move image's at random position?

2008-09-14 Thread Richmond Mathewson
Dear William, Please go to revOnline and download Buzz (under 'Richmond'); something to play with at least! Why the 'QT'in your question title? sincerely, Richmond Mathewson A Thorn in the flesh is better than a failed Systems

Re: Rev 3.0 problems

2008-09-14 Thread Peter Brigham
On Sun, 14 Sep 2008 01:09:18, Chipp Walters [EMAIL PROTECTED] wrote Peter, You might want to try a nifty tool I've worked on to help make 3.0's script editor work better for me. altXray is a plugin for Rev 3.0. It works best with altPlugin Toolbar.

Rev CGI delete rows with selected checkboxes

2008-09-14 Thread Jim Sims
I'm playing with Rev CGI, creating membership forms with name-email- tele-etc. Rev writes to a master list (a text file on the server) and saves the data in a tab delimited list. Each has an individual ID number and I include that in the value of a checkbox that I want to use to delete

Re: Arrays: new and old keys, i

2008-09-14 Thread David Bovill
Mark you lost me on this thread somewhere: 2008/9/14 Mark Brownell [EMAIL PROTECTED] We can have both worlds right now. If you need sorted and unsorted keys order of entry per dimensional layer or not all you need do is add layer [9] assuming you will never need layer 9. Sorry what's layer

[OT] something odd with the RunRev Use-List ???

2008-09-14 Thread Richmond Mathewson
I have recently posted 2 messages to this Use-List and, about 60-90 minutes later recieved a copy of the message under the heading: Benachrichtung zum Übermittlungsstatus (Fehlgeschlagen) from [EMAIL PROTECTED] with 2 attachments; one .TXT and one .EML they are both: Dies ist eine

Re: [OT] something odd with the RunRev Use-List ???

2008-09-14 Thread Mark Srebnik
Yes, don't post to the list... ;-) I got several of these too, Richmond... Think it's just some sort of 'out of office' automatic reply email from someone on this list... Mark on 9/14/08 12:42 PM, Richmond Mathewson at [EMAIL PROTECTED] wrote: I have recently posted 2 messages to this

Re: Mail merge in Run Rev

2008-09-14 Thread Martin Baxter
James Hurley wrote: This is a new area for me, but I'm sure it is a common task for many of you. I have a mail merge job for a local election. I have generated all the data in RR for the letter, i.e. the label and the greeting for the letter from the election data base. (This greeting is

Re: Rev CGI delete rows with selected checkboxes

2008-09-14 Thread Jim Sims
On Sep 14, 2008, at 9:00 PM, Jim Sims wrote: I'm playing with Rev CGI, creating membership forms with name-email- tele-etc. Rev writes to a master list (a text file on the server) and saves the data in a tab delimited list. Never mind ;-) Got it figured it out now. sims

Re: Arrays: new and old keys, i

2008-09-14 Thread Mark Brownell
-Original Message- From: David Bovill [EMAIL PROTECTED] Mark - looking at your script this is NOT doing what we need. It is not sorting the keys - it is simply sorting a list, which happens to be inside of an array. By that I mean nothing is actually happening to the array - you simply

Re: Arrays: new and old keys, i

2008-09-14 Thread Brian Yennie
This is all very clever (seriously!), but I think this thread is simply talking about two different things. It is one thing to maintain your own sorting information in arrays. It's another to pull the data out of arrays, then sort it. But it's another entirely to have sortable array. When

Re: Arrays: new and old keys, i

2008-09-14 Thread Mark Brownell
-Original Message- From: Brian Yennie [EMAIL PROTECTED] \ This is all very clever (seriously!), but I think this thread is simply talking about two different things. It is one thing to maintain your own sorting information in arrays. It's another to pull the data out of arrays, then