Re: way OT bass players ... was filter without empty

2008-02-14 Thread Klaus Major
Hi Richard, Mark Smith wrote: Klaus Major http://www.major-k.de/bass Cool bass site! I believe Mark Wieder is also an earth shaker - any others here? I haven't been in a band since college. These days, with music I'm more of an end-user (though I have a couple friends trying to coax

Re: Secrets of the filter command?

2007-06-27 Thread J. Landman Gay
26, 2007, at 10:30 PM, Mark Wieder wrote: Joe- Tuesday, June 26, 2007, 4:32:03 PM, you wrote: Mark is the filter command anything at all like the snake command Ummm... snake? -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use

Re: Secrets of the filter command?

2007-06-27 Thread Jim Ault
, Mark Wieder wrote: Joe- Tuesday, June 26, 2007, 4:32:03 PM, you wrote: Mark is the filter command anything at all like the snake command Ummm... snake? -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution

Re: Secrets of the filter command?

2007-06-27 Thread Joe Lewis Wilkins
: Joe- Tuesday, June 26, 2007, 4:32:03 PM, you wrote: Mark is the filter command anything at all like the snake command Ummm... snake? -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit

Re: Secrets of the filter command?

2007-06-27 Thread Joe Lewis Wilkins
some such thing and I just haven't found it yet. Joe Wilkins On Jun 26, 2007, at 10:30 PM, Mark Wieder wrote: Joe- Tuesday, June 26, 2007, 4:32:03 PM, you wrote: Mark is the filter command anything at all like the snake command Ummm... snake? -- -Mark Wieder [EMAIL PROTECTED

Re: Secrets of the filter command?

2007-06-27 Thread Jim Ault
On 6/26/07 11:25 PM, Joe Lewis Wilkins [EMAIL PROTECTED] wrote: Thanks for the reminder Jacqui and Jim. Snake was probably a name I gave it; perhaps not, but it did snake through all of the scripts. I didn't realize that the Rev. Find and Replace... is that versatile; but, then, I've never

Re: Secrets of the filter command?

2007-06-27 Thread Joe Lewis Wilkins
Thanks, Jim. Glad to see you're hard at work close to midnight! I hit the sack early, but am now up and at em. Joe Wilkins On Jun 26, 2007, at 11:51 PM, Jim Ault wrote: On 6/26/07 11:25 PM, Joe Lewis Wilkins [EMAIL PROTECTED] wrote: Thanks for the reminder Jacqui and Jim. Snake was

Secrets of the filter command?

2007-06-26 Thread David Bovill
I've always been curious about the filter command - and I am pretty sure from examples I have seen that there is a lot more to it than is shown in the docs. Take this example from Jerry Daniels beautiful Galaxy: filter someScript with [-ofsgOFSG][-nueNUE][ ntNT]* What is the leading - doing

Re: Secrets of the filter command?

2007-06-26 Thread Richard Gaskin
David Bovill wrote: I've always been curious about the filter command - and I am pretty sure from examples I have seen that there is a lot more to it than is shown in the docs. Take this example from Jerry Daniels beautiful Galaxy: filter someScript with [-ofsgOFSG][-nueNUE][ ntNT]* What

Re: Secrets of the filter command?

2007-06-26 Thread Jerry Daniels
David, That filter is used to get the comments that are actually names of handler folders as well as the handler names in a script. We prefix the names of groups of handlers (handler folders) with -- at the beginning of a line outside a handler. Handler folders are optional in Galaxy

Re: Secrets of the filter command?

2007-06-26 Thread Mark Wieder
David- The filter command uses a subset of regex. I've got BZ #2805 filed to expand the regex syntax used. Jerry's regex string [-ofsgOFSG][-nueNUE][ ntNT]* is a great little filter for scanning through scripts looking for handlers: it will catch occurrences of lines starting with things like

Re: Secrets of the filter command?

2007-06-26 Thread Joe Lewis Wilkins
Mark is the filter command anything at all like the snake command we used to have available in HC? I've been wondering about how to search for things in Rev the way I used to do in HC and this kind of looked like it might be applicable. Joe Wilkins On Jun 26, 2007, at 4:17 PM, Mark Wieder

