Tech Note: Implementing Singleton Classes with Static Member Functions in 4D
PRODUCT: 4D | VERSION: 18 R3 | PLATFORM: Mac & Win
Published On: December 29, 2020
As of 4D V18R3, 4D counts with a number of tools and new features for object-oriented programming (OOP). The implementation of this paradigm includes the appearance of keywords including Class Constructor for user class definition or Class extends for object inheritance from parent classes. As we explore more of 4D’s capabilities and best-practices, it is sure to claim that 4D is indeed ready for a generation of OOP.
Download Complete Tech Note: Tech Note Document
Commented by Eric Marchand on April 11, 2021 at 10:32 PM
see discuss
https://discuss.4d.com/t/instantiating-a-class-once/16646/49
the code in this kb is a singleton ?