Re: baseConvert() & 32-bit ops

2003-06-22 Thread Mark Brownell
On Sunday, June 22, 2003, at 10:44 PM, Dar Scott wrote: On Sunday, June 22, 2003, at 10:07 PM, Mark Brownell wrote: f = S1[a] + S2[b] f = bitXor( f , S3[c] ) f = bitAnd( f + S4[d], -1 ) There are a couple problems, I think the same functionality is the cause though. From TD: the la

Re: Stack Size Bloat?

2003-06-22 Thread dan johnson
--snip-- Hmmm. With the new /* and */ comments, some doors open for interesting documentation in scripts. We may want the script editor to not colorize lines between such lines or to make that an option. You have opened an whole new way for me to think about scripts. Dar Scott > Fo

Re: baseConvert() & 32-bit ops

2003-06-22 Thread Dar Scott
On Sunday, June 22, 2003, at 10:07 PM, Mark Brownell wrote: f = S1[a] + S2[b] f = bitXor( f , S3[c] ) f = bitAnd( f + S4[d], -1 ) There are a couple problems, I think the same functionality is the cause though. On the last line is the negative number -1. It is increased to 0 in a b

Re: Stack Size Bloat?

2003-06-22 Thread Richard Gaskin
Sarah wrote: >> Survey: How many of you use text styles in your code? > Not me! >> >>> Yesterday my "potential corrupt stack paranoia" got the better of me >>> and I >>> spent a while doing a lot of "copy-paste" between the existing stack >>> and a new >>> one. I ended up with the same size, of

Re: baseConvert() & 32-bit ops

2003-06-22 Thread Dar Scott
On Sunday, June 22, 2003, at 10:29 PM, Mark Brownell wrote: Dar wrote: put ( xL bitAnd -16777216 ) / 16777216 into zap 4278190080 not -16777216. (Soap box diatribe about our C heritage deleted.) There must be a relationship for these two numbers being treated the same. How about some kind of

WANTED: Rev Mentor to help newbie complete project (paid position)

2003-06-22 Thread David Phillips
WANTED: I'm seeking a skilled RR programmer with the patience to help a rather dim Rev newbie (me) complete a project. The project in question will require experience with Valentina and RR 2. I'm working on a Windows XP PC (out of necessity), so the person should have some experience with PC p

Re: baseConvert() & 32-bit ops

2003-06-22 Thread Mark Brownell
Dar wrote: put ( xL bitAnd -16777216 ) / 16777216 into zap 4278190080 not -16777216. (Soap box diatribe about our C heritage deleted.) There must be a relationship for these two numbers being treated the same. How about some kind of truncation procedure that worked in Director but not Revolu

Re: baseConvert() & 32-bit ops

2003-06-22 Thread Mark Brownell
On Sunday, June 22, 2003, at 07:07 PM, Dar Scott wrote: The last four lines look like the first steps of the F function in your Feistel network (more, crypto jargon, folks, not that I speak > it): a = bitAnd( bitAnd( xL, -16777216 ) / 16777216, 255 ) + 1 b = ( bitAnd( xL, 16711680 ) / 65536

Re: baseConvert() & 32-bit ops

2003-06-22 Thread Dar Scott
On Sunday, June 22, 2003, at 08:58 PM, Mark Brownell wrote: put ( xL bitAnd -16777216 ) / 16777216 into zap 4278190080 not -16777216. (Soap box diatribe about our C heritage deleted.) Dar Scott ___ use-revolution mailing list [EMAIL PROTECTED] http:

Re: baseConvert() & 32-bit ops

2003-06-22 Thread Mark Brownell
On Sunday, June 22, 2003, at 05:55 PM, Mark Brownell wrote: Here is another possible optimization point. What can you and Rev do with this: xL = 0 xL = bitXor( xL, bfP2[i] ) -- bfP2[i] = 1920723274 a = bitAnd( bitAnd( xL, -16777216 ) / 16777216, 255 ) + 1 b = ( bitAnd( xL, 16711680 ) / 65536

Re: baseConvert() & 32-bit ops

2003-06-22 Thread Dar Scott
On Sunday, June 22, 2003, at 06:55 PM, Mark Brownell wrote: You can handle these files (or send the data) as you would any binary data. If you need printable ASCII of binary files or strings, then run them through base64 (see TD). If you need to store encrypted data in stacks, consider custom

Re: baseConvert() & 32-bit ops

2003-06-22 Thread Mark Brownell
On Sunday, June 22, 2003, at 03:54 PM, Dar Scott wrote: On Sunday, June 22, 2003, at 03:48 PM, Mark Brownell wrote: If I used zeros to pad then I can strip them based on the number of chars in the original, a function may be used to strip these extra characters from the end of the string. For b

Ok... This is a bug... Another one, but I don't blame them... (ifthey fix it anyway...)

2003-06-22 Thread [EMAIL PROTECTED]
Ok... This one is deep, deep down in RR and I don¹t blame anyone that they haven¹t found this problem, but it is annoying :-( I have one main program which looks into a folder named ³modules² for files to load into a list. These modules are .rev files containing one group with a lot of controls, s

RE: Stack Size Bloat?

2003-06-22 Thread Monte Goulding
I can't imagine why somebody would want stylized text in the script (except colors...they seem to be helpful). Actually every now and then I like to pretty things up a bit and using bold is a really good way to make something stand out. I haven't yet used a different font. I do have the "Remove

Re: Stack Size Bloat?

2003-06-22 Thread Richard Gaskin
Dar Scott wrote: > > On Sunday, June 22, 2003, at 12:49 PM, Richard Gaskin wrote: > >> Survey: How many of you use text styles in your code? > > In the script? Only what Revolution provides. I was referring just to scripts, and looking only at user-driven styles (as opposed to colorizing whi

RE: Who uses text-styles in code?

2003-06-22 Thread Edwin Gore
I don't, in fact, as I mentioned in another post stuff pasted into scripts keeping it's format drive me batty. That said, I do use colorizing sometimes when tracking down problems. - Original Message - From: "Richard Gaskin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June

Re: Stack Size Bloat?

2003-06-22 Thread Dar Scott
On Sunday, June 22, 2003, at 12:49 PM, Richard Gaskin wrote: Survey: How many of you use text styles in your code? In the script? Only what Revolution provides. In my stacks? I use "textiles" everywhere. Dar Scott ___ use-revolution mailing list [E

Re: cloning a sub-stack

2003-06-22 Thread Richard Gaskin
rand valentine wrote: > is there an easy way to clone a substack _within_ a main stack? i can't > seem to find one. thanks! After cloning a stack, set its filename to that of the mainstack. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge 2.2: Publish any database on a

RE: Detecting the Num lock key in Windows

2003-06-22 Thread STKing42
Thanks for the explanantion Ken. Shame about this as the Numlock state can be quite important for laptop apps. Maybe the RunRev guys may like to think about it. In the meantime, I think I'll just go for an answer box and let the user check! Thanks for the help. Steve From: "Ken Ray" <[EMAIL

Re: Stack Size Bloat?

2003-06-22 Thread Richard Gaskin
T. R. Ponn wrote: > I do have the "Remove Revolution UI custom properties" checked. Is this what > you're suggesting? What is the reason behind all the html? Survey: How many of you use text styles in your code? > Yesterday my "potential corrupt stack paranoia" got the better of me and I > sp

Re: Stack Size Bloat?

2003-06-22 Thread Jan Bleeker
Op 22-06-2003 om 12:02 -0400 meldde [EMAIL PROTECTED] ons het volgende: use-revolution digest, Vol 1 #1518 - 3 msgs Date: Sun, 22 Jun 2003 11:01:58 -0400 Subject: Re: Stack Size Bloat? From: Marian Petrides <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Using Jan Ble

Re: Another 2.0 bug... Help, need a work-around!!!

2003-06-22 Thread Alex Rice
On Saturday, June 21, 2003, at 04:09 PM, erik hansen wrote: google "IDE" => Integrated Development Enterprise Institute of Developing Economies Nancy Ide Professor and Chair Department of Computer Science Vassar College Google is not my first choice for searches like this. See http://www.webope

Re: making non-active backups of stacks; missing cursor in fields; documentation

2003-06-22 Thread Alex Rice
On Friday, June 20, 2003, at 07:05 AM, [EMAIL PROTECTED] wrote: 1. Is there any way to make a backup of a stack without shifting to the backed up stack as the working stack -- i.e., when you do "save as..." the stack you save to becomes the main stack -- but i just want to be able to archive my

Re: Stack Size Bloat?

2003-06-22 Thread Marian Petrides
Using Jan Bleeker's "Export Scripts" stack Where can I find this stack> ... it sounds quite useful. TIA, Marian ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Re: Stack Size Bloat?

2003-06-22 Thread T. R. Ponn
Monte, I do have the "Remove Revolution UI custom properties" checked.  Is this what you're suggesting?  What is the reason behind all the html?  I have noticed when I open the stack with a text editor, there is a LOT of it...and then farther into the file, it appears that all of my scripting

Re: Stack Size Bloat?

2003-06-22 Thread T. R. Ponn
Erik, Yes, as a matter of fact, I do...but it usually only amounts to a few hundred bytes at most.  I wouldn't have noticed them if I hadn't tried that "Export Scripts" stack.  When I see them, I delete them right away.  Are these two issues related somehow...maybe symptomatic of some bug? Be

Re: Font's in pasted scripts

2003-06-22 Thread [EMAIL PROTECTED]
It is very frustrating, but a nice workaround is "paste as comment" and then remove the comments... Ton Kuypers > From: Martin Baxter <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Sun, 22 Jun 2003 08:51:10 +0100 > To: [EMAIL PROTECTED] > Subject: Re: Font's in pasted scripts > > Yes

Re:Newbie

2003-06-22 Thread dottorzivago
Ken, sure it helps! I am trying your suggestions now. Have a nice weekend Ubaldo ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Re: Font's in pasted scripts

2003-06-22 Thread Martin Baxter
Yes, Edwin, you are not alone... I too have been seeing some really ugly results from pasting into scripts, and haven't found a simple way to fix it. The script looks awful because the pretty-printing (aka indentation) loses contact with reality, (because of the character widths of the different t