Re: Secrets of the filter command?

2007-06-26 Thread Jim Ault
In the Regular Expression world the square brackets mean consider the next char = [a-z] as a hit if it is lowercase a through z, thus [a-zA-Z] = lower and uppercase rule for a *single* character. [$£] means true if the char is either $ or £ filter productName with *[Rr]ev* -- means filter

Re: Secrets of the filter command?

2007-06-26 Thread Mark Wieder
Joe- Tuesday, June 26, 2007, 4:32:03 PM, you wrote: Mark is the filter command anything at all like the snake command Ummm... snake? -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit

filter command - problems

2006-11-13 Thread Chris Sheffield
to apply a filter like this: filter tLevelInfoTemp with (item 1 of tLicense tab *) The variable tLevelInfoTemp contains the contents of the field, where item 1 of tLicense would contain one of the values in the first column of the field contents (1.0, 1.3, 1.5, etc.). For some reason

Re: filter command - problems

2006-11-13 Thread Chris Sheffield
Please ignore this post. I seem to be suffering from a major brain cramp today. :-) The filter does indeed work as expected. Sorry to bother everyone. Chris On Nov 13, 2006, at 9:28 AM, Chris Sheffield wrote: Can anyone tell me why this isn't working? I've got a field with contents like

Re: filter command - problems

2006-11-13 Thread Jim Ault
Works here Mac OSX 10.4.8, Rev 2.7.2 Be sure that your itemDel is set to TAB, or item 1 of container will not be what you think. Tabs can indeed be used in the filter command. Jim Ault Las Vegas On 11/13/06 8:28 AM, Chris Sheffield [EMAIL PROTECTED] wrote: Can anyone tell me why this isn't

Multiple arguments with the filter command

2006-10-25 Thread Mark Powell
/!?!prologue.ps!/1026/1115309596 C:/The World/Europe/!?!Map of Europe.jpg!/3536844/1155845730 C:/The World/!?!About1953.txt!/4288/1161776573 User-input text strings can define what files from vContainer are to be retained. The following works to filter-in the first example above: filter

Re: Multiple arguments with the filter command

2006-10-25 Thread Jim Ault
. The following works to filter-in the first example above: filter vContainer with (*!*.ps*!*) However, if the user wants both .ps and Europe to be retained, how best to do it without repeat loops and a lot of temporary copies of vContainer? Is there a way? One catch is that if the user

Re: Multiple arguments with the filter command

2006-10-25 Thread Marielle Lange
Would this help? put ps,europe into tSearch repeat for each item tItem in tSearch replace tItem with % tItem in tFileList end repeat filter tFileList with *%* replace % with in tFileList This does a or choice and returns the file that contain ps or europe. I let you work out

Re: Multiple arguments with the filter command

2006-10-25 Thread Marielle Lange
reason for the exclamation point tokens in vContainer. Now for that catch: put 53 into tSearch repeat for each item tItem in tSearch replace tItem with % tItem in tFileList end repeat filter tFileList with *%* repeat for each line tLine in tFileList get matchtext(tLine cr

Re: Multiple arguments with the filter command

2006-10-25 Thread Marielle Lange
Correction: [^/%]*)%?([^/%]* into ([^/%]*)%?([^/%]*)+ which means one or more repetitions of that pattern. This was untested. There is obviously a problem with the parentheses. You could try this: [^/%]*)%?([^/]* but this will only replace the first %53, not the second one. That

RE: Multiple arguments with the filter command

2006-10-25 Thread Mark Powell
Thanks to both Jim and Marielle for their awesome feedback. Instead of asking specific questions about the details of your feedback, I want to ask a general performance question. The filter does work within a repeat loop like this: repeat for each item thisItem in vInputStrings get

Re: Multiple arguments with the filter command

2006-10-25 Thread Mark Smith
be more efficient, since large chunks of data would not be copied. repeat for each line thisLine in vContainer repeat for each item thisItem in vInputStrings get thisLine filter it without (*!* thisItem *!*) if it is not empty then put it cr after vNewContainer

Re: Multiple arguments with the filter command

2006-10-25 Thread Marielle Lange
of words to search for rather than the size of the original list of files. I was not quite sure to understand the use of your vNewContainer variable. Filter will directly act on your variable such that only the lines that the filter let go appear in the new list. So, in fact, you could

Re: Multiple arguments with the filter command

2006-10-25 Thread Jim Ault
On 10/25/06 12:54 PM, Mark Powell [EMAIL PROTECTED] wrote: Thanks to both Jim and Marielle for their awesome feedback. Instead of asking specific questions about the details of your feedback, I want to ask a general performance question. The filter does work within a repeat loop like

RE: Multiple arguments with the filter command

2006-10-25 Thread Mark Powell
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marielle Lange Sent: Wednesday, October 25, 2006 2:32 PM To: How to use Revolution Subject: Re: Multiple arguments with the filter command Yep, this was the fast solution to the and problem ;-). Best strategy to adopt then is to first sort the search items

