On further thought, when you compile HelloWorld.java it creates a HelloWorld.class file and a HelloWorld$SpecialNames.class file. Perhaps access to the static enum SpecialNames is through the latter...but I still have not figured it out yet.
2009/11/19 Ken <kmai...@googlemail.com>: > That does not seem to work. > > I have created a simple class below. If anyone has any idea how to > invoke " getHelloSpecial" please share. I have tried various methods > without luck so far. > > Thanks, > Ken > > > public class HelloWorld { > > public String helloWorld = "Hello World!"; > public static enum SpecialNames { > John, Jane, Alice, Mike > }; > > public String getHelloWorld(){ > return helloWorld; > } > > public static String getHelloName(String name){ > return "Hello, " + name + "!"; > } > > public String getHelloSpecial(SpecialNames name){ > return getHelloName(name.toString()); > } > > public static void main(String[] args) { > System.out.println("HelloWorld main method"); > } > } > > 2009/11/18 Michael Goffioul <michael.goffi...@gmail.com>: >> Never tried that. You might want to try something like: >> >> java_get('Asset.AssetType', 'CASH') >> >> Michael. > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev