Table Column Widths

2006-03-20 Thread Robert Sneidar
Is there any way to make a scrolling table field have column widths that vary? If not, is it possible to add object types so I can write my own, or has someone else already done this? This is a good feature request I think. Trying to show 50 character fields next to fields with 2 or 3 and h

Help with Arrays??

2006-03-20 Thread Arthur Urban
I don't know what the heck is going on here, but I know it's making me a wee bit testy. (I don't like needless local variables, what can I say...) Here's the code that works just fine. Please note that I've confirmed the value of x, it is not the problem here. The function returns an Array.

Re: Making the move...

2006-03-20 Thread Judy Perry
Holy Batcrap, Dan! Like, is it a full moon? Are the planets in alignment?? Did I miss a supernova somewhere obvious??? :-) You know, I have always held that rumours of our supposedly concrete disagreement status are greatly exaggerated. Yeah, I've seen something very like what you are talking

Re: Get a handler from a script

2006-03-20 Thread Mark Wieder
Jacque- >> The best solution I've come up with for removing block comments is >> >> put the script of SomeObject into tScript >> put token 1 to -1 of tScript into tScript >> > This sounded really cool, but I can't get it to work. :( Really? What isn't it doing? For me it removes all comments t

[OT] Another Bit of HyperHistory

2006-03-20 Thread Dan Shafer
I'd forgotten until this evening that Ward Cunningham wrote the first wikiwiki in HyperCard. I remember him telling me that way back when I was at CNET but I somehow forgot it. Here's an article that elucidates: http://www.eweek.com/print_article2/0,1217,a=173863,00.asp -- ~

Re: Making the move...

2006-03-20 Thread Phil Davis
Ever the metaphorical thinker, this reminds me of good gun safety practices (aka ways NOT to shoot yourself in the foot) - it's all in knowing how to control a powerful tool. Phil Davis (meant in a lighthearted way and limited strictly to the parallel observed - not intended to engender discu

Re: Making the move...

2006-03-20 Thread James Spencer
On Mar 20, 2006, at 9:01 PM, Mark Smith wrote: I think the point is that when a variable is passed to a function/ handler 'normally', the data in it is duplicated, and if the data is big, this is not as efficient as passing it by reference - obviously, if you need to change the data in the

Re: [?] Mac Classic, 2.6.1, MySQL

2006-03-20 Thread Sean Shao
I've tried building the application on two different Mac OS 9.2.2 machines (an old iMac and an old UMax ;-) but, as mentioned previously, the application crashes with an error of Type 1001 unless I switch the MySQL libraries then I get a "unsupported database type".. So as it stands, I'm boned

Re: Making the move...

2006-03-20 Thread Mark Smith
I think the point is that when a variable is passed to a function/ handler 'normally', the data in it is duplicated, and if the data is big, this is not as efficient as passing it by reference - obviously, if you need to change the data in the called function/handler, this may have unwanted

Re: Dreamcard Won't Recognize Hypercard Stacks

2006-03-20 Thread Sarah Reichelt
On 3/21/06, Iden Rosenthal <[EMAIL PROTECTED]> wrote: > I have just installed Dreamcard 2.7 and tried to open some Hypercard > Stacks to convert them. They are unrecognized (grayed) in the file > open dialog. Is there something I've missed? The stacks will run in > Hypercard Player under Classic mo

Re: Making the move...

2006-03-20 Thread Sarah Reichelt
Well I think you are right - there would be better ways to split out segments of the script, and if I find more than one routine neededing to do the same things, I go to the effort of doing it. However at the moment, I am mainly concerned with converting HyperCard scripts to Rev, and so I like to c

Re: Making the move...

2006-03-20 Thread Sarah Reichelt
On 3/21/06, Rob Cozens <[EMAIL PROTECTED]> wrote: > > G'day Sarah, > > > In my experience, it's probably due to never passing values by > > reference. > > I'm curious as to why you eschew passing by reference. > > If one needs to pass large variables, why incur the overhead of > duplicating the val

Re: How can I keep selected text hilited?

2006-03-20 Thread Mark Talluto
On Mar 20, 2006, at 4:34 PM, Dr. Robert E. Ball wrote: Dan and Mark -- thank you so much. The selectionChanged was exactly what I needed, but with the backgroundColor changed to yellow, not the foregroundColor (which makes the text yellow, not the background). Give this a try: on selectio

Re: How can I keep selected text hilited?

2006-03-20 Thread Mark Talluto
On Mar 20, 2006, at 4:34 PM, Dr. Robert E. Ball wrote: Dan and Mark -- thank you so much. The selectionChanged was exactly what I needed, but with the backgroundColor changed to yellow, not the foregroundColor (which makes the text yellow, not the background). Yup...the backgroundColor is a

Re: Draw spokes on a wheel

2006-03-20 Thread Mark Talluto
On Mar 18, 2006, at 8:11 AM, Jim Hurley wrote: For fun and games with rolling you may want to look at: go url " http://home.infostations.net/jhurley/Rolling.rev"; This took away a lot of my productivity when I first saw this. Incredible stuff indeed! Run Rev has expressed an interest

Re: How can I keep selected text hilited?

2006-03-20 Thread Dr. Robert E. Ball
Dan and Mark -- thank you so much. The selectionChanged was exactly what I needed, but with the backgroundColor changed to yellow, not the foregroundColor (which makes the text yellow, not the background). On 3/20/06 4:16 PM, "Mark Talluto" <[EMAIL PROTECTED]> wrote: > > On Mar 20, 2006, at 1:4

Re: How can I keep selected text hilited?

2006-03-20 Thread Dan Shafer
Actually, that should be backColor, not foreColor. Sorry for the confusion. On 3/20/06, Mark Talluto <[EMAIL PROTECTED]> wrote: > > > On Mar 20, 2006, at 1:43 PM Mar 20, 2006, Robert E. Ball wrote: > > > I want the user of my program to be able to hilite portions of a > > text field on a given c

Re: How can I keep selected text hilited?

2006-03-20 Thread Mark Talluto
On Mar 20, 2006, at 1:43 PM Mar 20, 2006, Robert E. Ball wrote: I want the user of my program to be able to hilite portions of a text field on a given card (similar to using a yellow hilite pen on a book page -- I have set hiliteColor to yellow) and then to have the hilited text show up

Re: How can I keep selected text hilited?

2006-03-20 Thread Dan Shafer
Robert Sure. Just set the foreColor of the selectedText to the hiliteColor. That makes the change sticky. On 3/20/06, Robert E. Ball <[EMAIL PROTECTED]> wrote: > > I want the user of my program to be able to hilite portions of a text > field on a given card (similar to using a yellow hilite

Re: Making the move...

2006-03-20 Thread Dan Shafer
OMG, Judy, two things we can agree on in, what?, less than a month? Perhaps the end of the cycle is imminent! :-) I spent two years once trying to sell a product into the "education market." (I use quotation marks because in my experience -- which may well have been unique for all I know -- there

Re: [ANN] STS XML Library 2.0 Now Available

2006-03-20 Thread Dan Shafer
Thanks, Ken. Nice bit of work. On 3/19/06, Ken Ray <[EMAIL PROTECTED]> wrote: > > Hey, everyone! > > The long-awaited, and long-promised STS XML Library 2.0 has finally been > released, adding node path support, search and array methods, conditional > validation and plugin support to the all-Tra

Re: [?] Mac Classic, 2.6.1, MySQL

2006-03-20 Thread Ton Kuypers
Sean, Yep, I did, and didn't get the classic version to work unless I created the classic standalone from RR 2.5 running in classic mode... I could create the Windows and OS X version from my OS X Revolution, but never got the classic version to run. Lazy as I am, I didn't spend much time on

Re: Image Storage - Optimization

2006-03-20 Thread Chipp Walters
Hi Sivakatirswami, Never did hear how you guys did in that horrible flood last week. Hope all is OK! Regrading what I think you did and the subsequent results: First, when describing importing an image, it's a good idea to give pixel dimenstions and not inches. So, I assume at 72dpi an 3 x 5

How can I keep selected text hilited?

2006-03-20 Thread Robert E. Ball
I want the user of my program to be able to hilite portions of a text field on a given card (similar to using a yellow hilite pen on a book page -- I have set hiliteColor to yellow) and then to have the hilited text show up when the user returns to the card. When I first double click on a w

Re: Where has all the Object Documentation gone?

2006-03-20 Thread J. Landman Gay
Cal Horner wrote: Back in the good ol' days, those of 2.6, 2.5 and earlier, there was a very effective tool (for me) in the Revolution on-line documentation. It even had its own button. It was called OBJECTS. It seems to have gone the way of the Dodo or have the Dodos simply left it out of 2.7

Re: ANN: Email Obfuscator

2006-03-20 Thread Mark Wieder
Jim- Sunday, March 19, 2006, 9:48:38 PM, you wrote: > Thanks for the great snippet. > One of my clients will be thrilled Monday when he sees it! Well, your client will probably like the new version better. I just uploaded a v1.1 version, which can handle command line arguments if it's made into

Re: Get a handler from a script

2006-03-20 Thread J. Landman Gay
Mark Wieder wrote: Geoff- Sunday, March 19, 2006, 5:12:04 PM, you wrote: This would still be subject to failure if, anywhere in the script, /* or */ appeared _not_ as block comment delimiters, but as part of a string. The best solution I've come up with for removing block comments is pu

Re: Image Storage - Optimization

2006-03-20 Thread J. Landman Gay
Sivakatirswami wrote: This is a spin off from my earlier thread on DRM for images in stacks. In experiments with putting compressed imageData into a custom prop I discovered it bloated the size of the stack. I then tested "recovery" of that data to an original jpeg size, with some very int

Where has all the Object Documentation gone?

2006-03-20 Thread Cal Horner
Back in the good ol' days, those of 2.6, 2.5 and earlier, there was a very effective tool (for me) in the Revolution on-line documentation. It even had its own button. It was called OBJECTS. It seems to have gone the way of the Dodo or have the Dodos simply left it out of 2.7? My question is si

Re: DRM for Images and Text in Stacks

2006-03-20 Thread Mark Talluto
On Mar 18, 2006, at 2:39 AM Mar 18, 2006, Sivakatirswami wrote: if the environment is "development" then quit does that not prevent someone from opening it up in the IDE? mmm. I'm reviewing all the memos to date on this and see you already mentioned this. OK yes, I think this is "doab

Re: [?] Mac Classic, 2.6.1, MySQL

2006-03-20 Thread Chris Sheffield
Sean, This is a strange one. I've seen this before, and if I remember correctly, the problem is that database applications, for whatever reason, are linked to the Valentina external on Mac Classic. Whether you're building for Valentina or not. There is a bug report on it, though I don'

Re: Dreamcard Won't Recognize Hypercard Stacks

2006-03-20 Thread J. Landman Gay
Iden Rosenthal wrote: I have just installed Dreamcard 2.7 and tried to open some Hypercard Stacks to convert them. They are unrecognized (grayed) in the file open dialog. Is there something I've missed? The stacks will run in Hypercard Player under Classic mode in OS X 10.4.5. They won't ope

Re: 2.7 bugs in variable watcher, table fields

2006-03-20 Thread Jim Ault
On 3/20/06 10:25 AM, "Sumner,Walt" <[EMAIL PROTECTED]> wrote: > Anybody else having these problems? > > 1. > Mac OS X: > Run a script with a breakpoint. > Open the message watcher at the breakpoint. > Open the variable watcher after opening the message watcher. > Variable watcher echos variable

Re: Making the move...

2006-03-20 Thread Josh Mellicker
On Mar 19, 2006, at 12:55 PM, Mark Wieder wrote: It's probably my forth background, but I'm mildly allergic to routines that don't fit in their entirety onto my screen. -- -Mark Wieder [EMAIL PROTECTED] Ah, I just realized why I'm writing overly complex handlers and not using function

[?] Mac Classic, 2.6.1, MySQL

2006-03-20 Thread Sean Shao
I'm working on a small project that needs to run on Mac OS X, Mac Classic (9.2.2) and Windows and that uses the database library to connect to a MySQL server. Everything runs fine on OS X and Windows, and it runs fine in the IDE on Mac Classic. When I compile a Classic application from the IDE

Re: Making the move...

2006-03-20 Thread Josh Mellicker
On Mar 14, 2006, at 3:17 PM, [EMAIL PROTECTED] wrote: So I anticipate that the web apps would be VERY simple, and it might even be possible to push the date into something like PHP- Fusion or Joomla! Joomla = NO WordPress = YES e107 = YES : ) from one who has done way too much experimen

Re: Making the move...

2006-03-20 Thread Judy Perry
Marielle, I believe this response to Chipp is a unfair. The post you cite regarding Jerry was apologized for almost immediately after he realized that he sent it to the list and not to Jerry personally. And I seem to recall Jerry being nearly abusive in the posts sent around that time. I don't h

Re: Making the move...

2006-03-20 Thread Josh Mellicker
On Mar 14, 2006, at 6:40 AM, [EMAIL PROTECTED] wrote: Josh, Very strong statements. Wow! If I may ask for further clarification... I have two questions I'd love you expound upon. 1) RealBasic -- that's the main rival, as I see it. I haven't written big enough apps to test, but it seem

Re: Making the move...

2006-03-20 Thread Mark Wieder
Rob- Monday, March 20, 2006, 10:04:01 AM, you wrote: > Thanks for getting me to revisit the handler, Geoff: "fieldBelimiter" > was a bug waiting to bite me. ...and that's why I'm such a stickler for declaring variables. If the compiler can find your bugs for you, why not let it do the work? --

Re: Making the move...

2006-03-20 Thread Rob Cozens
Hi Jim, I suppose you also have a "SerendipityDo_Library.rev" It's still a work in process; but will be released as "SerendipityDoDa_Library.rev" so folks won't think it's SerendipityDoDo. :{`) Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow thr

Image Storage - Optimization

2006-03-20 Thread Sivakatirswami
This is a spin off from my earlier thread on DRM for images in stacks. In experiments with putting compressed imageData into a custom prop I discovered it bloated the size of the stack. I then tested "recovery" of that data to an original jpeg size, with some very interesting results, poss

Re: Get a handler from a script

2006-03-20 Thread Mark Wieder
Geoff- Sunday, March 19, 2006, 5:12:04 PM, you wrote: > This would still be subject to failure if, anywhere in the script, /* > or */ appeared _not_ as block comment delimiters, but as part of a > string. The best solution I've come up with for removing block comments is put the script of Som

2.7 bugs in variable watcher, table fields

2006-03-20 Thread Sumner,Walt
Anybody else having these problems? 1. Mac OS X: Run a script with a breakpoint. Open the message watcher at the breakpoint. Open the variable watcher after opening the message watcher. Variable watcher echos variable names, refuses to display variable values. Close message watcher. Step forwar

Re: Zoom/maximize box

2006-03-20 Thread Jon Seymour
Sarah, your suggestion to use the parameters of the resizeStack message works perfectly. Indeed, I was using the stack's properties before they were updated. Thanks for the help, that one was driving me crazy! Jon ___ use-revolution mailing list u

Re: Making the move...

2006-03-20 Thread Rob Cozens
Moi: if itemNumber = 0 then put recordKey&fieldBelimiter after returnRecord Thanks for getting me to revisit the handler, Geoff: "fieldBelimiter" was a bug waiting to bite me. Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a

Dreamcard Won't Recognize Hypercard Stacks

2006-03-20 Thread Iden Rosenthal
I have just installed Dreamcard 2.7 and tried to open some Hypercard Stacks to convert them. They are unrecognized (grayed) in the file open dialog. Is there something I've missed? The stacks will run in Hypercard Player under Classic mode in OS X 10.4.5. They won't open in either Oracle Ca

Re: Making the move...

2006-03-20 Thread Jim Ault
On 3/20/06 9:28 AM, "Rob Cozens" <[EMAIL PROTECTED]> wrote: > on mouseTrapOn -- 3 Mar 04:RCC >insert the script of field "Mouse Trap" of card 1 of stack > "Serendipity_Library.rev" into front > end mouseTrapOn I suppose you also have a "SerendipityDo_Library.rev" for those calls that need ex

Re: Making the move...

2006-03-20 Thread Rob Cozens
Hi Geoff, Out of curiosity, do you have an example handy of a long handler that you think makes more sense to keep together than to break up? Or one that you think can't be broken up without significant effort to do it? on findSDBRecord @sdbBuffer,exactKey,fieldDelimiter,itemList,setPo

Re: Capslockkey function

2006-03-20 Thread Rob Cozens
Hi Jan, on keyDown pKey if pKey is an integer then pass keyDown end keyDown This will allow to type numbers only and use the delete key. No more :-) Make that _whole_ numbers only: no decimal separator is allowed. Rob Cozens CCW, Serendipity Software Company "And I, which