Re: answer files with filter

2006-08-28 Thread Martin Baxter
Sarah Reichelt wrote: On 8/25/06, Sarah Reichelt [EMAIL PROTECTED] wrote: Hi all, The answer file command usually gets me thoroughly confused, but this time, I'm not sure it is able to do what I want. I want to allow the user to select a text file, but it has to be a text file with a name

Re: answer files with filter

2006-08-28 Thread Sarah Reichelt
On 8/28/06, Martin Baxter [EMAIL PROTECTED] wrote: Sarah Reichelt wrote: On 8/25/06, Sarah Reichelt [EMAIL PROTECTED] wrote: Hi all, The answer file command usually gets me thoroughly confused, but this time, I'm not sure it is able to do what I want. I want to allow the user to select a

Re: answer files with filter

2006-08-28 Thread John Craig
start with Slot? The following works for me on Rev 2.7.2 on Windows answer file choose a file with filter Slots,slot*.txt - just shows .txt files beginning with 'slot' (case insensitive) However, the same code using Rev 2.6.1 on Linux does not work - even using with filter JPG,*.jpg The whole

Re: answer files with filter

2006-08-28 Thread Richard Gaskin
with type option, and have been replacing all of my older answer file calls with this new form to allow smooth support on both Mac and Win without having to check the platform and using ...with filter... or ...of type... for each one separately. Thank you Mark! -- Richard Gaskin Managing Editor

Re: answer files with filter

2006-08-28 Thread Robert Sneidar
Upon doing some testing for Mac OS X, if you use the with filter clause, you MUST use the file type arguement, and no wild cards characters are allowed in the file type. For example: answer file choose a file with filter F+PR,bob*.prg -- allows selection of all Foxpro Program files

Re: answer files with filter

2006-08-28 Thread Mark Talluto
On Aug 28, 2006, at 12:57 PM, Robert Sneidar wrote: Also note, that on OS X you can SEE the files, but cannot select them if they do not match the filter. Also be aware that the file type IS case sensitive. This is an OS X behavior for good or worse. Not a Rev thing. Mark Talluto

Re: answer files with filter

2006-08-27 Thread Sarah Reichelt
On 8/25/06, Sarah Reichelt [EMAIL PROTECTED] wrote: Hi all, The answer file command usually gets me thoroughly confused, but this time, I'm not sure it is able to do what I want. I want to allow the user to select a text file, but it has to be a text file with a name like Slot45.txt. The

answer files with filter

2006-08-25 Thread Sarah Reichelt
Hi all, The answer file command usually gets me thoroughly confused, but this time, I'm not sure it is able to do what I want. I want to allow the user to select a text file, but it has to be a text file with a name like Slot45.txt. The number will vary, but it has to start with Slot and have

Re: answer files with filter

2006-08-25 Thread Sean Shao
I don't know if you can filter based on the actual filename, but would it be possible for you to use your own file type / extension? If you do need the filtering on a filename I'm thinking you'd have to roll your own dialog

