Defining locals or constants

Mark Schonewille m.schonewille at economy-x-talk.com
Thu May 15 06:26:11 EDT 2008


Hi David,

What you want is not possible. You have to use a function and can't  
use this function to define a local variable in the way you want.

function someFunction
   return 6
end someFunction

Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz

Op 15-mei-2008, om 12:21 heeft David Bovill het volgende geschreven:

> Not as far as I can see:
>
> local SomeLocal = testFunction()
>
> function testFunction
>     return 6
> end testFunction
>
> Will not compile here?






More information about the use-livecode mailing list