Re: Making the move...

2006-03-20 Thread Rob Cozens
G'day Sarah, In my experience, it's probably due to never passing values by reference. I'm curious as to why you eschew passing by reference. If one needs to pass large variables, why incur the overhead of duplicating the value of the variable before passing it? And if a variable value ne

Re: Making the move...

2006-03-20 Thread Geoff Canyon
Do you have an example? I agree that if you end up passing in a handful of arguments by reference, you haven't accomplished much by breaking out the routine. The question is if there isn't a better way to slice the routine, where that wouldn't be necessary. On Mar 20, 2006, at 4:29 AM, Sara

Re: Making the move...

2006-03-20 Thread Geoff Canyon
This sounds like a bunch of small handlers masquerading as a large handler ;-) Nothing wrong with that, I just think it means that you're really on my side of the big/small question, except that you don't like the surplus of handler names it leads to. I can certainly agree with that. Ever

Re: Exit Repeat

2006-03-20 Thread Geoff Canyon
On Mar 20, 2006, at 1:47 AM, Chipp Walters wrote: put the executioncontexts Thanks, Chipp! Now we have a puzzle (I think) I have a button with this script: on mouseUp set the canInterrupt of this stack to true repeat with i = 1 to 1000 wait 0 ticks with messages put i end repe

Re: Get a handler from a script

2006-03-20 Thread Wouter
A little update. And beware of the mail wraps On 20 Mar 2006, at 10:50, Wouter wrote: -snip- /* this is a comment #as is this */function removeBlockComments pText --toggle the # put true into tFlag repeat for each line i in pText if char 1 to 2 of word 1 of i = "/*" then put false int

Built in Search

2006-03-20 Thread Preston Shea
How does one refer to the results window of RR's built-in search tool (e.g. put it's contents into a window in a different stack)? Thanks. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: Get a handler from a script

2006-03-20 Thread Martin Baxter
David Burgun wrote: Hi, Yes, this really is the problem. In order to parse and identify a function/handler 100% correctly you need to do most (if not all) of the work of the TranScript Parser in the Script Compiler. In the past I've written any number of language parsers and I know it is non-

Re: Making the move...

2006-03-20 Thread Sarah Reichelt
On 3/20/06, Geoff Canyon <[EMAIL PROTECTED]> wrote: > Out of curiosity, do you have an example handy of a long handler that > you think makes more sense to keep together than to break up? Or one > that you think can't be broken up without significant effort to do it? > > When you think of a long ha

Re: Get a handler from a script

2006-03-20 Thread David Burgun
Hi, Yes, this really is the problem. In order to parse and identify a function/handler 100% correctly you need to do most (if not all) of the work of the TranScript Parser in the Script Compiler. In the past I've written any number of language parsers and I know it is non- trivial to get i