Re: answer files with filter

2006-08-25 Thread Rob Cozens
G'day Sarah, I want to allow the user to select a text file, but it has to be a text file with a name like Slot45.txt. The number will vary, but it has to start with Slot and have the .txt. Is this possible? I can get it to limit to text files, but is it possible to limit the available files

[UPD] Filter Widget 1.1.1 (originally called Search Widget)

2006-08-21 Thread Sean Shao
Thanks to Ton Kuyper of Digital Media Partners [www.dmp-int.com] for submitting code changes. - Multiple Filter Widgets can be used on a single card - Filter Widget is easily resized using the resize handles http://shaosean.tk/ OR http://shaosean.wehostmacs.com

[ANN] Image Filter Demo

2006-06-23 Thread Wilhelm Sanke
While I am still trying to bring my Image Filter Tool into a presentable format - I think I will need another two or three weeks before going public - I offer a preview gallery that I have just uploaded to http://www.sanke.org/MetaMedia: Scroll down at the left until link Image Filter

Re: [ANN]: Image-Filter Demo

2006-04-27 Thread dreamscapesoftware.com - List
Thanks for the information; works like a charm. No problem. Suprisingly, with the exception of Alex Tweedly, no one really seemed to care about getting the thing to work. But that's water under the bridge. - Are there more tested and useful examples for filter matrix settings available

Re: [ANN]: Image-Filter Demo

2006-04-26 Thread Wilhelm Sanke
in this context: - Are there more tested and useful examples for filter matrix settings available? - Could such a DLL as convolve3.dll be extended to work with larger matrices (5X5 etc.) ? - Would it be possible to produce a DLL to support the use of 8FB-filter files (Photoshop plugins) inside

[ANN]: Image-Filter Demo

2006-04-25 Thread Wilhelm Sanke
at ftp.metacard.com. On the other hand, Chipp demonstrated that it is indeed possible to script such filter functions solely using Transcript (and now Revolution). His excellent example provided me with a first insight how such filter functions can be put into practice. We had an exchange about

Re: [ANN]: Image-Filter Demo

2006-04-25 Thread dreamscapesoftware.com - List
Wilhelm Sanke wrote: To eliminate the color shift when using the DLL, I added correctional filters to that script. Execution time is about 2.5 seconds, so it is indeed usable. As Chipp informed me, a new DLL with much extended features is in the works, but not yet ready for release at the

Re: filter question

2006-03-14 Thread Chris Sheffield
: It might be faster to filter the list simply to reduce it to lines that contain the filter string anywhere, and then do a loop to check if the filter string is in the correct item. -- gather the original data and the required settings put fld List into tList put fld Filter into Filter put 3

Re: filter question

2006-03-14 Thread Jim Ault
Hey, Chris, I know you probably don't have the time, but I am wondering why Phil's solution did not work. I use the filter command all the time and Phil had the correct syntax and useage, as far as I could see. Mostly just curiosity to find exceptions or tricky problems for future reference

Re: filter question

2006-03-14 Thread Chris Sheffield
I'm not really 100% sure to be honest. I think it's because in my case I have to account for filtering with only a partial string. So for example, if my user enters a, the filter needs to return any records where say the third item of each line begins with a. Because Phil's solution uses

Re: filter question

2006-03-14 Thread Jim Ault
case I have to account for filtering with only a partial string. So for example, if my user enters a, the filter needs to return any records where say the third item of each line begins with a. Because Phil's solution uses tabs around the filter string (tab fld filter tab), it doesn't work

Re: filter question

2006-03-14 Thread Phil Davis
Chris Sheffield wrote: I'm not really 100% sure to be honest. I think it's because in my case I have to account for filtering with only a partial string. So for example, if my user enters a, the filter needs to return any records where say the third item of each line begins

filter question

2006-03-13 Thread Chris Sheffield
I'm trying to apply a filter to a list field. The columns of the field are tab delimited. I have a separate filter field that allows the user to apply a filter to the list based on whichever column is the current sort column. I can get the filter to work fine so long as the first column

