Re: spell checker

2002-02-25 Thread Steven Tripp

On 2/26/02 5:23 AM, "Ray G Miller" <[EMAIL PROTECTED]> wrote:

>> Ray wrote:
>> I've got a file which is a simple list of about ten thousand words.  It's
>> about 460K.  You can make your own from that.  Let me know if you want it.
>> 
>> Ray Horsley
>> 
> 
> Thanks, Ray and Andrew.
> 
> Yes, ray, I'd like to look at it. I'll expand the database from your 10K to
> 45K and see how speedy it is.

If you type "look xxx" on an OSX terminal you will get all the words in its
dictionary that begin with xxx...

Steve

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Texcolor and wordOffset

2002-02-01 Thread Steven Tripp

How do you reset the textcolor of an entire field after you have changed the
color of a few characters or words?

Does wordOffset work OK for you?  On my Mac it is not finding whole words,
but strings within words.

Steve

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Digest metacard.v004.n491

2001-10-17 Thread Steven Tripp

On 10/17/01 12:14 PM, "John Burtt" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I'm looking for a function that, when given a number, will return
> whether or not that number is odd or even. I used one in HyperCard,
> but can't seem to find it now.
> 
> Thanks,  John
> 
> Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.
> 
> 
If Trunc(x/2)=x/2 then even.


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: Multidimensional arrays

2001-08-07 Thread Steven Tripp

On 8/8/01 10:24 AM, "Jeanne A. E. DeVoto" <[EMAIL PROTECTED]> wrote:

> At 5:39 PM -0700 8/7/2001, Rodney Tamblyn wrote:
>> put "x" into test[bob]
>> put test into test2[nest]
>> 
>> I can convert the array back into a string (thanks to the
>> new commands in 2.4 beta) but is there a more direct way
>> of creating multidimensional arrays.  I am just asking in case
>> I am missing something obvious here.
> 
> Try separating the indexes with a comma:
> 
> put "x" into test2[bob,test]
> put "x" into test[foo,bar]
> put "y" into test[a,bar]
> put "something" into myArray[i,j,k]

I put a crude stack (matrix.mc) that illustrates the new matrix operations
at:

Ftp://navigator.u-aizu.ac.jp

Name: anon (not anonymous)
Password: me

Steve Tripp


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: Multidimensional arrays

2001-08-07 Thread Steven Tripp

On 8/8/01 10:24 AM, "Jeanne A. E. DeVoto" <[EMAIL PROTECTED]> wrote:

> At 5:39 PM -0700 8/7/2001, Rodney Tamblyn wrote:
>> put "x" into test[bob]
>> put test into test2[nest]
>> 
>> I can convert the array back into a string (thanks to the
>> new commands in 2.4 beta) but is there a more direct way
>> of creating multidimensional arrays.  I am just asking in case
>> I am missing something obvious here.
> 
> Try separating the indexes with a comma:
> 
> put "x" into test2[bob,test]
> put "x" into test[foo,bar]
> put "y" into test[a,bar]
> put "something" into myArray[i,j,k]

I put a crude stack (matrix.mc) that illustrates the new matrix operations
at:

Ftp://navigator.u-aizu.ac.jp

Name: anon (not anonymous)
Password: me

Steve Tripp


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: 2.4 Embedded Images Syntax/Get URL?

2001-05-29 Thread Steven Tripp

On 5/26/01 1:58 PM, "Sivakatirswami" <[EMAIL PROTECTED]> wrote:

> Can someone post an example of the new embedded image option? The info in
> the read me is still cryptic beyond my ability to make a test work.

set the imagesource of char 33 of fld 1 to 361



Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: 2.4 Embedded Images Syntax/Get URL?

2001-05-29 Thread Steven Tripp

On 5/26/01 1:58 PM, "Sivakatirswami" <[EMAIL PROTECTED]> wrote:

> Can someone post an example of the new embedded image option? The info in
> the read me is still cryptic beyond my ability to make a test work.

set the imagesource of char 33 of fld 1 to 361



Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Radio

