[chuck-users] Globally shared functions

Adam Tindale adamtindale at hotmail.com
Thu Mar 2 17:51:10 EST 2006

Hey Mike,

The public keyword is tied to classes right now. You could try using  
the static keyword. For now the use of the static and public keywords  
are a little iffy.

Let us know how the experiments go.


On 2-Mar-06, at 10:02 AM, Mike McGonagle wrote:

> Hello all,
> I was wondering if there is a way to create a global function that
> could be shared by many public classes? I had been working with some
> functions that were NOT in a class, but once I changed the class to
> public, those functions were no longer accessible, even though they
> were in the same file.
> Mike
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

More information about the chuck-users mailing list