Re: filter question

2006-03-13 Thread Phil Davis
Hi Chris, To filter on column 3, are you using something like this? put fld list into tList filter tList \ with * tab * tab fld filter tab * put tList into fld list If so, it seems like that should work. Phil Davis Chris Sheffield wrote: I'm trying to apply a filter

Re: filter question

2006-03-13 Thread Sarah Reichelt
It might be faster to filter the list simply to reduce it to lines that contain the filter string anywhere, and then do a loop to check if the filter string is in the correct item. -- gather the original data and the required settings put fld List into tList put fld Filter into Filter put 3

Re: filter question

2006-03-13 Thread Chipp Walters
sort lines of field tFldName numeric by item 3 of each Chris Sheffield wrote: I'm trying to apply a filter to a list field. The columns of the field are tab delimited. I have a separate filter field that allows the user to apply a filter to the list based on whichever column

Re: answer file with filter problem

2006-03-08 Thread Klaus Major
Hi Garrett, Rev 2.6.1 Greetings, Am I doing something wrong with the answer file? put Please select a file: into varOne put Text Files,*.txt into varTwo put Open file into varThree answer file varOne with filter varTwo titled varThree I originally had this way: answer file Please

Re: answer file with filter problem

2006-03-08 Thread Garrett Hylltun
Klaus Major wrote: [snip] your script(s) above will work wonderfully on a windows pc :-) But since you are using a mac (I guessed from your mail header, please do always mention the platform you are using) you need another syntax - answer... WITH TYPE ... Thank you Klaus. I was getting

filter list

2006-03-08 Thread liamlambert
I find my self answering my own question here I thought I would remove what I did not need and replace with a tab so I could use it in a dataBase this works but how do I put a return after the last entry on mouseUp FilterText end mouseUp on FilterText put the htmlText of field Text

Re: filter list

2006-03-08 Thread Jim Ault
set the htmlText of field Text to myHTML cr On 3/8/06 11:51 AM, liamlambert [EMAIL PROTECTED] wrote: I find my self answering my own question here I thought I would remove what I did not need and replace with a tab so I could use it in a dataBase this works but how do I put a return after

filter list

2006-03-08 Thread liamlambert
That puts one cr after all the entries there are many entries I have a large amount of plane text files that are laid out like this Below If the list below is one entry there are 100's of entries Name: Roll Number: Address: Principal/Director: Phone: Fax: Email: Website: Female

Re: filter list

2006-03-08 Thread Jim Ault
I guess I don't understand your explanation well enough. You could do replace Name: with cr in myHtml putting every name field on a new line and the rest in tab columns.. This should work for multiple occurrences in one doc. Just not sure what you need. Jim Ault On 3/8/06 12:26 PM,

answer file with filter problem

2006-03-07 Thread Garrett Hylltun
Rev 2.6.1 Greetings, Am I doing something wrong with the answer file? put Please select a file: into varOne put Text Files,*.txt into varTwo put Open file into varThree answer file varOne with filter varTwo titled varThree I originally had this way: answer file Please select a file

filter list for range of numbers

2006-02-26 Thread dreamscapesoftware.com - List
Hello List, It's been a while since I've posted here, but I've got a question about something that's been bugging me for a long time. I'm trying to utilize the filter container with regex command as opposed to looping through a list as much as possible. Reason: it's faster. The only

Re: filter list for range of numbers

2006-02-26 Thread Alex Tweedly
dreamscapesoftware.com - List wrote: Hello List, It's been a while since I've posted here, but I've got a question about something that's been bugging me for a long time. I'm trying to utilize the filter container with regex command as opposed to looping through a list as much as possible

Re: Filter Command

2005-11-22 Thread Wouter
there are no special chars used. Like for example hard spaces, which alter the string of a word or words if in between. Filter command goes haywire if a null character (numtochar(0)) is in a text (origin could be certain wordprocessors, databases or rev itself) Greetings, Wouter

Filter Command

2005-11-21 Thread Gregory Lypny
Hello Everyone, I'm having a bit of trouble with the Filter command giving me false positives. I'm picking off company names in a file containing news headlines. The headlines file has one headline per line, and each line is tab delimited, where the first item is a unique story number

Re: Filter Command

2005-11-21 Thread Eric Chatonet
Hi Greg, Just try something like: Filter it with * companyName Assuming there are not other items after the company name... If there are some: Filter it with * companyName * * means only any string (including tabs). Best Regards from Paris, Eric Chatonet. Le 21 nov. 05 à 20:29, Gregory

Re: Filter Command

2005-11-21 Thread Alex Tweedly
Gregory Lypny wrote: Hello Everyone, I'm having a bit of trouble with the Filter command giving me false positives. I'm picking off company names in a file containing news headlines. The headlines file has one headline per line, and each line is tab delimited, where the first item

Re: Filter Command

2005-11-21 Thread Jim Ault
into headlineList filter headlineList with TSE -- to get a list of only those lines set the itemdel to tab repeat with x = 1 to the number of lines in headlineList get the number of chars in (item 2 of line x of headlineList) put (the number of chars in it) into (item 1 of line x of headlineList) end repeat

Re: Filter Command

2005-11-21 Thread Gregory Lypny
Thanks Eric, Alex and Jim, I'm going to give your debugging suggestion a shot. Greg ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Filter Command

2005-09-26 Thread Gregory Lypny
Hello Everyone, I've created a search field that uses the Filter command in a keyUp handler in a search phrase field to do searches as I type. What I am not able to do is refresh the search as I delete characters by trapping the deleteKey message. The following handler does nothing

Re: Filter Command

2005-09-26 Thread Mark Smith
Try on backspaceKey. Mark On 26 Sep 2005, at 16:23, Gregory Lypny wrote: Hello Everyone, I've created a search field that uses the Filter command in a keyUp handler in a search phrase field to do searches as I type. What I am not able to do is refresh the search as I delete

Re: Filter Command

2005-09-26 Thread Gregory Lypny
I did. Same problem. Greg On Sep 26, 2005, at 12:02 PM, [EMAIL PROTECTED] wrote: Try on backspaceKey. Mark On 26 Sep 2005, at 16:23, Gregory Lypny wrote: Hello Everyone, I've created a search field that uses the Filter command in a keyUp handler in a search phrase field

Re: Filter Command

2005-09-26 Thread Mark Smith
Lypny wrote: Hello Everyone, I've created a search field that uses the Filter command in a keyUp handler in a search phrase field to do searches as I type. What I am not able to do is refresh the search as I delete characters by trapping the deleteKey message. The following handler does

Re: Filter Command

2005-09-26 Thread Sarah Reichelt
I've created a search field that uses the Filter command in a keyUp handler in a search phrase field to do searches as I type. What I am not able to do is refresh the search as I delete characters by trapping the deleteKey message. The following handler does nothing: on deleteKey

Re: Filter Command

2005-09-26 Thread Gregory Lypny
Hi Sarah and Mark, What platform are you on? It works on mac OS 10.4, here. Cheers, Mark Tiger, 10.4.2 I don't think you can do it just by passing a keyUp message with no parameter. I would do it by writing a separate handler to do the actual filtering. Then call this filter handler

answer file / filter

2005-08-01 Thread Martin Meili
Hi, I've got some code: answer file Which file do you want to open? Now, only files with the extension txt should be enabled in the opened window. I know, there should be a solution with the filter-command, but I can't manage to make this work. Can you help me? Martin

Re: answer file / filter

2005-08-01 Thread Pat Trendler
Hi Martin, answer file Which file do you want to open? with filter *.txt HTH Pat [EMAIL PROTECTED] - Original Message - From: Martin Meili [EMAIL PROTECTED] To: use-revolution@lists.runrev.com Sent: Monday, August 01, 2005 9:54 PM Subject: answer file / filter Hi, I've got some

RE: answer file / filter

2005-08-01 Thread André Rombauts
It is clearly explained in Revolution online reference: answer files Select the document with filter MS Word files,*.doc -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Martin Meili Envoyé : lundi 1 août 2005 13:55 À : use-revolution@lists.runrev.com

surprising filter benchmarks

2005-07-12 Thread Richard Gaskin
I figured the filter command would carry at least some overhead for its convenience, but I had no idea how much! I wrote the test below to compare it with walking through a list line by line, and the results were surprising: on mouseUp put fwdbCurTableData() into s -- gets 10,800 lines

Re: surprising filter benchmarks

2005-07-12 Thread Eric Chatonet
Hi Richard, I think the speed depends on the filter complexity. For instance: on mouseUp repeat 10 if random (2) = 1 then put zaz cr after tList else put zbz cr after tList end repeat - put the milliseconds into tStart1 filter tList with *a* put the milliseconds

Re: surprising filter benchmarks

2005-07-12 Thread Richard Gaskin
Eric Chatonet wrote: Hi Richard, I think the speed depends on the filter complexity. For instance: on mouseUp repeat 10 if random (2) = 1 then put zaz cr after tList else put zbz cr after tList end repeat - put the milliseconds into tStart1 filter tList

Re: surprising filter benchmarks

2005-07-12 Thread Alex Tweedly
Richard Gaskin wrote: I figured the filter command would carry at least some overhead for its convenience, but I had no idea how much! I wrote the test below to compare it with walking through a list line by line, and the results were surprising: on mouseUp put fwdbCurTableData

Re: surprising filter benchmarks

2005-07-12 Thread Eric Chatonet
wrote: Hi Richard, I think the speed depends on the filter complexity. For instance: on mouseUp repeat 10 if random (2) = 1 then put zaz cr after tList else put zbz cr after tList end repeat - put the milliseconds into tStart1 filter tList with *a* put the milliseconds

Re: surprising filter benchmarks

2005-07-12 Thread Alex Tweedly
Alex Tweedly wrote: You could simplify it to put format(*a*\t*r*\tr\t*) into tFilter and should get the same results more quickly. No you can't - I'll go back to sleep now (You need all that\t*\t sequence to ensure the *a* is in the first item - right ?) -- Alex Tweedly

Re: surprising filter benchmarks

2005-07-12 Thread Sumner,Walt
The difference is quite a bit smaller if the loop checks the number of items, as the filter is designed to do. Still usually a 3 to 6 fold difference, loop being faster. ... if item 1 of tLine contains a \ AND item 2 of tLine contains r\ AND item 3 of tLine is r

Re: Filter

2005-06-01 Thread Mark Schonewille
should be removed from the docs, for now. Best, Mark Mark Wieder wrote: Alex- Saturday, April 30, 2005, 3:11:55 AM, you wrote: AT You're using filter as though it tok any normal Regular Epression. It AT doesn't - only I'm constantly running up against this one, too, so I just filed bugzilla

Re: Filter

2005-06-01 Thread Mark Wieder
Mark- Wednesday, June 1, 2005, 3:52:10 AM, you wrote: MS Thanks for replying. Are you saying that really only the regex MS rules as described in the little regex syntax window of the docs MS in Revolution are valid in Transcript? The docs clearly say to Yes. MS have a look at some Perl

Re: Filter

2005-06-01 Thread Jeanne A. E. DeVoto
on regex. Perhaps this reference should be removed from the docs, for now. Filter doesn't take a regular expression at all. It takes a wildcard expression, which is conceptually similar to regex but not the same. The docs for filter make no reference to the PCRE library documentation. (You

Re: filter and reorder a list via field on other stack

