Re: Feature idea: auto-complete typing in scripts
On Saturday, July 27, 2002, at 09:19 AM, Karl Becker wrote: > I'm not sure if this is possible to write a script that would do this > (it's definitely not possible very easily, I don't think), but wouldn't > it be great if, while editing an object's script, you could simply type > in the first couple characters of a variable name and the entire word > would be automatically filled out for you, just as URLs are > auto-completed in web browsers now? > > If a script could somehow keep track of the unrecognized words in a > script (those that aren't reserved by MetaCard) and then figure out > when you've typed in the first letter or two of a variable name, then > autocomplete the rest of the word (while keeping it highlighted so you > could easily change the auto-completed part, just like in a web > browser)... boy, would that be useful! > > Has anyone ever done anything like this? Ever attempted to? I'd > imagine a script could simply be put in the script editor stack > somehow... but I'm a bit chicken to attempt this all by myself :-) > -- > Karl Becker, KB Productions > http://www.karlbecker.com I believe Revolution does that. Best regards, Mark Talluto http://www.canelasoftware.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Nuther ?
Nuther question... And yes I did search the archives first... What's the best way to determine the mode of a list of numbers? MetaCard does mean (average) and median, but mode in MC is not mathematical mode. Is there a comparable command? I can write a subroutine to find it but I'd always rather use the cookie cutter if it's available. -- :) Richard MacLemale Network Administrator J. W. Mitchell High School ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Numeric sort with negative numbers
Hi there! It sounds like you might have forgotten to add the tag "numeric" to your sort command. Good Luck Jack Rarick Braintree Athletic Systems Shari wrote: > Far as I can tell, sorting a column of numbers numerically doesn't > work properly if some of the numbers are negative. It puts -500 > higher than -200. > > Do I need to write my own sort command to remedy this? > > -- > --Shareware Games for the Mac-- > http://www.gypsyware.com > ___ > metacard mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/metacard ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Numeric sort with negative numbers
Shari wrote: > Far as I can tell, sorting a column of numbers numerically doesn't > work properly if some of the numbers are negative. It puts -500 > higher than -200. > > Do I need to write my own sort command to remedy this? Hmmm... I just ran this test: on mouseUp get fld 1 sort it numeric descending put it end mouseUp In field 1 I had this: 500 100 23 -10 -100 30 -45 -50 15 ...and it sorted to this: 500 100 30 23 15 -10 -45 -50 -100 -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any Database on Any Site ___ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Numeric sort with negative numbers
Far as I can tell, sorting a column of numbers numerically doesn't work properly if some of the numbers are negative. It puts -500 higher than -200. Do I need to write my own sort command to remedy this? -- --Shareware Games for the Mac-- http://www.gypsyware.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Practical Maximum number of fields on a card
Richard MacLemale wrote: > What is a reasonable maximum number of fields you should put on a single > card in MetaCard? Could you, for example, have a stack with 50 cards, and > each card have 2,000 fields on it? What are some (if any) of the > disadvantages of putting 2,000 fields on a card? If there are problems with > this approach I can work around it, but I'm working on a project which would > really benefit from having 2000 fields, grouped together with scrollbars on > the group. Any input would be appreciated. 2000? It's hard to imagine a UI that needs that many editable text regions. What are you making? The downsides to high object counts are RAM and hit testing. And of course depending on what's in those fields it may take a while to redraw. Can't say I've ever put 2000 fields on a card, so I can't say for sure how gracefully MC would handle it. It seems easy enough to test with a repeat loop creating new fields in a test stack. Please let us know how that comes out. Offhand my first hunch would be to think of a solution which would allow a lower object count if possible -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any Database on Any Site ___ [EMAIL PROTECTED] http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Feature idea: auto-complete typing in scripts
I'm not sure if this is possible to write a script that would do this (it's definitely not possible very easily, I don't think), but wouldn't it be great if, while editing an object's script, you could simply type in the first couple characters of a variable name and the entire word would be automatically filled out for you, just as URLs are auto-completed in web browsers now? If a script could somehow keep track of the unrecognized words in a script (those that aren't reserved by MetaCard) and then figure out when you've typed in the first letter or two of a variable name, then autocomplete the rest of the word (while keeping it highlighted so you could easily change the auto-completed part, just like in a web browser)... boy, would that be useful! Has anyone ever done anything like this? Ever attempted to? I'd imagine a script could simply be put in the script editor stack somehow... but I'm a bit chicken to attempt this all by myself :-) -- Karl Becker, KB Productions http://www.karlbecker.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Practical Maximum number of fields on a card
MC Gang, I already searched the archives... What is a reasonable maximum number of fields you should put on a single card in MetaCard? Could you, for example, have a stack with 50 cards, and each card have 2,000 fields on it? What are some (if any) of the disadvantages of putting 2,000 fields on a card? If there are problems with this approach I can work around it, but I'm working on a project which would really benefit from having 2000 fields, grouped together with scrollbars on the group. Any input would be appreciated. -- :) Richard MacLemale Network Administrator J. W. Mitchell High School ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard