or something like: myclass():new( top => 10, left => 20; text => text to print, enable =>.T. ), myclass():move( x => 5, y =>5 )
But how can the compiler or the runtime understand when you want to pass a string (in your case) or a hash (in my case) ? The positive on your side is that you can build the parameter string at runtime.... Well, actually in my case it's not really a hash... so perhaps the preprocessor can do some magic.... infact if the function is already defined and the preprocessor keeps the definition in memory it could do the magic... Or the job can be done by the compiler.... _______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
