Put the word private at the start of the function definition. i.e. private function myFunc ... end myFunc
On 27 Sep 2015 at 21:51:13 AEST, Peter W A Wood <[email protected]> wrote: > Is there any way to define a function within a script that can only be called > within that script? > > Peter > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