2001-05-14 Thread Steven Tripp

I don't know if anyone is interested but WinRadio (TenTec and Icom also) has
an all-band radio-box that can be controlled by a computer.

http://www.winradio.com/home/macradio.htm

They also have source code on their site for controlling the radio.  Someone
might be interested in building a MC front end if they like radios.

Steve T.


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: Referencing Variables & Objects

2001-04-19 Thread Steven Tripp

On 4/20/01 7:00 AM, "Peter Reid" <[EMAIL PROTECTED]> wrote:

> Anyone know how I can find out the name of the actual parameters
> passed to a handler or function?  I'm trying to write some general
> handlers for processing arrays and I need to be able to determine the
> name of the actual array used when the handler/function was called.
> 
> For example, lets say I have the following handler:
> 
>  on myHandler theArray
> 
>  end myHandler
> 
> and I call it as follows:
> 
>  global myArr, hisArr
>  put 1 into myArr[1]
>  put 2 into hisArr[1]
>  myHandler myArr
>  myHandler hisArr
> 
> How can I script inside the handler to determine that the 1st call
> was with "myArr" and the second was with "hisArr".

Can't you send 
Myhandler myArr,x

Where x is the name of the array.

Steve


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: Millenium w/mc2.32

2001-04-08 Thread Steven Tripp

On 4/7/01 8:24 AM, "Sjoerd Op 't Land" <[EMAIL PROTECTED]>
wrote:
> import snapshot from rect (the rect of player "MyPlayer") of window (the
> windowID of this stack)
> -- a snapshot is taken from the player, which is imported as image
> -- so make sure that nothing overlaps the player
> 
> -- assuming that there are no other images on this card
> -- (so that the number of the image will be "1"):
> put image 1 of this card into image "ImageViewer" of card "PrintCard"
> -- or something

The image will always be the last image so:

Put last image of this card...


Steve T.


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: Millenium w/mc2.32

2001-04-08 Thread Steven Tripp

On 4/7/01 8:24 AM, "Sjoerd Op 't Land" <[EMAIL PROTECTED]>
wrote:
> import snapshot from rect (the rect of player "MyPlayer") of window (the
> windowID of this stack)
> -- a snapshot is taken from the player, which is imported as image
> -- so make sure that nothing overlaps the player
> 
> -- assuming that there are no other images on this card
> -- (so that the number of the image will be "1"):
> put image 1 of this card into image "ImageViewer" of card "PrintCard"
> -- or something

The image will always be the last image so:

Put last image of this card...


Steve T.


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: MANOVA (stats)

2001-03-29 Thread Steven Tripp

On 3/29/01 2:58 PM, "Monte Goulding" <[EMAIL PROTECTED]> wrote:

> Thanks for the reference, unfortunatley I couldn't find anything there that
> looks like what I need. I need either equations with good explanation or
> code in some reasonably comprehendable language. I thought that there may be
> someone on the list that had done this. I'm a bit frustrated because my
> honours supervisor only just told me that my program should be doing a
> MANOVA instead of multiple ANOVA's to include in reports. My stat's books
> don't even cover the process.

The best book is E.J. Pedhazur, Multiple Regression in Behavioral research.
But you'll need matrix algebra.

You might look at the free prgram, VISTA, from forrest.psych.unc.edu.

Steve


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: Two-computer games

2001-02-18 Thread Steven Tripp

On 2/17/01 2:06 AM, "Mark Talluto" <[EMAIL PROTECTED]> wrote:

> Steve,
> 
> I wrote a simple chat program that may help you.  You can modify it to send
> what ever kind of data you wish.  It is commented pretty well to explain
> what each section does.  If you want it, write me off list and I will e-mail
> it over to you.
> 
> -Mark Talluto

Thanks Mark.

I'd like to see it.

Steve


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Two-computer games

2001-02-16 Thread Steven Tripp

I had a simple idea but it it isn't working.

I want to create two stacks that "talk" to each other on different
computers.

I thought:

