Re: OT: Rev Tiger

2005-04-13 Thread Klaus Major
Hi Sarah, Yes, I tried Rev on one of the early Tiger builds and it worked perfectly :-) Thanks for this info! Not that i was surprised :-) Sarah Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list

Unicode

2005-04-13 Thread Chrono Wind
i got problem with Unicode __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ ___ use-revolution mailing list

Re: Unicode

2005-04-13 Thread Klaus Major
Hi Chrono Wind, Am 12.04.2005 um 11:09 schrieb Chrono Wind: i got problem with Unicode we might be able to help... :-) Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com

Re: Making Revolution faster with really big arrays

2005-04-13 Thread Dick Kriesel
On 4/12/05 7:36 PM, Dennis Brown [EMAIL PROTECTED] wrote: ...I have two arrays 10,000 lines with 2500 items in each line... ...I need to pair the items together... Do you have something like closing prices in one container and shares traded in another container, each for the same 10,000

RegEx Replace Text -- strip leading and trailing spaces

2005-04-13 Thread Matt Denton
G'day all Regular Expression syntax in ReplaceText is driving me a bit loopy right now, I was hoping someone out there could work out what I'm doing wrong... I want a single RegEx expression using ReplaceText to strip out leading and tailing spaces, leaving any spaces in the middle untouched.

Copy Command Question

2005-04-13 Thread David Burgun
Hi All, I am confused about the copy command, is there any way to copy an object onto the current card and rename it at the same time? I am using the following code snippet to create a new rectangle with a given name: copy graphic TemplateRect to this card -- TemplateRect is precreated put

Re: Copy Command Question

2005-04-13 Thread Eric Chatonet
Hi David, In one line, I am afraid not :-) But in two lines: copy grc TemplateRect to this card set the name of last grc to G- the ID of last grc Best regards, Le 13 avr. 05, à 12:19, David Burgun a écrit : copy graphic TemplateRect to this card -- TemplateRect is precreated put the ID of the

Re: Physiological data acquisition via USB

2005-04-13 Thread David Glasgow
On 12 Apr 2005, at 3:56 pm, Bill Vlahos wrote: Would this product do what you want? http://www.bkohg.com/service_e.html What an amazing thing! I used to have fischertechnik® when I was a kid! I might just get it because it looks such fun. However, you can't go connecting people to any old

Re: Copy Command Question

2005-04-13 Thread David Burgun
Hi David, In one line, I am afraid not :-) But in two lines: copy grc TemplateRect to this card set the name of last grc to G- the ID of last grc Best regards, Hi, Ok, seems strange that you can't do it as one command. Thanks! Dave Le 13 avr. 05, à 12:19, David Burgun a écrit : copy graphic

Re: RegEx Replace Text -- strip leading and trailing spaces

2005-04-13 Thread Wouter
And what about a one line non regex solution like: put word 1 to -1 of x into x? (I know, not as elegant and impressive as a true regex ;-) Gr W. On 13 Apr 2005, at 12:14, Matt Denton wrote: G'day all Regular Expression syntax in ReplaceText is driving me a bit loopy right now, I was hoping

export jpeg frustration

2005-04-13 Thread Chris Carroll-Davis
Hello folks. Can anyone shed any light on this? I'm having problems with the export syntax. I am trying to export an area of a window... The snippet below works fine, happily creating a jpeg in the default folder, but using screen coords (which I don't want) put the ticks temp.jpg

mouseEnter/mouseLeave Problem

2005-04-13 Thread David Burgun
Hi, I have a script on a graphic rectangle object that does the following: on mouseEnter set foregroundColor of me to blue pass mouseEnter end mouseEnter on mouseLeave set foregroundColor of me to black pass mouseLeave end mouseLeave on mouseDown set the layer of me to top end mouseDown on

Re: export jpeg frustration

2005-04-13 Thread Eric Chatonet
Hi Chris, The export snapshot from rect of window windowID to file... does not appear very reliable. So convert the rect of your object to global coordinates and use export snapshot from rect to file... instead :-) function GlobalObjRect pRect return item 1 of pRect + the left of this

Re: Copy Command Question