Re: Get a handler from a script

2006-03-20 Thread David Burgun
Hi, I think the original poster wanted to copy a function/handler from one Script to another. I was taking the more general case of wanting to know if a function/handler is defined in a script so it can be called and not cause an error if it is not defined. All the Best Dave On 20 Mar 20

Re: Get a handler from a script

2006-03-20 Thread Wouter
On 20 Mar 2006, at 02:12, Geoff Canyon wrote: I feel like the harbinger of doom here (with Alex as my able partner in doomsaying) but: This would still be subject to failure if, anywhere in the script, / * or */ appeared _not_ as block comment delimiters, but as part of a string. gc

Re: Exit Repeat

2006-03-20 Thread Chipp Walters
OOPS.. I mean put the executioncontexts (no parens) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/us

Re: Exit Repeat

2006-03-20 Thread Chipp Walters
Geoff Canyon wrote: Does anyone remember what the property containing the callstack is offhand to check this? put the executioncontexts() (i think!) -c ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subs

Re: Exit Repeat

2006-03-20 Thread Geoff Canyon
On Mar 20, 2006, at 1:08 AM, Mark Smith wrote: In fact, I tested this, and it works. Though it'd still be cleaner, somehow, to be able to test for the exit condition within the loop. Wow, you are so correct. I had thought exit to top would exit the handler it is in and all handlers in the

