Re: Group Conundrum Take 2 (Ignore first post)
Well, I figured it out..and boy is it simple.. When relayering a control, you first should find out if it is contained within a group. If so then start editing the group. Identify the control you wanted to move then simply: get the layer of tControlID set the layer of tControlID to it + 1 (moves it up one level) set the layer of tControlID to it - 1 (moves it down one level) set the layer of tControlID to top (moves it the the top of parent grp) set the layer of tConrtolID to bottom (moves it the the bottom of parent grp) Note-- I said 'one level' not one layer. This is an important distinction. The Rev engine already knows how to move groups around relative to each other so setting a groups layer to one less than current will automatically 'skip' over all other controls owned by a lower group. Pretty simple. I was focussed on setting layer numbers. This is much easier-- and the trick is to work inside the edit group command. Also Ken Ray's function is important as well-- as you can't get a unique long owner for a control which is part of a group. function stsLongOwnerID pObjID,pOpt_NumLevels if pOpt_NumLevels = "" then put 1 into tNum else put pOpt_NumLevels into tNum if word ((4*tNum)+1) of pObjID is among the items of "group,card" then delete word 1 to (4*tNum) of pObjID end if return pObjID end stsLongOwnerID -Chipp ___ 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: Group Conundrum Take 2 (Ignore first post)
Well you can do it using the method I outlined, you just need to be careful that you haven't munged any groups in the process, because it can be nigh on impossible to unpick. I use a relayering routine (based around outlined method) in a concept mapping tool I developed and it sometimes has to deal with tens of groups each with multiple subgroups and once you get it right it certainly works. Admittedly, getting it to work was an extremely frustrating process. The secret is to only move objects/groups to either the first or last layer in the parent/grandparent/uberparernt group. Terry... On 18/9/08 2:45 PM, "Chipp Walters" <[EMAIL PROTECTED]> wrote: > Thanks Terry and Jim, > Turns out there's not an easy fix. I'm building a Layer management tool and > I want to be able to manipulate layers inside groups and groups inside > groups while maintaining the "group boundaries". Currently, Rev's IDE can't > do this. In fact, in Rev's IDE you can't relayer controls within a group > easily at all. > > I've figured out a way around the problem. I'll use the 'start editing > group' command and they relayer stuff w/out having to use the > relayerGroupedControls mode. Seems to do the trick... > > -Chipp > ___ > 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 -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 ___ 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: Group Conundrum Take 2 (Ignore first post)
Chipp, I began using the start editing mode in my test stack and still got a quirk. I think the fix is to do a .. repeat until the layer is what I want it to be. I nokw this is ambiguous at this point, but more later. If I move a group that has 3 children, this is a block of 4 layers, thus extracting these, collapsing the other layers, then reinserting those 4 may not be the desired result [eg. the layer number ends up placing the group above another group] I tink I know how I will approach it this weekend. Jim Ault Las Vegas On 9/17/08 9:57 PM, "Jim Ault" <[EMAIL PROTECTED]> wrote: > I agree with the 'can't do layer movement easily'. > Built a little test stack and got variable results when making several > moves. It could be that the program needs to use the long name, but it > still seems risky. > > Since I will be working on the same kind of interface on Friday, it will be > interesting to compare solutions when we are done. I was just making notes > on this yesterday. I will be doing my design over the weekend.. nothing > fancy, but needs to work for computer novices to re-organize text files on a > hard drive. > > Jim Ault > Las Vegas > > > On 9/17/08 9:45 PM, "Chipp Walters" <[EMAIL PROTECTED]> wrote: > >> Thanks Terry and Jim, >> Turns out there's not an easy fix. I'm building a Layer management tool and >> I want to be able to manipulate layers inside groups and groups inside >> groups while maintaining the "group boundaries". Currently, Rev's IDE can't >> do this. In fact, in Rev's IDE you can't relayer controls within a group >> easily at all. >> >> I've figured out a way around the problem. I'll use the 'start editing >> group' command and they relayer stuff w/out having to use the >> relayerGroupedControls mode. Seems to do the trick... >> >> -Chipp > > > ___ > 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: Group Conundrum Take 2 (Ignore first post)
I agree with the 'can't do layer movement easily'. Built a little test stack and got variable results when making several moves. It could be that the program needs to use the long name, but it still seems risky. Since I will be working on the same kind of interface on Friday, it will be interesting to compare solutions when we are done. I was just making notes on this yesterday. I will be doing my design over the weekend.. nothing fancy, but needs to work for computer novices to re-organize text files on a hard drive. Jim Ault Las Vegas On 9/17/08 9:45 PM, "Chipp Walters" <[EMAIL PROTECTED]> wrote: > Thanks Terry and Jim, > Turns out there's not an easy fix. I'm building a Layer management tool and > I want to be able to manipulate layers inside groups and groups inside > groups while maintaining the "group boundaries". Currently, Rev's IDE can't > do this. In fact, in Rev's IDE you can't relayer controls within a group > easily at all. > > I've figured out a way around the problem. I'll use the 'start editing > group' command and they relayer stuff w/out having to use the > relayerGroupedControls mode. Seems to do the trick... > > -Chipp ___ 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: Group Conundrum Take 2 (Ignore first post)
Thanks Terry and Jim, Turns out there's not an easy fix. I'm building a Layer management tool and I want to be able to manipulate layers inside groups and groups inside groups while maintaining the "group boundaries". Currently, Rev's IDE can't do this. In fact, in Rev's IDE you can't relayer controls within a group easily at all. I've figured out a way around the problem. I'll use the 'start editing group' command and they relayer stuff w/out having to use the relayerGroupedControls mode. Seems to do the trick... -Chipp ___ 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: Group conundrum?
Example script on test set the relayerGroupedControls to true get (the layer of button "spacer3" + 1) set the layer of group "grFruit" to it put "The lucious fruity layers begin at " &(the layer of group "grFruit") into msg set the relayerGroupedControls to false end test Jim Ault Las Vegas On 9/17/08 8:51 PM, "Jim Ault" <[EMAIL PROTECTED]> wrote: > I think the logic is that moving a group to a layer under an item says that > it will consider that item to be the new parent. > > On 9/17/08 8:12 PM, "Chipp Walters" <[EMAIL PROTECTED]> wrote: > >> >> 1 group "food" >> 2 group "meat" >> 3 button "chicken" >> 4 button "beef" >> 5 group "fruit" >> 6 button "apple" >> 7 button "orange" >> 8 button "fred" > > > A couple years ago I did something like > > 1 group "food" > 2 button "spacer1" --invisible > 3 group "meat" > 4 button "chicken" > 5 button "beef" > 6 button "spacer2" --invisible > 7 group "fruit" > 8 button "apple" > 9 button "orange" > 10 button "spacer3" --invisible > 11 button "fred" > > and moved the groups to a > layer (layer of btn spacer2 + 1) > layer (layer of btn spacer3 + 1) > etc, to avoid the re-parenting that seemed to be counter-intuitive. > > Try it and see if this helps get you where you want to go quickly. > Instead of spacer2, you could call it 'gridline2' > > Adding another level of hierarchy might mean > spacer1, spacer11, spacer21, spacer33, etc. sorta like a matrix notation. > > layer (layer of btn spacer21 + 1) > > 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 ___ 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: Group conundrum?
Another big CAVEAT... Be sure to right-click and refresh the Application Browser to be accurate. or write a quick loop to report the layer numbers. Layer numbers are not the same if you are changing modes 1 in edit mode (pointer tool) with select grouped ON -- do refresh 2 in edit mode (pointer tool) with select grouped OFF + editing the group -- do refresh, and the layer numbers change... they only include the group layers. Jim Ault Las Vegas On 9/17/08 8:51 PM, "Jim Ault" <[EMAIL PROTECTED]> wrote: > I think the logic is that moving a group to a layer under an item says that > it will consider that item to be the new parent. > > On 9/17/08 8:12 PM, "Chipp Walters" <[EMAIL PROTECTED]> wrote: > >> >> 1 group "food" >> 2 group "meat" >> 3 button "chicken" >> 4 button "beef" >> 5 group "fruit" >> 6 button "apple" >> 7 button "orange" >> 8 button "fred" > > > A couple years ago I did something like > > 1 group "food" > 2 button "spacer1" --invisible > 3 group "meat" > 4 button "chicken" > 5 button "beef" > 6 button "spacer2" --invisible > 7 group "fruit" > 8 button "apple" > 9 button "orange" > 10 button "spacer3" --invisible > 11 button "fred" > > and moved the groups to a > layer (layer of btn spacer2 + 1) > layer (layer of btn spacer3 + 1) > etc, to avoid the re-parenting that seemed to be counter-intuitive. > > Try it and see if this helps get you where you want to go quickly. > Instead of spacer2, you could call it 'gridline2' > > Adding another level of hierarchy might mean > spacer1, spacer11, spacer21, spacer33, etc. sorta like a matrix notation. > > layer (layer of btn spacer21 + 1) > > 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 ___ 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: Group Conundrum Take 2 (Ignore first post)
Hi Chip - I've struggled with this before and from memory you can't usually do it in a single step. You essentially have to reorder objects or groups (by moving them to the top of the group) in such a way that the object/group you're interested in is forced down through the layers into the desired position. So in your example I think you would... 1. set the layer of btn "fred" to 2 2. set the layer of grp "fruit" to 2 3. set the layer of grp "meat" to 2 ...ending up with your desired layering sequence. HTH, Terry... On 18/9/08 1:40 PM, "Chipp Walters" <[EMAIL PROTECTED]> wrote: > Here's my control outlilne: > > Layer | Control > -- > 1 group "food" > 2 group "meat" > 3 button "chicken" > 4 button "beef" > 5 button "fred" > 6 group "fruit" > 7 button "apple" > 8 button "orange" > > If I execute the following statement: > > set the relayerGroupedControls to true > set the layer of group "fruit" to 5 > set the relayerGroupedControls to false > > All of a sudden, group "fruit" is now a sub group of group "meat" and looks > like: > > Layer | Control > -- > 1 group "food" > 2 group "meat" > 3 button "chicken" > 4 button "beef" > 5 group "fruit" > 6button "apple" > 7button "orange" > 8 button "fred" > > > Anyone know how to get it to look like: > > Layer | Control > -- > 1 group "food" > 2 group "meat" > 3 button "chicken" > 4 button "beef" > 5 group "fruit" > 6 button "apple" > 7 button "orange" > 8 button "fred" > ___ > 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 -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 ___ 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: Group conundrum?
I think the logic is that moving a group to a layer under an item says that it will consider that item to be the new parent. On 9/17/08 8:12 PM, "Chipp Walters" <[EMAIL PROTECTED]> wrote: > > 1 group "food" > 2 group "meat" > 3 button "chicken" > 4 button "beef" > 5 group "fruit" > 6 button "apple" > 7 button "orange" > 8 button "fred" A couple years ago I did something like 1 group "food" 2 button "spacer1" --invisible 3 group "meat" 4 button "chicken" 5 button "beef" 6 button "spacer2" --invisible 7 group "fruit" 8 button "apple" 9 button "orange" 10 button "spacer3" --invisible 11 button "fred" and moved the groups to a layer (layer of btn spacer2 + 1) layer (layer of btn spacer3 + 1) etc, to avoid the re-parenting that seemed to be counter-intuitive. Try it and see if this helps get you where you want to go quickly. Instead of spacer2, you could call it 'gridline2' Adding another level of hierarchy might mean spacer1, spacer11, spacer21, spacer33, etc. sorta like a matrix notation. layer (layer of btn spacer21 + 1) 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
Group Conundrum Take 2 (Ignore first post)
Here's my control outlilne: Layer | Control -- 1 group "food" 2 group "meat" 3 button "chicken" 4 button "beef" 5 button "fred" 6 group "fruit" 7 button "apple" 8 button "orange" If I execute the following statement: set the relayerGroupedControls to true set the layer of group "fruit" to 5 set the relayerGroupedControls to false All of a sudden, group "fruit" is now a sub group of group "meat" and looks like: Layer | Control -- 1 group "food" 2 group "meat" 3 button "chicken" 4 button "beef" 5 group "fruit" 6button "apple" 7button "orange" 8 button "fred" Anyone know how to get it to look like: Layer | Control -- 1 group "food" 2 group "meat" 3 button "chicken" 4 button "beef" 5 group "fruit" 6 button "apple" 7 button "orange" 8 button "fred" ___ 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: Group conundrum?
Is there anyway to get it to look like: Layer | Control -- 1 group "food" 2 group "meat" 3 button "chicken" 4 button "beef" 5 group "fruit" 6 button "apple" 7 button "orange" 8 button "fred" ___ 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: Group conundrum?
OOPS, acidently hit the Send button. Please ignore previous post... Here's my control outlilne: Layer | Control -- 1 group "food" 2 group "meat" 3 button "chicken" 4 button "beef" 5 button "fred" 6 group "fruit" 7 button "apple" 8 button "orange" If I execute the following statement: set the relayerGroupedControls to true set the layer of group "fruit" to 5 set the relayerGroupedControls to false All of a sudden, group "fruit" is now a sub group of group "food" What's up? ___ 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
Group conundrum?
Here's my control outlilne: Layer | Control -- 1 group "food" 2 group "meat" 3 button "chicken" 4 button "beef" 5 button "fred" 6 group "fruit" 7 button "apple" 8 button "orange" If I execute the following statement: set the relayerGroupedControls to true set the layer of group "fruit" to 5 set the relayerGroupedControls to false All of a sudden, group "fruit" is now a sub group of ___ 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: Export sequence of pictures as quicktime movie
On Sep 16, 2008, at 10:00 AM, [EMAIL PROTECTED] wrote: I'm open to suggestions about the best way to create a qt movie from the saved snapshot images. Try QuickTime Player pro. Jim Lambert ___ myShape, Inc. www.myshape.com R&D [EMAIL PROTECTED] Join us at www.myshape.com. For all busy women who don't have time to shop... the first personal shop with the clothes that fit and flatter you. ___ 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@lists.runrev.com
>From: Andre Garzia <[EMAIL PROTECTED]> >Subject: Re: Stack Overflow : a new site for programming Q&A. > >I think it should be "transcript" or "revolution code" but not >something like "rev code" or "runrev code" > >andre > How about "RevScript" , "Rev-Talk" , "TransOlution" , or RevSolution." How about a drink? :-) mark ___ 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@lists.runrev.com
I think it should be "transcript" or "revolution code" but not something like "rev code" or "runrev code" andre On Wed, Sep 17, 2008 at 10:00 AM, william humphrey <[EMAIL PROTECTED]> wrote: > RunRev Code is better as it comes up unique in google searches. > > On Tue, Sep 16, 2008 at 9:54 PM, Paul Looney <[EMAIL PROTECTED]> wrote: > >> Alex, >> "Rev Code" >> Paul Looney >> >> >> >> On Sep 16, 2008, at 3:28 PM, Alex Tweedly wrote: >> >> I saw on slashdot a link ( >> http://www.joelonsoftware.com/items/2008/09/15.html >>> ) to Joel on Software's announcement of a new web site for Q&A on >>> programming. The site itself ( http://stackoverflow.com/ ) looks >>> interesting, and it just might be a good place to ask (and answer) questions >>> about Rev, assuming the collaborative editing and voting system works well. >>> >>> Anyone think we should try it out ? >>> What tag should we use ... Revolution ? Transcript ? >>> >>> -- 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 >>> >> >> ___ >> 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.bluewatermaritime.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 > -- 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: openBackground message?
On Sep 17, 2008, at 1:35 PM, Dave Cragg wrote: On 17 Sep 2008, at 18:46, Devin Asay wrote: Hi all, Does this message actually get sent along with openCard, closeCard and the rest? I am trying to use an openBackground handler in a group, but the message doesn't seem to get sent. The message watcher doesn't show it being sent. Do you have the backgroundBehavior of the group set to true? I'm able to handle the openBackground messages when this property is set. You're right. The group I was working with did not have the backgroundBehavior set to true. However, the docs state that this message is "Sent to the current card right after you go from a card that does not have the group to a card that does." A little further on it says: "The openBackground message is sent to the card, then (if the card does not trap the message) along the message path to each group on the card. This means that if there is more than one group on the card, the openBackground message is sent to each one." If you are familiar with message paths, you might conclude that the only groups it works on are background-style groups, since they come after the card in the message hierarchy. But still the docs imply clearly that the openBackground message is sent to every group on the card. I suspect that this is in fact a documentation error, rather than a bug. I'm going to add a note to this effect to my bug report. Maybe I can get a clarification from RunRev out of it. Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ 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: openBackground message?
On 17 Sep 2008, at 18:46, Devin Asay wrote: Hi all, Does this message actually get sent along with openCard, closeCard and the rest? I am trying to use an openBackground handler in a group, but the message doesn't seem to get sent. The message watcher doesn't show it being sent. Do you have the backgroundBehavior of the group set to true? I'm able to handle the openBackground messages when this property is set. Cheers Dave ___ 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: openBackground message?
On Sep 17, 2008, at 12:00 PM, Eric Chatonet wrote: Bonsoir Devin, Seems that this message is obsolete since a long time even if it still appear in the docs. Probably was it introduced to stay compliant with HC stacks but even stacks the HCAddressing is set to true don't trap it. Anyway you have many ways to workaround this :-) Whatever it is, a bug or inaccurate documentation, I've reported it: http://quality.runrev.com/qacenter/show_bug.cgi?id=7181 Devin Le 17 sept. 08 à 19:46, Devin Asay a écrit : Hi all, Does this message actually get sent along with openCard, closeCard and the rest? I am trying to use an openBackground handler in a group, but the message doesn't seem to get sent. The message watcher doesn't show it being sent. Has anyone used openBackground successfully? I'm on Rev 3.0 gm-3 (build 750) on Mac OS X 10.5.4. Devin Devin Asay Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ 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: Dealing with large numbers
Mark, I just ran this, (mac 10.4.11, rev 3.0) and see no problems, even up to 1000 iterations - could it be some platform-related thing? Best, Mark ps. the 1000th iteration was 43466557686937427506996111137369890149306067531359404218934455749241 032917045565907240316294571302242425620098031386057959852750558837247446 45670017852944230821885448147900618234216285807506383791353495552 On 17 Sep 2008, at 18:53, Mark Wieder wrote: All- I just ran into an integer overflow problem and I'm wondering if there is a preferred way of dealing with this. I get the right number of digits, but after iteration 79 the last digits are all zero. Is there a way of dealing with large numbers? Here's a simple handler that gives wrong answers: -- -- Find the Nth Fibonacci number -- Usage: Fibonacci(100) -- note: this overflows at around iteration 79 -- on Fibonacci pIteration local tFibNum local tPrevious local tTemp -- prime the pump put 1 into tPrevious -- Fibonacci number 1 put 1 into tFibNum -- Fibonacci number 2 repeat with x=3 to pIteration put tFibNum into tTemp add tPrevious to tFibNum put tTemp into tPrevious -- show your work put "Iteration" && x & "=" && tFibNum & cr after field 1 end repeat end Fibonacci -- -Mark Wieder [EMAIL PROTECTED] ___ 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: Dealing with large numbers
You would not believe the Real and Integer issues that can be encountered these days, in all kinds of tools. Reals especially lose precision in normal ranges, due to the way they are represented. The easiest way, imho, to deal with these issues, is, when you reach some threshold, switch your math routines to manual ones. This used to be a standard problem at ACM competitions. The fibonacci problem was one of them. You start with numbers that are out of bounds for a real or integer of any precision or size, and manipulate them. So, you take each digit, perform the operation, and move to the next one, just like when you're doing it by hand. The good news is that with RR it's significantly easier than many other tools because there isn't all the (st00p1d) conversion from string to integer to string. You just do it. One trick in this regard - sometimes you can save yourself some headaches if you reverse the order of the digits. Adding a position to the front of a string CAN be slow, but adding one on the back GENERALLY is not. You could also use blobs, which have arbitrarily large size, and perform the same operations. Note that in the case of blobs and other binary types, you can perform arithmetic operations by using logical binary ones, as well (AND, OR, XOR). All of this is left as an exercise for the reader. ___ 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: openBackground message?
Bonsoir Devin, Seems that this message is obsolete since a long time even if it still appear in the docs. Probably was it introduced to stay compliant with HC stacks but even stacks the HCAddressing is set to true don't trap it. Anyway you have many ways to workaround this :-) Le 17 sept. 08 à 19:46, Devin Asay a écrit : Hi all, Does this message actually get sent along with openCard, closeCard and the rest? I am trying to use an openBackground handler in a group, but the message doesn't seem to get sent. The message watcher doesn't show it being sent. Has anyone used openBackground successfully? I'm on Rev 3.0 gm-3 (build 750) on Mac OS X 10.5.4. Devin Devin Asay Best regards from Paris, Eric Chatonet. Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: [EMAIL PROTECTED]/ ___ 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
Dealing with large numbers
All- I just ran into an integer overflow problem and I'm wondering if there is a preferred way of dealing with this. I get the right number of digits, but after iteration 79 the last digits are all zero. Is there a way of dealing with large numbers? Here's a simple handler that gives wrong answers: -- -- Find the Nth Fibonacci number -- Usage: Fibonacci(100) -- note: this overflows at around iteration 79 -- on Fibonacci pIteration local tFibNum local tPrevious local tTemp -- prime the pump put 1 into tPrevious -- Fibonacci number 1 put 1 into tFibNum -- Fibonacci number 2 repeat with x=3 to pIteration put tFibNum into tTemp add tPrevious to tFibNum put tTemp into tPrevious -- show your work put "Iteration" && x & "=" && tFibNum & cr after field 1 end repeat end Fibonacci -- -Mark Wieder [EMAIL PROTECTED] ___ 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
openBackground message?
Hi all, Does this message actually get sent along with openCard, closeCard and the rest? I am trying to use an openBackground handler in a group, but the message doesn't seem to get sent. The message watcher doesn't show it being sent. Has anyone used openBackground successfully? I'm on Rev 3.0 gm-3 (build 750) on Mac OS X 10.5.4. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ 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: user spaces on RunRev
Bonjour William, Even if there is a button 'View' that displays the description the author has given, Rev Online stack is not handy at all. So you might be interested in my Rev Online Picker plugin: Rev Online Picker works in a single window that displays all stacks available from Rev Online by category, those uploaded since your last check, all descriptions and allows to display them directly from the web. Safe and annulable download process. Search tool by author, stack name or keyword and sorting. You might be interested also in Rev Online Watcher that informs you discreetly at Revolution startup when new stacks have been uploaded to Rev Online. If you have Rev Online Picker, Rev Online Watcher can open directly Rev Online Picker "New Ones" tab. Just go to http://www.sosmartsoftware.com/ Le 17 sept. 08 à 16:26, william humphrey a écrit : Using the user spaces on RunRev is not a happy experience. I wish there was a way to comment on stacks that are there. Every time I try some stacks I always end up with one that is trying to access a database or something similar and has looped error messages that you can't get out of. I just had to force quit RunRev because of an application called "Address Book" something which had an error message which looped endlessly. Does everyone else find the user spaces useless? 1. because there is no way to comment on stacks that are there. 2. People who upload stacks can't have short descriptions of the stacks there. 3. Databases can't be included with the stacks. 4. There is no simple "star" system rating of the quality of what is there. The user space could be an incredible resource. It seems to me that there has been no change, no improvement, in the user spaces for a very long time. There aren't even enough categories. Everything is in "general". Best regards from Paris, Eric Chatonet. Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: [EMAIL PROTECTED]/ ___ 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
user spaces on RunRev
Using the user spaces on RunRev is not a happy experience. I wish there was a way to comment on stacks that are there. Every time I try some stacks I always end up with one that is trying to access a database or something similar and has looped error messages that you can't get out of. I just had to force quit RunRev because of an application called "Address Book" something which had an error message which looped endlessly. Does everyone else find the user spaces useless? 1. because there is no way to comment on stacks that are there. 2. People who upload stacks can't have short descriptions of the stacks there. 3. Databases can't be included with the stacks. 4. There is no simple "star" system rating of the quality of what is there. The user space could be an incredible resource. It seems to me that there has been no change, no improvement, in the user spaces for a very long time. There aren't even enough categories. Everything is in "general". ___ 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
[OT] Richmond's Cast-Offs.
This week I don't have any classes and have spent most of it in front of an old Pentium III getting to grips (at last) with some of the finer points of GIMP http://www.gimp.org/ and having worked out how to manage layers and transparency am feeling quite positive about things. Have been churning out fairly pedestrian images for use in my EFL programs: what a lot of time spent on tedious things! I know that all of you are longing to spend hours churning out "bread and cheese" images. So, to spoil your fun I have decided from now on to offer you all my images for FREE: http://tech.groups.yahoo.com/group/RMimages/?yguid=254544547 ( Restricted Group: you cannot post messages and you cannot upload files: purely an outlet for my pictures. ) Most of them will be in PNG format as this handles transaprency well and Runtime Revolution has no problem with PNG on any of the 3 platforms it works on. Go and get them; don't sell them or pass them off as your own (Please), but apart from that you can do what you like with them. sincerely, Richmond Mathewson. A Thorn in the flesh is better than a failed Systems Development Life Cycle. ___ 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@lists.runrev.com
RunRev Code is better as it comes up unique in google searches. On Tue, Sep 16, 2008 at 9:54 PM, Paul Looney <[EMAIL PROTECTED]> wrote: > Alex, > "Rev Code" > Paul Looney > > > > On Sep 16, 2008, at 3:28 PM, Alex Tweedly wrote: > > I saw on slashdot a link ( > http://www.joelonsoftware.com/items/2008/09/15.html >> ) to Joel on Software's announcement of a new web site for Q&A on >> programming. The site itself ( http://stackoverflow.com/ ) looks >> interesting, and it just might be a good place to ask (and answer) questions >> about Rev, assuming the collaborative editing and voting system works well. >> >> Anyone think we should try it out ? >> What tag should we use ... Revolution ? Transcript ? >> >> -- 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 >> > > ___ > 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.bluewatermaritime.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: How do I export an image with 'enforced' .jpg extension?
Welcome to the forum, William. Be careful with your script. The save file dialog checks whether the file already exists. If the user removes the extension while you add it again, you might overwrite an existing file. -- 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/ Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 17 sep 2008, at 14:29, William de Smet wrote: Hi Mark, I just logged into the Dutch Forum and saw the other members :-) By the way, I added the following to my script and now it works as wanted: if char -4 to -1 of it <> ".jpg" then put ".jpg" after it Greetings! ___ 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 do I export an image with 'enforced' .jpg extension?
Hi Mark, I just logged into the Dutch Forum and saw the other members :-) By the way, I added the following to my script and now it works as wanted: if char -4 to -1 of it <> ".jpg" then put ".jpg" after it Greetings! 2008/9/17 Mark Schonewille <[EMAIL PROTECTED]> > Oh no, you're not the first to register, William! We have a nice group of > about 10 members now, but I think we're all waiting for someone to ask the > first question ;-) > > -- > 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/ > > Benefit from our inexpensive hosting services. See > http://economy-x-talk.com/server.html for more info. > > On 17 sep 2008, at 14:15, William de Smet wrote: > > Ja Mark heb net het NL forum bekeken!Ik zal me snel eens registreren. >> Iemand >> moet de eerste zijn :-) >> >> > ___ > 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: How do I export an image with 'enforced' .jpg extension?
Oh no, you're not the first to register, William! We have a nice group of about 10 members now, but I think we're all waiting for someone to ask the first question ;-) -- 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/ Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 17 sep 2008, at 14:15, William de Smet wrote: Ja Mark heb net het NL forum bekeken!Ik zal me snel eens registreren. Iemand moet de eerste zijn :-) ___ 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 do I export an image with 'enforced' .jpg extension?
Ja Mark heb net het NL forum bekeken!Ik zal me snel eens registreren. Iemand moet de eerste zijn :-) 2008/9/17 Mark Schonewille <[EMAIL PROTECTED]> > Hoi William, > > Windows will need a .jpg or .jpeg extension. Sometimes, I check this and > show an error message if the user deleted the extension, but sometimes I > leave it to the user whether or not to add the extension, depending on the > kind of application I am making. > > Heb je inmiddels het nieuwe Nederlandse forum al gezien? ;-) > > -- > 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/ > > Benefit from our inexpensive hosting services. See > http://economy-x-talk.com/server.html for more info. > > On 17 sep 2008, at 14:07, William de Smet wrote: > > Hi Mark, >> Now it works on OSX! Thanks! >> Does Windows recognize the file as well or does it need .jpg as extension >> then? >> >> Groeten! >> >> > ___ > 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: How do I export an image with 'enforced' .jpg extension?
Hoi William, Windows will need a .jpg or .jpeg extension. Sometimes, I check this and show an error message if the user deleted the extension, but sometimes I leave it to the user whether or not to add the extension, depending on the kind of application I am making. Heb je inmiddels het nieuwe Nederlandse forum al gezien? ;-) -- 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/ Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 17 sep 2008, at 14:07, William de Smet wrote: Hi Mark, Now it works on OSX! Thanks! Does Windows recognize the file as well or does it need .jpg as extension then? Groeten! ___ 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 do I export an image with 'enforced' .jpg extension?
Hi Mark, Now it works on OSX! Thanks! Does Windows recognize the file as well or does it need .jpg as extension then? Groeten! 2008/9/17 Mark Schonewille <[EMAIL PROTECTED]> > Hi William, > > This might help: > > set the fileType to "JPEG" > > or perhaps "ogleJPEG" > > -- > 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/ > > Benefit from our inexpensive hosting services. See > http://economy-x-talk.com/server.html for more info. > > > On 17 sep 2008, at 13:35, William de Smet wrote: > > Hi there, >> For most of you this is an easy one! >> >> I am trying to save an image and it works as long as I don't remove the >> extension while saving. >> If I do this then OSX doesn't recognize the file! >> What do I need to do to make it work? >> >> >> >> on mouseUp >> >> set the fileType to "oglejpeg" >> >> ask file "Bewaar foto als:" with "*.jpg" >> >> export img "foto" to file it as JPEG >> >> answer "De foto is bewaard!" >> >> end mouseup >> >> >> 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: How do I export an image with 'enforced' .jpg extension?
Hi William, This might help: set the fileType to "JPEG" or perhaps "ogleJPEG" -- 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/ Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 17 sep 2008, at 13:35, William de Smet wrote: Hi there, For most of you this is an easy one! I am trying to save an image and it works as long as I don't remove the extension while saving. If I do this then OSX doesn't recognize the file! What do I need to do to make it work? on mouseUp set the fileType to "oglejpeg" ask file "Bewaar foto als:" with "*.jpg" export img "foto" to file it as JPEG answer "De foto is bewaard!" end mouseup 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
How do I export an image with 'enforced' .jpg extension?
Hi there, For most of you this is an easy one! I am trying to save an image and it works as long as I don't remove the extension while saving. If I do this then OSX doesn't recognize the file! What do I need to do to make it work? on mouseUp set the fileType to "oglejpeg" ask file "Bewaar foto als:" with "*.jpg" export img "foto" to file it as JPEG answer "De foto is bewaard!" end mouseup 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