Probably a dq, but..
Is it possible to write a method, apart from _read and _write, on a property of 
a class? Specifically, I'd like to implement a boolean function to return true 
if the property has a specific value. Something along the lines of 
MyClass.MyDateProperty.IsFuture() which would return true if the current value 
of the property is a date in the future?
There are obvious solutions along the lines of If 
MyClass.MyDateProperty>Date(Now()), I'm just trying to shortcut coding common 
checks in the client class.

regards
Bruce

-- 
B Bruen <adamn...@gnail.com (sort of)>

------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to