2005-04-13 Thread rev
Quoting David Burgun [EMAIL PROTECTED]: Hi David, In one line, I am afraid not :-) But in two lines: copy grc TemplateRect to this card set the name of last grc to G- the ID of last grc Best regards, Hi, Ok, seems strange that you can't do it as one command. Thanks! Dave Hi

Re: export jpeg frustration

2005-04-13 Thread Chris Carroll-Davis
Eric - Thanks so much! I'm pleased I wasn't doing something daft. Your function does the trick beautifully. Regards, Chris On 13 Apr 2005, at 12:10, Eric Chatonet wrote: Hi Chris, The export snapshot from rect of window windowID to file... does not appear very reliable. So convert the rect of

Re: export jpeg frustration

2005-04-13 Thread Eric Chatonet
Hi Chris, I think that Klaus formulation is better ;-) But using a function is a good choice: function GlobalObjRect pObj return globalLoc(the topLeft of pObj),globalLoc(the botRight of pObj) end GlobalObjRect put GlobalObjRect(the long ID of graphic PFrame) into tRect -- export snapshot from

Re: export jpeg frustration

2005-04-13 Thread Klaus Major
Bonjour Eric, Hi Chris, I think that Klaus formulation is better ;-) merci beaucoup, mon ami, i was just about to fall into a dep depression :-D But using a function is a good choice: function GlobalObjRect pObj return globalLoc(the topLeft of pObj),globalLoc(the botRight of pObj) end

More New-be Curiousity Questions

2005-04-13 Thread Typing80wpm
Thanks! That link on comparisons between Dreamcard and Revolution is just what I needed! _http://www.runrev.com/section/platform.php_ (http://www.runrev.com/section/platform.php) Questions: 1.) If I spend a year developing some great application in Dreamcard, then is moving it to

Re: More New-be Curiousity Questions

2005-04-13 Thread Alex Tweedly
[EMAIL PROTECTED] wrote: Thanks! That link on comparisons between Dreamcard and Revolution is just what I needed! Questions: I can't properly answer any of the DB questions - but here are my opinions on the others. 1.) If I spend a year developing some great application in Dreamcard,

Re: export jpeg frustration

2005-04-13 Thread Chris Carroll-Davis
Klaus - don't get depressed - I just used the first solution that came along! Thanks for your help. BOTH solutions work beautifully! I'll use yours next time, just to show how fair-minded I am...;-) C On 13 Apr 2005, at 12:30, Klaus Major wrote: Bonjour Eric, Hi Chris, I think that

Re: export jpeg frustration

2005-04-13 Thread Klaus Major
Hi Chris, Klaus - don't get depressed - I just used the first solution that came along! Thanks for your help. BOTH solutions work beautifully! I'll use yours next time, just to show how fair-minded I am...;-) you are a VERY nice guy, thank you :-) C Regards Klaus Major [EMAIL PROTECTED]

Re: Replacing Answer/Ask

2005-04-13 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I agree. It's now bug 2779, if you are interested in voting for it. In thinking about it, I'm thinking of this with another benefit: not only does it reduce the on-disk size of the stack, but it should also reduce startup time for the standalone,

ANN Getting Nine digit zip codes

