No activity here! This forum is read-only. Go to http://prxbx.com/forums/index.php.
quote:Scott R Lemmon wrote:Please - ADDLST should not be used as a make-shift log file. It's very likely to cause problems and eat up memory. Remember, it's parsing everything you give it as a matching command.
quote:? isn't this exatly what it's purpose is? to add something to a file? so it would be logical to expect that the matching has already been done, and only variables present that need expanding?
quote:Might be strictly W98/ME related problems, am running on 2K and have not yet noticed any memory drain...
quote:FWIW, I've been using $ADDLST as logger a while already before I posted the tip and never have had a problem AAR of using it (yet . In fact, I got about 12 logs defined between 27 filters using them, all using the same format
quote:as a side note, given the above formatline added to ACR, ACR produces a file of over 100Kb in less than a day...it takes out a LOT, you'd be surpised...
quote:by giving this kind of bad advice you're just hurting others.
quote:(P.S. I just remembered the "error message in match" thread you started at Yahoo. Guess what's probably causing this error?
quote:quote:as a side note, given the above formatline added to ACR, ACR produces a file of over 100Kb in less than a day...it takes out a LOT, you'd be surpised...You might be surprised how much less CPU time it might use with a little code clean-up too.
quote:quote:(P.S. I just remembered the "error message in match" thread you started at Yahoo. Guess what's probably causing this error?rest assured, this was not the cause...I'm alsmot afraid to say it, but if nothing else, the command also is very helpfull in debugging during use instead of only in the test window...sorry, can't help it for using it to the max of it's potential...
quote:uhoh...now you have awoken sleepy dogs, please tell...?
quote:Try inserting an unmatched paren or bracket into the "log" and see what happens...
quote: ?++ = * (just much slower)
quote: (*)1 = 1
quote: so "(?++|)1" = "1" via a the scenic route
quote:Ok, so the command is the one reporting the error, but that could only occur because that what is put in the list is the result of an error in the matchexpression...
quote:I did not realize you were talking about these constructs...(btw. if they exisited in previous incarnations of ACR, then they do nolonger now, apart from ?++ in some places) but you also do know why this construct was used and not just a plain asterisk? it is simply the result of having encountered too many situations where * and a larger bytelimit caused a filter matching <TAG*</TAG> to extend the match over the ending tag to the next ocurance of </TAG>, ?++ stops at the first occurance, * does not if the bytelimit is large enough...
quote:As I recall, I encountered such situations myself sometimes...using ?++ in these cases made sure it did not overshoot even if there were more possible endtag matches fitted in the buffer...
quote:quote: (*)1 = 1I must admit that I have been forced to use this exact form a couple of times myself because otherwise the 1 would take up what was before the parenthesis. suppose the following $AVQ( ("|') 1 ("|'))in this case either (1) or (*)1 is the only way that any possible text between the quotes ends up in 1 instead of the quote itself...
quote:so there's purpose to the above afteral, the parenthesis serve to prevent the variable receiving that which is matched in front of the parenthesis...