You don't need a declaration for int p, and the line with = separately. You can write int p = tree.getPrice(); I actually tried condensing your code, so your method comes out as: and it compiles and runs nicely.
I have also reverted to your original code, and it compiles without any reported errors. [ October 16, 2005: Message edited by: Campbell Ritchie ]
Joined: Nov 18, 2003
Ahh ... big thanx. I thought I was going crazy.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com