Re: [NTLK] Compile(str)

From: Victor Rehorst (victor_at_newtontalk.net)
Date: Thu May 23 2002 - 06:20:42 EDT


On Wed, 22 May 2002 Rgdtad_at_aol.com wrote:

> How do I use 'Compile'? I have tried everything I can think of, and it still
> throws an error when I try to use the func. I have the string "Pow(x,2)",
> and I am trying to get the following:
>
> MyFunction: func(x)
> Pow(x,2)
>
> How do I do that?

Check out the Newton Programmers' Reference, page 23-112 (page 1282 of the
PDF). There's an example there too.

Don't have the NPR?

http://newyork.unna.org/unna/apple/documentation/developer/

-- 
Victor Rehorst - victor_at_newtontalk.net - chuma_at_chuma.org
NewtonTalk list administrator - http://www.newtontalk.net
Will help you with your list problems - as long as you're nice.

-- Read the List FAQ/Etiquette: http://www.newtontalk.net/faq.html Read the Newton FAQ: http://www.guns-media.com/mirrors/newton/faq/ This is the NewtonTalk mailing list - http://www.newtontalk.net



This archive was generated by hypermail 2.1.2 : Wed Jun 12 2002 - 20:02:37 EDT