2005-05-12 Thread Sivakatirswami
Well, if there is any textual relationship between the actual content of the line on the list and the card itself, then I have (ever since hypercard and supercard days) *always* named my cards programatically and then using the clicktext function on the index listings: go to card (the

filter and reorder a list via field on other stack

2005-05-11 Thread rev
and a button with a script on mouseUp filter fld ItemList of stack tFileName with ( * field ItemListFilter of stack Search List * ) --Note the 2 lines above are on the same line it is just wordwrapping of my --webmail end mouseUp Anyone any idea why this does not work? Also, i want the list

File types filter

2005-05-10 Thread kevin
newbee again Thanks for previous help with defaultFolder path New question.. My standalone (Windows) saves a copy of a stack as a backup. I'm naming the backup file .bkp so that I can filter for these files when I want to restore them. I then use answer file Select a backup file

Re: File types filter

2005-05-10 Thread Klaus Major
Hi Kevin, newbee again Thanks for previous help with defaultFolder path New question.. My standalone (Windows) saves a copy of a stack as a backup. I'm naming the backup file .bkp so that I can filter for these files when I want to restore them. I then use answer file Select a backup file

Re: File types filter

2005-05-10 Thread Howard Bornstein
Anyway try this one, this is the correct syntax for windows: answer file Select a backup file to restore with filter *.bkp That one above is the official sytax and should work... ;-) Sigh. This STILL doesn't work on the Mac. Since it's been marked FIXED for over six months, maybe

FIlter unicode variable with variable

2005-05-07 Thread Thomas McGrath III
to filter it down using a variable. I think the message box does not show the right unicode and I don't know for sure if it is right I guess the question/problem is 1) does the message box truly show unicode in a variable? 2) does the filter command work with unicode? 3)if it does then do I

Re: FIlter unicode variable with variable

2005-05-07 Thread Dar Scott
On May 7, 2005, at 8:50 AM, Thomas McGrath III wrote: I guess the question/problem is 1) does the message box truly show unicode in a variable? No. It effectively does 'put into', not 'set the uncodeText of'. 2) does the filter command work with unicode? The short answer is No. 3)if it does

Filter

2005-04-30 Thread Mark Schonewille
Hi, I have a long list with text. The syntax filter myLongList with *a*|*b* should return almost the complete list, but I don't get any data returned, while filter myLongList with *a* and filter myLongList with *b* both work. What's wrong here? Mark -- eHUG coordinator mailto:[EMAIL PROTECTED

Re: Filter

2005-04-30 Thread Alex Tweedly
Mark Schonewille wrote: Hi, I have a long list with text. The syntax filter myLongList with *a*|*b* should return almost the complete list, but I don't get any data returned, while filter myLongList with *a* and filter myLongList with *b* both work. What's wrong here? You should be able to do

Re: Filter

2005-04-30 Thread Mark Wieder
Alex- Saturday, April 30, 2005, 3:11:55 AM, you wrote: AT You're using filter as though it tok any normal Regular Epression. It AT doesn't - only I'm constantly running up against this one, too, so I just filed bugzilla #2805 for regex extensions in the filter command. http

compress(), zlib and FlateDecode filter in PDF stream

2005-04-17 Thread jbv
Hi there, Has anybody succeeded in using the compress() function on PDF data stream using the FlateDecode filter ? According to both docs (PDF ref and Rev), both compress() and FlateDecode are built around the public domain zlib library, but I didn't manage to include compressed data in a pdf

Re: compress(), zlib and FlateDecode filter in PDF stream

2005-04-17 Thread Dar Scott
On Apr 17, 2005, at 10:20 AM, jbv wrote: Has anybody succeeded in using the compress() function on PDF data stream using the FlateDecode filter ? According to both docs (PDF ref and Rev), both compress() and FlateDecode are built around the public domain zlib library, but I didn't manage

Re: compress(), zlib and FlateDecode filter in PDF stream

2005-04-17 Thread jbv
Dar, The Revolution compress() creates gzip which has a wrapper around the zlib format. You can dig into the binary and do primitive zlib compression. And decompression IF you know the length of the result. Thanks for the reply. Could you please elaborate a bit on this, especially

Re: compress(), zlib and FlateDecode filter in PDF stream

2005-04-17 Thread Dar Scott
On Apr 17, 2005, at 2:53 PM, jbv wrote: The Revolution compress() creates gzip which has a wrapper around the zlib format. You can dig into the binary and do primitive zlib compression. And decompression IF you know the length of the result. Thanks for the reply. Could you please elaborate a bit

<    1   2   3   >