Stack1 accept connections on port  with "hello"
Stack2 accept connections on port 9998 "with "hello"

Stack1 open socket to IP:9998
Stack1 write "yes" to socket IP:9998
Stack1 close socket IP:9998

Stack2 hello: read from socket 9998 for 1 line
Stack2 put it

Stack2 open socket to IP:
Etc.

But I'm getting nothing.

What don't I understand?

Steve






Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: jpg of a metacard window

2001-02-12 Thread Steven Tripp

On 2/12/01 9:20 AM, "greg" <[EMAIL PROTECTED]> wrote:

> Does anyone know of a way I can generate a .jpg or .gif file of a
> metacard (windows) window? I know of utilities that will capture the
> screen, but I would like to be able to export a graphic file of the
> screen from within a metacard script.
> 
> Thanks,
> mailto:[EMAIL PROTECTED]
> 
> Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.
> 
> 
on mouseUp
  --lock screen
  put the rect of this stack into x
  set the defaultstack to the topstack
  --put the windowID  of this stack into y
  import snapshot from rect x --of window y
  select last image
  ask file "where to save this?"
  put it&".jpg" into path
  export jpeg to file path  -- or portable bitmap image
  delete last image
  choose browse tool
  --unlock screen
end mouseUp


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: jpg of a metacard window

2001-02-12 Thread Steven Tripp

On 2/12/01 9:20 AM, "greg" <[EMAIL PROTECTED]> wrote:

> Does anyone know of a way I can generate a .jpg or .gif file of a
> metacard (windows) window? I know of utilities that will capture the
> screen, but I would like to be able to export a graphic file of the
> screen from within a metacard script.
> 
> Thanks,
> mailto:[EMAIL PROTECTED]
> 
> Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.
> 
> 
on mouseUp
  --lock screen
  put the rect of this stack into x
  set the defaultstack to the topstack
  --put the windowID  of this stack into y
  import snapshot from rect x --of window y
  select last image
  ask file "where to save this?"
  put it&".jpg" into path
  export jpeg to file path  -- or portable bitmap image
  delete last image
  choose browse tool
  --unlock screen
end mouseUp


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: Network Help

2001-02-05 Thread Steven Tripp

On 2/5/01 3:37 PM, "Phil Davis" <[EMAIL PROTECTED]> wrote:

> I think there may be some quotes and commas in the wrong places. DISCLAIMER: I
> didn't test the following "should be" lines. Still, I figure when you're
> desparate, anything might help you find the answer.
> 
> Problem line:
>   put theF & "/Trakperformance.exe","1" into dIcon
> Should be:
>   put theF & "/Trakperformance.exe,1" into dIcon

There shouldn't be any difference between these because the comma is an
*operator* in MetaTalk.  It means join these two things with a comma. It
took me a long long time to realize this!

Steve


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: Serial port reading problems

2001-01-17 Thread Steven Tripp

On 1/18/01 7:02 AM, "James Parker" <[EMAIL PROTECTED]> wrote:

> 
> I'm trying to read a continuous stream of GPS data from the COM2: serial
> port but it seems after a certain point the data being read is garbled.
> Stopping the read and restarting it clears it up for a while but then it
> gets garbled again.

Is it a Garmin?   If so I have a rough stack that reads from my GPS.


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Xmas Vaccine

2000-11-29 Thread Steven Tripp

# on idle --merryxmas
# --
# pass idle
# end idle

This placed in the stack script stops the merryxmas virus.



Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: cannot install metacard in Windows 95

2000-11-16 Thread Steven Tripp

On 11/17/00 2:59 AM, "James Kelly" <[EMAIL PROTECTED]> wrote:

> Help
> Metacard has installed flawlessly for me under MacOS, Linux and Solaris
> but of course will not install under Windows 95
> I launch it and I get the Metacard splash screen which refuses to go
> away, I get an error message BEHIND the splash screen which I cannot
> read. The Splash screen colors are all weird.

Probably the screen size is too small.  I had this happen on a Vaio.

Can you resize the screen?


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.