Basic UI idiosyncrasies (bugs?) with 2.7.1 Win version

2006-05-19 Thread Bob Earp
Greetings from a very warm and sunny west coast, normally referred to by people not living here as the wet coast I just had a chance to compare Mac vs. Win versions of 2.7.1 (side by each) and a number of basic UI idiosyncrasies (bugs?) really highlighted themselves on the Win side of

Re: regEx to remove spaces

2006-05-19 Thread John Craig
Here's a small snippet that will replace spaces within quotes using regex's. Just put your data into tString and the new data is put into tResult. repeat while matchText(tString, ([ quote ][^ quote ]+[ quote ]), tMatch) put replaceText(tMatch, , ) into tReplacement put

Re: TRIM command?

2006-05-19 Thread Mark Schonewille
Hi Sarah, If theStr contains a string with multple spaces that you want to replace with single spaces, try: replacetext(theStr, +, ) Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Salery is the easiest way to get your

Read file with accented characters ?

2006-05-19 Thread Zax
Hello, I'm trying to read a text file created with BBEdit on Mac OS X. This file contains french accented characters. Now, in my revolution script (also running on OS X), whatever I use : get URL (binfile: bbeditFileName) or get URL (file: bbeditFileName) or open file bbeditFileName for read

Re: regEx to remove spaces ?

2006-05-19 Thread John Craig
Apologies - sent the wrong snippet earlier. The correct version (very similar) is; Here's a small snippet that will replace spaces within quotes using regex's. Just put your data into tString and the new data is put into tResult. put tString into tResult repeat while matchText(tString, ([

Re: How do I put Toolbox objects into a table control?

2006-05-19 Thread Mark Schonewille
Hi Mark, It is easy enough to make a group with the objects you need. Then make another group and if you want to add an item to your list, copy group 1 into group 2. After correctly positioning the objects, you can obtain a table effect. You could also check out Shao Sean's impressive

Re: opening email app in Windows

2006-05-19 Thread Mark Schonewille
Peter, What's wrong with the revMail command or with revGoURL ? You can just leave the destination address behind. Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Salery is the easiest way to get your own web store on-line:

Re: Basic UI idiosyncrasies (bugs?) with 2.7.1 Win version

2006-05-19 Thread Thomas McGrath III
Hi Bob, I have the same thing happening here but since I have a lot of other Win apps that also act this way I did not consider it a bug. Tom On May 19, 2006, at 4:14 AM, Bob Earp wrote: Greetings from a very warm and sunny west coast, normally referred to by people not living here as

Re: Basic UI idiosyncrasies (bugs?) with 2.7.1 Win version

2006-05-19 Thread Rob Cozens
Hi Bob, if I have a stack open with the message box open (and no other Win app running) I will see the basic Revolution interface bar, the Tools palette, the Message Box window, and the stack window. If I now open, say, Win Explorer it opens on the top of everything (correct/expected

Re: Basic UI idiosyncrasies (bugs?) with 2.7.1 Win version

2006-05-19 Thread Richard Gaskin
Bob Earp wrote: I guess this is because Rev does not bind all of its components (and any open stack windows) together, as is standard Windows practice with other apps. The behavior you describe would be appropriate for Mac OS 9 and earlier*, but Microsoft describes a different behavior in

Re: Basic UI idiosyncrasies (bugs?) with 2.7.1 Win version

2006-05-19 Thread Rob Cozens
Moi: selecting the standalone from the task bar when it is beneath another app unselects the other app but brings _no_ window to the front. Unless one selects a window from the popup menu... :{`) Rob Cozens CCW, Serendipity Software Company And I, which was two fooles, do so grow three;

CIFS protocol

2006-05-19 Thread Roger . E . Eller
I stumbled across a piece of software that utilizes the CIFS protocol in an URL such as cifs://someplace/somefolder/somefile. Does anyone know whether the Rev libURL can use this protocol? It sounds very good, and is described as an enhanced url-based file system protocol which originated from

Re: CIFS protocol

2006-05-19 Thread Andre Garzia
Roger, I don't think libURL can access cifs resources but if you're using MacOS you can use applescript for that and if you're in windows you can shell() to that. Cheers andre On May 19, 2006, at 2:08 PM, [EMAIL PROTECTED] wrote: I stumbled across a piece of software that utilizes the

Re: Read file with accented characters ?

2006-05-19 Thread Jan Schenkel
--- Zax [EMAIL PROTECTED] wrote: Hello, I'm trying to read a text file created with BBEdit on Mac OS X. This file contains french accented characters. Now, in my revolution script (also running on OS X), whatever I use : get URL (binfile: bbeditFileName) or get URL (file:

Re: How do I put Toolbox objects into a table control?

2006-05-19 Thread Josh Mellicker
It seems that every project I want to do has a scrolling group of individual subgroups with various controls, each subgroup representing one record in a database. Since my routines for copying and repositioning a single template group over and over are slow, this morning I was thinking of

Re: database access bandwidth: PHP vs. Revolution

2006-05-19 Thread Stephen Barncard
The database features of Rev are very fast. Although I am not totally conversant of all that goes on inside RevDB itself (as I use Trevor's DB abstraction library to make RevDB easier to implement), or what code you saw that looped but I know that using that library I can get back the data as

Re: How do I put Toolbox objects into a table control?

2006-05-19 Thread Mark Schonewille
Hi Josh, This won't work if you don't know whether you will need 100 or 1000 subroups. Also, if the lockloc of each objects in the template group is true, you don't need to position the objects separately. Just set the loc of the subgroup. Then again, if you need to display 1000s of

Math problems?

2006-05-19 Thread Peter T. Evensen
I am doing the following: put 10.27 into tNumber put the trunc of tNumber into tInteger put tNumber - tInteger into tDecimal put 100 * tDecimal into tNew Decimal put the trunc of tNewDecimal and I get 26 instead of 27. Am I doing something wrong? Is this a bug? Is there another way to

Re: Math problems?

2006-05-19 Thread Jim Ault
try get 10.27 get (it-(it div 1)*100 Jim Ault Las Vegas On 5/19/06 12:04 PM, Peter T. Evensen [EMAIL PROTECTED] wrote: I am doing the following: put 10.27 into tNumber put the trunc of tNumber into tInteger put tNumber - tInteger into tDecimal put 100 * tDecimal into tNew Decimal put

Re: Math problems?

2006-05-19 Thread Mark Swindell
put 10.27 into tNumber put the trunc of tNumber into tInteger put tNumber - tInteger into tDecimal put 100 * tDecimal into tNew Decimal put tNewDecimal -- put the trunc of tNewDecimal = 27 On May 19, 2006, at 12:04 PM, Peter T. Evensen wrote: put 10.27 into tNumber put the trunc of

Re: Math problems?

2006-05-19 Thread Scott Rossi
Recently, Peter T. Evensen wrote: I am doing the following: put 10.27 into tNumber put the trunc of tNumber into tInteger put tNumber - tInteger into tDecimal put 100 * tDecimal into tNew Decimal put the trunc of tNewDecimal and I get 26 instead of 27. Am I doing something wrong?

Re: Math problems?

2006-05-19 Thread Peter T. Evensen
It seems like there is some funky math going on here. In looking at things, after 100 * tDecimal into tNewDecimal, tNewDecimal contains 27 the trunc of 27 should be 27, not 26. At 02:17 PM 5/19/2006, you wrote: put 10.27 into tNumber put the trunc of tNumber into tInteger put tNumber -

Re: Math problems?

2006-05-19 Thread Peter T. Evensen
Ok, I didn't think of just using the string functions. I guess I'm too used to typed languages. LOL At 02:20 PM 5/19/2006, you wrote: Recently, Peter T. Evensen wrote: I am doing the following: put 10.27 into tNumber put the trunc of tNumber into tInteger put tNumber - tInteger into

Re: Math problems?

2006-05-19 Thread Phil Davis
Peter T. Evensen wrote: I am doing the following: put 10.27 into tNumber put the trunc of tNumber into tInteger put tNumber - tInteger into tDecimal put 100 * tDecimal into tNew Decimal put the trunc of tNewDecimal and I get 26 instead of 27. Am I doing something wrong? Is this a bug? Is

video/audio capture and more

2006-05-19 Thread Sivakatirswami
I was checking out video grabber. Am I correct that video grabber can only work with an external video input? i.e. we are not able to grab the current screen action as video and save it to a foo.mov file, along with the internal, USB mic feed at the same time SnapZPro is giving me

Re: regEx to remove spaces ?

2006-05-19 Thread Sivakatirswami
On May 16, 2006, at 11:45 PM, jbv wrote: Hi list, Is it possible to use regEx to remove spaces before and after quotes, and, if yes, how ? Example : my beautiful laundrette becomes my beautiful laundrette I'm curious what mandates regEx? if the means is not an issue in reaching

Re: Math problems?

2006-05-19 Thread Jan Schenkel
--- Mark Swindell [EMAIL PROTECTED] wrote: put 10.27 into tNumber put the trunc of tNumber into tInteger put tNumber - tInteger into tDecimal put 100 * tDecimal into tNew Decimal put tNewDecimal -- put the trunc of tNewDecimal = 27 On May 19, 2006, at 12:04 PM, Peter T.

Re: Saving a stack state and variables

2006-05-19 Thread Chipp Walters
Rob, You can also always store your data in a stack and save it that way. IOW, clone the existing stack with your data and save that stack. Then, you'll need to read from it when you 'load' it back. On 5/18/06, Jim Ault [EMAIL PROTECTED] wrote: On 5/18/06 12:49 PM, Rob Beynon [EMAIL

here is a script to name controls (for beginners)

2006-05-19 Thread Josh Mellicker
For any beginners out there who have put a bunch on controls on a bunch of cards and want to name them quickly (without looking through a big properties list), put this in the stack script: ON mouseUp pMouseBtnNum IF pMouseBtnNum = 3 THEN ask name of the target IF it is

Re: regEx to remove spaces ?

2006-05-19 Thread jbv
Hi, thanks for the response, but I don't think it would work... let's go back to my example : my beautiful laundrette if you replace tOpenSpace first, then you get : my beautiful laundrette and then if you replace tCloseSpace, you get mybeautifullaundrette Thanks anyway, JB

Re: Math problems?

2006-05-19 Thread Dar Scott
On May 19, 2006, at 1:04 PM, Peter T. Evensen wrote: put 10.27 into tNumber put the trunc of tNumber into tInteger put tNumber - tInteger into tDecimal put 100 * tDecimal into tNew Decimal put the trunc of tNewDecimal and I get 26 instead of 27. Am I doing something wrong? Is this a bug?

Re: How do I put Toolbox objects into a table control?

2006-05-19 Thread Josh Mellicker
On May 19, 2006, at 11:09 AM, Mark Schonewille wrote: Hi Josh, Also, if the lockloc of each objects in the template group is true, you don't need to position the objects separately. Just set the loc of the subgroup. Sorry, that's what I meant- repositioning the subgroups seems to be

Re: How do I put Toolbox objects into a table control?

2006-05-19 Thread Mark Schonewille
What about this? lock screen -- speeds things up repeat a lot copy template subgroup -- seems slow set the top of newGroup to the bottom of theLastGroup + 10 -- seems slow put data in the controls -- seems fast end repeat Does that help? Really, for ecxFTP I am doing this too. My list

Re: regEx to remove spaces ?

2006-05-19 Thread Martin Baxter
# How about: put my quote beautiful quote laundrette into srctext put into repchar put 0 into oldoff put 1 into toff repeat while toff 0 put offset(quote,srctext,oldoff) into toff if toff 0 then put repchar into char oldoff + toff of srctext add toff to oldoff if repchar = then

Re: TRIM command?

2006-05-19 Thread Gary S.
I don't claim to be a regular expression expert (just a long time list lurker), but I recently had the same need for a trim command and came up with this function: function trimWS pText -- Remove all leading and trailing whitespace characters. -- I.E., space, tab, carriage return, line

[ANN] - Text Import Wizard example

2006-05-19 Thread mfstuart
Hi all, After a many days of creating this little project, I thought I'd share it with you all. It's really my first completed application in Rev. I've loaded it up to the Programming / User Space, if you are interested. Here's the verbage on it: == Reads

Re: How to manage large SQL data sets - reply 2

2006-05-19 Thread mfstuart
Kay, thanx for all your help. I have been applying what you posted, and things seem to be working. Regards, Mark -- View this message in context: http://www.nabble.com/How+to+manage+large+SQL+data+sets+-+reply+2-t1565790.html#a4477959 Sent from the Revolution - User forum at Nabble.com.

Quote about arcade engine on article on how to create a game company.

2006-05-19 Thread Andre Garzia
Congrats Malte, In this article, the author writes a piece on building your own game company and on the topic of GFX engines he quotes Arcade Engine as a good 2D engine :-) I was reading that article after finding it on digg, it's nice to be surprised with quotes from good products made

the URL (Re: Quote about arcade engine on article on how to create a game company.)

2006-05-19 Thread Andre Garzia
Oops, forgot to include the URL: http://www.downloadsquad.com/ 2006/05/19/how-to-create-your-own-game-company-part-two/ On May 19, 2006, at 7:38 PM, Andre Garzia wrote: Congrats Malte, In this article, the author writes a piece on building your own game company and on the topic of GFX

Re: Quote about arcade engine on article on how to create a game company.

2006-05-19 Thread Malte Brill
Hi Andre! Thanks for pointing me to that article. Now I am a bit stunned. :-) Hope to see you on Malta this year! All the best, Malte ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Problems downloading accented characters from a web page

2006-05-19 Thread Sarah Reichelt
Hi All, I have a routine that downloads a web page and extracts certain text. This works fine except when the characters are accented. I'm not sure how well the characters will transfer in the email, but I'll try to give an example: Accented e (é) - I never could remember which was an acute and

selecting portion of a group to display

2006-05-19 Thread Russ McBride
Can someone point me in the right direction on this noob issue? Let's say I've got a group of a 100 buttons lined up horizontally. Only 3 are seen at any time by virtue of the dimensions of the group. I want to make the next 3 buttons visible without changing the dimensions or location

Re: selecting portion of a group to display

2006-05-19 Thread Sarah Reichelt
Let's say I've got a group of a 100 buttons lined up horizontally. Only 3 are seen at any time by virtue of the dimensions of the group. I want to make the next 3 buttons visible without changing the dimensions or location of the group. How? Essentially, I want to horizontally scroll within

Re: Read file with accented characters ?

2006-05-19 Thread Devin Asay
Zax, Jan's advise is a good thing to try. You might also want to check BBEdit to see what format you're saving it in. BBEdit can save in Mac, Windows and Unix formats, and if you have something other than Mac format selected in BBEdit you may get the results you're describing when you

Re: Problems downloading accented characters from a web page

2006-05-19 Thread Devin Asay
On May 19, 2006, at 7:55 PM, Sarah Reichelt wrote: Hi All, I have a routine that downloads a web page and extracts certain text. This works fine except when the characters are accented. I'm not sure how well the characters will transfer in the email, but I'll try to give an example: Accented

Re: selecting portion of a group to display

2006-05-19 Thread Devin Asay
On May 19, 2006, at 8:33 PM, Russ McBride wrote: Can someone point me in the right direction on this noob issue? Let's say I've got a group of a 100 buttons lined up horizontally. Only 3 are seen at any time by virtue of the dimensions of the group. I want to make the next 3 buttons

Re: TRIM command?

2006-05-19 Thread Ken Ray
On 5/19/06 4:15 PM, Gary S. [EMAIL PROTECTED] wrote: I don't claim to be a regular expression expert (just a long time list lurker), but I recently had the same need for a trim command and came up with this function: function trimWS pText -- Remove all leading and trailing whitespace

Re: regEx to remove spaces ?

2006-05-19 Thread Dar Scott
On May 17, 2006, at 3:45 AM, jbv wrote: Is it possible to use regEx to remove spaces before and after quotes, and, if yes, how ? Example : my beautiful laundrette becomes my beautiful laundrette (?x) (?=) \ + (?= [^]* (?(?:[^]*){2})* [^]* \z) | \ + (?=