My idea for a namespacing solution
- Posted by No Solution <solutionnone at HOTMAIL.COM> Oct 23, 2000
- 401 views
What about pure OOP, this elminates all the problems that you are trying to solve. --OopDemo.ex -- using my Person demo from Sympel/STOOP class Person sequence Name,Phone integer Age public procedure Person (sequence n, sequence p, integer a) Name = n; Phone = p; Age = a; end procedure public procedure display() IO.printf(1,"Hello, my name is %s, i'm %d years old, and my number is %d",{Name,Age,Phone}) end procedure end class public class OopDemo public static procedure main(sequence cmdline) Person p p = new Person("Ian","555-2342",17) p.display() end procedure end class -- end the program would also have to be invoked like ex OopDemo.ex Notice how it's Java-like, this is because i have a new found love for Java. I REALLY like this idea, please Rob? please! Ian. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.