Re: Making the move...

2006-03-20 Thread Chipp Walters
Hi Geoff, One does come to mind, it's the startup handler(s) of my splash stack, and they are broken down serially into 7 or 8 different handlers, each numbered sequentially with a handler name. And because I want to be able to read them one after the other, I ended up programming them seria

RE: Making the move...

2006-03-20 Thread Stephen Barncard
Are you the new listmom? sqb Hey gang, Im not naming names but Im feeling some heat when it's about time I enjoy a nice Sunday evening with my family - lets leave the past in the past and kill this thread. If you want to continue on an individual basis on this topic, then please email each oth

Re: Making the move...

2006-03-20 Thread Geoff Canyon
Out of curiosity, do you have an example handy of a long handler that you think makes more sense to keep together than to break up? Or one that you think can't be broken up without significant effort to do it? When you think of a long handler, do you generally think of it as having a single

Re: Get a handler from a script

2006-03-20 Thread Mark Smith
I don't think so -- the same problems with strangely placed block comments apply, and you'll still have to establish whether the handler name (with or without on, function, getprop, setprop and end) occurs as part of a comment, or as a recursive call to itself Mark On 20 Mar 2006, at

Re: Exit Repeat

2006-03-20 Thread Mark Smith
In fact, I tested this, and it works. Though it'd still be cleaner, somehow, to be able to test for the exit condition within the loop. Mark On 20 Mar 2006, at 01:08, Geoff Canyon wrote: Close, but I don't think this will work. The exit to top in the escapeKey handler will exit that handler