Replace conditional statement with Polymorphism

Martin Obongita martin.obongita at yahoo.com
Fri Jul 1 18:45:32 UTC 2022


Hi Listers,
I have an academic question about object-oriented programming.How is "polymorphism" implemented in Omnis Studio?
I have many conditional statements in my code: if...else if, switch...case that keeps breaking whenever I make a change in a related method elsewhere.Is there a sample library in the HUB which best described how to work with code that can take many forms?
Kind regards,Martin O.



More information about the omnisdev-en mailing list