2005-04-13 Thread Jim Hurley
This is not yet ready for prime time, but I would like to know how this works for those with broadband access to the Web. The program takes data from a DB and goes--one address at a time--to the US Post Office web site to get the extra 4 digit appendage to the zip code (necessary for bar code

Re: There's got to be a better way

2005-04-13 Thread ron barber
Hi Richard, On Apr 12, 2005, at 7:38 PM, Richard Gaskin wrote: Here's a tip to get even better performance (sometimes as much as two or three times more): use a field in an unopened window for the translation. When a field is on the current card, even if hidden, it's initialized with

Re: ANN Getting Nine digit zip codes

2005-04-13 Thread Jim Hurley
I forgot to acknowledge help from Dave Cragg. The handler below is from Dave and is a wonderful tutorial for anyone interested in getting info from a web site with data to be filed in. Just run this on a card with one field and you will see the full 9 digit zip code for the address: 123 Broad

Re: Newbe Questions: Revolution vs. Dreamcard, Differences?

2005-04-13 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Please note that when looking at that chart you may see that Oracle access is limited to Rev and not Dreamcard, but that any of the three versions provides access to other types of database servers, including MySql, PostgreSQL (which is my personal

Re: ANN Getting Nine digit zip codes

2005-04-13 Thread Chris Carroll-Davis
29 seconds on my 2mb ADSL (UK) Chris On 13 Apr 2005, at 13:55, Jim Hurley wrote: This is not yet ready for prime time, but I would like to know how this works for those with broadband access to the Web. The program takes data from a DB and goes--one address at a time--to the US Post Office web

Re: ANN Getting Nine digit zip codes

2005-04-13 Thread Eric Chatonet
Hi Jim, 2928.108 Kbps (366.014 Ko/sec) 25 secondes. Best regards, Le 13 avr. 05, à 14:55, Jim Hurley a écrit : This is not yet ready for prime time, but I would like to know how this works for those with broadband access to the Web. The program takes data from a DB and goes--one address at a

Re: Copy Command Question

2005-04-13 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If you're using that particular action a lot, make a custom command, maybe this one (for example): on copyGraphic namedThis withThisName copy grc namedThis to this card set the name of last grc to withThisName end copyGraphic On Apr 13, 2005, at

RE: mouseEnter/mouseLeave Problem

2005-04-13 Thread Lynch, Jonathan
Could it have to do with the fact that mouseenter is not sent if the mouse button is already down when you enter an object? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Burgun Sent: Wednesday, April 13, 2005 7:08 AM To: How to use Revolution

Re: mouseEnter/mouseLeave Problem

2005-04-13 Thread Klaus Major
Hi Jonathan, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Burgun Sent: Wednesday, April 13, 2005 7:08 AM To: How to use Revolution Subject: mouseEnter/mouseLeave Problem Hi, I have a script on a graphic rectangle object that does the following: on

RE: mouseEnter/mouseLeave Problem

2005-04-13 Thread David Burgun
I don't think so, cos it's mouseLeave that isn't being called. If both rectangles are black and I move the mouse back and forth between them, all works as it should. If I mouseDown in either of the rectangles and then move the mouse to the other recangle, the Rectangle moved to changes to blue

Re: More New-be Curiousity Questions

2005-04-13 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Apr 13, 2005, at 7:35 AM, [EMAIL PROTECTED] wrote: Thanks! That link on comparisons between Dreamcard and Revolution is just what I needed! _http://www.runrev.com/section/platform.php_ (http://www.runrev.com/section/platform.php) Questions: 1.) If

Re: Creating Using Tabs tutorial

2005-04-13 Thread Mikey
I guess what I was hoping for was to see Chapter 1, or the Getting Started Guide. The little pieces parts don't seem to do for decent anything. -- http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the

Re: mouseEnter/mouseLeave Problem

2005-04-13 Thread David Burgun
Hi Jonathan, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Burgun Sent: Wednesday, April 13, 2005 7:08 AM To: How to use Revolution Subject: mouseEnter/mouseLeave Problem Hi, I have a script on a graphic rectangle object that does the following: on

Re: Making Revolution faster with really big arrays

2005-04-13 Thread Alex Tweedly
Dennis Brown wrote: Thanks Alex, This is quite an imaginative suggestion. It would work great if I just had two lists, but I have two arrays 10,000 lines with 2500 items in each line. It would be a lot more complex to combine them into a single array (I need to pair the items together). But

RE: mouseEnter/mouseLeave Problem

2005-04-13 Thread Lynch, Jonathan
You might be able to rework this by catching the mousemove message in the card script or the stack script. Something like the following might work (untested, so it will prolly need some tweaking) On mousemove Global gBluelist If word 1 of the long name of the mousecontrol = graphic then

RE: mouseEnter/mouseLeave Problem

2005-04-13 Thread Lynch, Jonathan
Similar to what I put in another message that I just sent in... If you maintain a global variable to keep track of the graphic that is set to blue - then, whenever you set a new graphic to blue, you can make sure the previous graphic, whose name is stored in the global variable, gets set back to

Re: Replacing Answer/Ask

2005-04-13 Thread Derek Bump
I agree. It's now bug 2779, if you are interested in voting for it. Didn't have to ask twice. I've parted with 5 of my votes for this item, so we'll see how soon it will be before that get's implimented (hopefully soon). In thinking about it, I'm thinking of this with another benefit: not

RE: mouseEnter/mouseLeave Problem

2005-04-13 Thread David Burgun
Ok, thanks, I will take a look, but I would just lke to know why what I have already doesn't work! What I have been trying to do as a work-around is this: -- -- When mouseDown is called the current top will be the last selected Rectangle -- Send a mouseLeave message to this Rectangle. on

RE: mouseEnter/mouseLeave Problem

2005-04-13 Thread David Burgun
Similar to what I put in another message that I just sent in... If you maintain a global variable to keep track of the graphic that is set to blue - then, whenever you set a new graphic to blue, you can make sure the previous graphic, whose name is stored in the global variable, gets set back to

Re: Making Revolution faster with really big arrays

2005-04-13 Thread Dennis Brown
To Alex Dick, Yes, I am doing something like what Dick suggested, only a lot more complex --actually I have about a hundred very different calculations to do on various arrays which is why I was not more specific about the calculations (it has to do with generating various statistics and

Re: New Guide to the IDE in Process

2005-04-13 Thread Geoff Canyon
On Apr 12, 2005, at 1:15 PM, Dan Shafer wrote: Sigh. On Apr 12, 2005, at 12:41 PM, Bill wrote: This is the link to the last page of the runrev store: http://secure.runrev.com/Merchant2/merchant.mvc? Where your ebooks are (fairly well hidden). PROSSER But Mr. Dent, the plans have been available

[ANN] #014 and #015 How-To stacks: Managing Answer and Ask Dialogs

2005-04-13 Thread Eric Chatonet
Hi everyone, I go on with energy :-) And I hope these new tutorials will be helpful: How-To stack #014: Managing Answer Dialogs (specially dedicated to beginners but the HTML part might interest all) Shows how to manage answer dialogs (with plain text or HTML), how to build a prompt, set

RE: mouseEnter/mouseLeave Problem

2005-04-13 Thread David Burgun
You might have to resort to checking to see if the mouseloc is within the rect of each graphic you wish to check - ugh. Ok, I finally got the expect results by doing the following on mouseEnter put the name of the last graphic into myGraphicName if myGraphicName name of me then set the

Flesxible looping [Was: Making Revolution faster with really big arrays]

2005-04-13 Thread Alex Tweedly
Dennis Brown wrote: The Idea is to break apart the essential functional elements of the repeat for each control to allow more flexibility. This sample has a bit more refinement than what I posted yesterday in Bugzilla. The new keyword would be access , but could be something else. An example

Re: Flesxible looping [Was: Making Revolution faster with really big arrays]

2005-04-13 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 People working on computer languages generally avoid (and with good reason) adding new keywords. Have you considered and for rather than also? On Apr 13, 2005, at 11:25 AM, Alex Tweedly wrote: Dennis Brown wrote: The Idea is to break apart the

Re: custom prop by 1's?

2005-04-13 Thread Howard Bornstein
On 4/13/05, Richard Gaskin [EMAIL PROTECTED] wrote: answer the executionContexts Richard, Is the executionContexts documented anywhere? I couldn't find a reference to it in the online documentation. -- Regards, Howard Bornstein --- www.designeq.com

Re: ANN Getting Nine digit zip codes

2005-04-13 Thread Howard Bornstein
On 4/13/05, Jim Hurley [EMAIL PROTECTED] wrote: I forgot to acknowledge help from Dave Cragg. The handler below is from Dave and is a wonderful tutorial for anyone interested in getting info from a web site with data to be filed in. Just run this on a card with one field and you will see the

Re: ANN Getting Nine digit zip codes

2005-04-13 Thread Howard Bornstein
On 4/13/05, Jim Hurley [EMAIL PROTECTED] wrote: I forgot to acknowledge help from Dave Cragg. The handler below is from Dave and is a wonderful tutorial for anyone interested in getting info from a web site with data to be filed in. Just run this on a card with one field and you will see the

Re: custom prop by 1's?

2005-04-13 Thread Richard Gaskin
Howard Bornstein wrote: Is the executionContexts documented anywhere? I couldn't find a reference to it in the online documentation. I don't know. Not sure where I learned about it, maybe from poking around the Rev frontscripts. To the best of my knowledge, there are only a very few tokens in

Re: RegEx Replace Text -- strip leading and trailing spaces

2005-04-13 Thread Trevor DeVore
On Apr 13, 2005, at 3:14 AM, Matt Denton wrote: G'day all Regular Expression syntax in ReplaceText is driving me a bit loopy right now, I was hoping someone out there could work out what I'm doing wrong... I want a single RegEx expression using ReplaceText to strip out leading and tailing

Re: Making Revolution faster with really big arrays

2005-04-13 Thread Brian Yennie
Dennis, I guess it's half of each, as I see it (and I misread some of this I think). You only need sequential access to the lines and items, but random access would solve your problems. Random access is even faster than sequential, and can do everything sequential can. From your syntax

How to use parameters with sendMesssage

2005-04-13 Thread David Burgun
Hi All, I can't get this to send the correct paramater handler set myRect to 1,2,3,4 sendMessage UpdateData myRect to group Update on UpdateData theRect end updateData UpdateData gets called ok, but theRect is set to 1 - the rest of the list have gone. How can I send a Rect as a parameter like

Re: How to use parameters with sendMesssage

2005-04-13 Thread Klaus Major
Hi David, Hi All, I can't get this to send the correct paramater handler set myRect to 1,2,3,4 sendMessage UpdateData myRect to group Update on UpdateData theRect end updateData UpdateData gets called ok, but theRect is set to 1 - the rest of the list have gone. How can I send a Rect as a

Re: Creating Using Tabs tutorial

2005-04-13 Thread Judy Perry
I'm kinda lost... what is this comment in respect to? I think there is/was a getting started by *user type*. I am hazarding a guess that Chater 1 would be very like Dan's upcoming review of the IDE? (which , of course, of necessity, will likely be different than my own little 'getting started'

Re: Flexible looping [Was: Making Revolution faster with really big arrays]

2005-04-13 Thread Dennis Brown
Alex, I see your point and that was my first thought also. After sleeping on it, what I am really suggesting now is not breaking apart the repeat structure as much creating an new sequential access method operator(s). This is more flexible than tying it to the loop operator. It means that

Re: Making Revolution faster with really big arrays

2005-04-13 Thread Dennis Brown
Brian, Can you create a 1 by 2500 by 100 array of random numbers (sparsely populated i.e. some values are null) in SQL? Can you put the sum of two random accessed numbers (except if one is null then the sum is null) into a third random location? How fast can you do this last thing 2500

Re: ANN Getting Nine digit zip codes

2005-04-13 Thread Roger . E . Eller
Jim, 48 seconds on our super-slow-controlled-bandwidth corporate LAN. I will try it later from home on DSL for better results. Roger Eller [EMAIL PROTECTED] On 04/13/2005 at 08:55 AM, Jim Hurley [EMAIL PROTECTED] wrote: Please, somebody, let me know how long this takes you with broadband.

Re: ANN Getting Nine digit zip codes

2005-04-13 Thread Dave Cragg
On 13 Apr 2005, at 17:00, Howard Bornstein wrote: On 4/13/05, Jim Hurley [EMAIL PROTECTED] wrote: on mouseUp put empty into field 1 put Selection= 1 after tQuery put after tQuery put address1= urlEncode(123 BROAD ST) after tQuery put after tQuery put zipcode= 95959

Re: Making Revolution faster with really big arrays

2005-04-13 Thread Mark Brownell
On Tuesday, April 12, 2005, at 07:25 PM, [EMAIL PROTECTED] wrote: I might be able to suffer with the chunk specification for the line#, then use a repeat for each item and put 2500 items in an array. That way I will only need 2500 array items at any one time instead of 125,000,000 array items

Re: Making Revolution faster with really big arrays

2005-04-13 Thread Dennis Brown
Mark, Yes, this is what I am going to do. Thanks, Dennis On Apr 13, 2005, at 1:37 PM, Mark Brownell wrote: On Tuesday, April 12, 2005, at 07:25 PM, [EMAIL PROTECTED] wrote: I might be able to suffer with the chunk specification for the line#, then use a repeat for each item and put 2500 items in

Re: There's got to be a better way

2005-04-13 Thread Richard Gaskin
ron barber wrote: On Apr 12, 2005, at 7:38 PM, Richard Gaskin wrote: Here's a tip to get even better performance (sometimes as much as two or three times more): use a field in an unopened window for the translation. When a field is on the current card, even if hidden, it's initialized with

Re: Making Revolution faster with really big arrays

2005-04-13 Thread Mark Brownell
On Wednesday, April 13, 2005, at 10:37 AM, Mark Brownell wrote: Dennis, I once used the split function to create almost instant arrays based on 1, 2, 3, etc... as the locations created by the split, ( I call them locations because I'm an old Director user.) This process could work well when you

Re: How to use parameters with sendMesssage

2005-04-13 Thread David Burgun
Hi, It's working now, I just didn't realize you had to put the parameters into the string too! Thanks a lot Dave Recently, David Burgun wrote: I can't get this to send the correct paramater handler set myRect to 1,2,3,4 sendMessage UpdateData myRect to group Update on UpdateData theRect

Weird number behavior

2005-04-13 Thread Ben Fisher
Subtracting 0 from a number makes it bigger? I guess so in Revolution. set the numberformat to 0.### answer 0.91 answer 0.91 - 0 This is documented in the docs under numberFormat, but is causing me problems with some sensitive calculations. I guess you'd run against the same

Re: Flesxible looping [Was: Making Revolution faster with really big arrays]

2005-04-13 Thread Alex Tweedly
Frank D. Engel, Jr. wrote: People working on computer languages generally avoid (and with good reason) adding new keywords. True in general, but this is Transcript, which already has over 250 keywords (a fair number of which have changed in or since 2.0), so I didn't feel the same need to

round and statRound

2005-04-13 Thread David Burgun
Hi, I just want to always round a number up, for instance 25.1 25.001 25.3 25.5 25.9 should all be rounded up to 26. The round and statFunctions don't seem to do this, is there a function that does? Thanks Dave ___ use-revolution mailing list

Re: round and statRound

2005-04-13 Thread Alex Tweedly
David Burgun wrote: Hi, I just want to always round a number up, for instance 25.1 25.001 25.3 25.5 25.9 should all be rounded up to 26. The round and statFunctions don't seem to do this, is there a function that does? Don't think there's one built-in. function ceil pVal return

Re: round and statRound

2005-04-13 Thread Björnke von Gierke
no, use: trunc(1.5)+1 On Apr 13 2005, at 21:10, David Burgun wrote: Hi, I just want to always round a number up, for instance 25.1 25.001 25.3 25.5 25.9 should all be rounded up to 26. The round and statFunctions don't seem to do this, is there a function that does? Thanks Dave

Re: RegEx Replace Text -- strip leading and trailing spaces

2005-04-13 Thread Wouter
On 13 Apr 2005, at 18:09, Trevor DeVore wrote: On Apr 13, 2005, at 3:14 AM, Matt Denton wrote: G'day all Regular Expression syntax in ReplaceText is driving me a bit loopy right now, I was hoping someone out there could work out what I'm doing wrong... I want a single RegEx expression using

Re: round and statRound

2005-04-13 Thread Alex Tweedly
Alex Tweedly wrote: Don't think there's one built-in. function ceil pVal return ceil(pVal)+1 end ceil Sorry - I meant return trunc(pVal)+1 -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database:

Re: round and statRound

2005-04-13 Thread David Burgun
no, use: trunc(1.5)+1 Thanks! There should be a mention of this on the round and statRound documentation pages! Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution

Re: round and statRound

2005-04-13 Thread Dennis Brown
How does this work with even values 1,2,3 you would need to add just less than 1 or test that the number and the trunc are not the same function ceil pVal if trunc(pVal) = pVal then return pVal else return trunc(pVal)+1 end if end ceil Dennis On Apr 13, 2005, at 3:24 PM, Alex Tweedly wrote:

Re: round and statRound

2005-04-13 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hmm... rounding 2 up with that formula will yield 3 instead of 2; is this what you want? Consider: function ceil x return trunc(x + 0.5) end ceil On Apr 13, 2005, at 3:28 PM, David Burgun wrote: no, use: trunc(1.5)+1 Thanks! There should be a

Re: round and statRound

2005-04-13 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ack! Mine is wrong too! Mine is a round function for a language with no round function! On Apr 13, 2005, at 3:37 PM, Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hmm... rounding 2 up with that formula will yield 3 instead

Re: round and statRound

2005-04-13 Thread Dennis Brown
sorry, that should be trunc(pVal+1) On Apr 13, 2005, at 3:36 PM, Dennis Brown wrote: How does this work with even values 1,2,3 you would need to add just less than 1 or test that the number and the trunc are not the same function ceil pVal if trunc(pVal) = pVal then return pVal else return

Re: round and statRound

2005-04-13 Thread Chipp Walters
What about? put ceil(25.0) = 26, not the indended result. Try: function ceil pVal if pVal mod trunc(pVal) = 0 then return pVal return trunc(pVal)+1 end function -Chipp Alex Tweedly wrote: Alex Tweedly wrote: Don't think there's one built-in. function ceil pVal return ceil(pVal)+1 end ceil

Re: round and statRound

2005-04-13 Thread Björnke von Gierke
On Apr 13 2005, at 21:40, Chipp Walters wrote: What about? put ceil(25.0) = 26, not the indended result. Try: function ceil pVal if pVal mod trunc(pVal) = 0 then return pVal return trunc(pVal)+1 end function -Chipp Alex Tweedly wrote: Alex Tweedly wrote: Don't think there's one built-in.

Re: New Guide to the IDE in Process

2005-04-13 Thread Dan Shafer
I didn't know the RunRev Marketing guy's name was Prosser. :-D ~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest On Apr 13, 2005, at 8:04 AM, Geoff Canyon wrote: On Apr 12, 2005, at

A Cool Freebie for RevCon West Attendees (Resend)

2005-04-13 Thread Dan Shafer
(List...Apologies if this shows up twice. I sent it two hours ago and it hasn't shown up yet so I'm guessing the Big Bit Bucket in the Sky is smacking its lips after devouring it.) I am really excited today to announce that Chipp Walters -- who is not only the co-chair of RevCon West in

Re: A Cool Freebie for RevCon West Attendees

2005-04-13 Thread Dan Shafer
Wouldn't you know it? One minute after I resend my note, it shows up on the list. Sigh. dan On Apr 13, 2005, at 11:01 AM, Dan Shafer wrote: I am really excited today to announce that Chipp Walters -- who is not only the co-chair of RevCon West in Monterey June 17-18, but is also one of the

Re: ANN Getting Nine digit zip codes

2005-04-13 Thread Roger . E . Eller
27 seconds on DSL. Please, somebody, let me know how long this takes you with broadband. Thanks. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution

Re: RegEx Replace Text -- strip leading and trailing spaces

2005-04-13 Thread Wouter
On 13 Apr 2005, at 21:47, Trevor DeVore wrote: snip Is there a way to do ltrim (trim whitespace on left of string) in plain transcript? Right now I just use: function str_lTrim pString get replaceText(pString, ^[ \t\r\n]+, ) return it end str_lTrim -- Trevor DeVore Blue Mango

RE: Weird number behavior

2005-04-13 Thread MisterX
let's go wild in humor! Subtracting 0 from a number makes it bigger? I guess so in Revolution. There's more than one problem with zeros... It's a special hyperprogramming dimention that Rev opens for it's users! ;) Between any two points a curve can hide a monster... said a famous

Re: round and statRound

2005-04-13 Thread Mark Schonewille
Hi, While we were talking this over on ChatRev, I came up with this one-line solution: function f2 x return trunc(x)+(itemoffset((x is an integer),true,false)-1) end f2 (mind line-wraps). If you want to join the discussion, download a client at

Re: New Guide to the IDE in Process

2005-04-13 Thread Jan Schenkel
Thanks for spreading the word, Dan : Quartam Reports is not dead at all -- it is moving forward, but at a slower pace than I had hoped. It is becoming increasingly difficult to juggle time between a demanding full-time job, evening classes, my own projects and a relationship. Quartam Reports is a

Re: RegEx Replace Text -- strip leading and trailing spaces

2005-04-13 Thread J. Landman Gay
On 4/13/05 5:14 AM, Matt Denton wrote: I want a single RegEx expression using ReplaceText to strip out leading and tailing spaces, leaving any spaces in the middle untouched. For this particular case where you don't want to remove internal spacing, I like to use regular transcript: get word 1

Re: ANN Getting Nine digit zip codes

2005-04-13 Thread Howard Bornstein
On 4/13/05, Dave Cragg [EMAIL PROTECTED] wrote: Jim (or Dave), I put this in a card script and tried it and got nothing. Both the result and it came back empty. Any ideas? Not really. Have you tried post with other urls? All I can suggest is to log the transaction

Re: custom prop by 1's?

2005-04-13 Thread Howard Bornstein
On 4/13/05, Richard Gaskin [EMAIL PROTECTED] wrote: I had submitted an enhancement request to BZ some months ago for that, but for some odd reason I can't find it in there now Maybe we need to add a BugzillaRequestNotHandled token. ;-) Thanks for the info. -- Regards, Howard

Re: user-movable fields

2005-04-13 Thread Bob Hartley
At 05:40 06/04/2005, you wrote: Thank you all! I just put a demo of the user-movable fields, and an example of how it might be useful, in the user spaces of revonline-- User movable fields, under programming. This is so cool-- when I first thought of it this morning, I figured it would take

Re: BZ 2138 (was Re: ANN: BreakpointNavigator Plugin release)

2005-04-13 Thread Jerry Balzano
On Apr 13, 2005, at 6:48 AM, Alex Tweedly wrote: btw - BZ 2138 (can't run apps by double-click) is an Enhancement request - since the docs don't claim it should be possible, I couldn't find any excuse to make it a bug rather than an enhancement request; that may be another reason it hasn't been

Re: BZ 2138 (was Re: ANN: BreakpointNavigator Plugin release)

2005-04-13 Thread Dennis Brown
I agree, If you use all your votes up, and then want to vote for something else, you can always at that point review what you voted on and take some votes away from lower priority bugs so you can put them onto the new item. That way you can prioritize your votes for the things that have

Re: RegEx Replace Text -- strip leading and trailing spaces

2005-04-13 Thread Alex Tweedly
Trevor DeVore wrote: This will strip leading and trailing whitespace from a multiline string. But given that you say that word 1 to -1 is that much faster I am going to switch to that. Those of us still trying to break away from our previous languages like to complicate things on occasion ;)

Re: Copy Command Question

2005-04-13 Thread Ken Ray
On 4/13/05 5:27 AM, Eric Chatonet [EMAIL PROTECTED] wrote: In one line, I am afraid not :-) But in two lines: copy grc TemplateRect to this card set the name of last grc to G- the ID of last grc You can also use it, since the newly created object is stored in it: copy grc TemplateRect

Re: RegEx Replace Text -- strip leading and trailing spaces

2005-04-13 Thread Trevor DeVore
On Apr 13, 2005, at 4:49 PM, Ken Ray wrote: get matchText(pWhat, (?s)^\s+(.*?)\s+$, tReturnVal) I agree that the word 1 to -1 solution will do what you want 95+% of the time, but just wanted to make sure that everyone knew there was at least one 'hole' in that approach in case anyone cared.

Re: Making Revolution faster with really big arrays

2005-04-13 Thread Brian Yennie
Dennis, I through together a real rough test- just some tables with random values 0-1000. SELECT (v1 + v2500) FROM values1,values2500 LIMIT 50; This ran for me in about 10-15 seconds off of a G4 XServe with 1GB memory. Note that I only had enough free memory to do chunks of 500,000

Re: Making Revolution faster with really big arrays

2005-04-13 Thread Dennis Brown
Brian, I am running on a 1.8 GHz single processor G5 Tower. With my data put into an array it takes about 9 sec to access each value. With my data in a variable, it takes about 1.5 sec to access each value sequentially. I don't have the new approach written yet (got side tracked on the graphing

Re: Creating Using Tabs tutorial

2005-04-13 Thread Sarah Reichelt
Hi Judy, Good tutorial and the PDF is a neat touch and very well put together. However I suggest you have a look at the menuPick message which makes handling tabs much easier. When using one card per tab, here is the script I use: on menuPick pCardName go to card pCardName end menuPick For

Re: Shrinking Mac stack

2005-04-13 Thread Sarah Reichelt
For those of you who've come lately to this, the problem was simple. How to add menus for both Mac and PC to an existing stack *without* ever resizing the existing stack. As you all probably know, the minute you add a menu to a stack, it's height is recalculated whenever it opens on a

  1   2   >