Product

Easy Reference Comparison of Objects & Collections

Objects have become an essential part of the 4D language and of Qodly.

But when you declare a variable of this type, you define a reference. So, how do you know if two objects are, in fact, just one and share the same reference?

Starting with 4D 20 R6, comparing object references is simple: enter the = and # operators!

This blog post explores these operators and how they help determine if objects share the same reference. Let’s find out more!

Product blank

The Use of Formulas in Collections & Callback Commands

When you use collections with a member method that needs a callback method, many of you have asked us for a more straightforward way.

You asked; we delivered!

Starting with 4D v19 R6, 4D allows you to use a formula to define a callback in the collection member functions, the EXECUTE METHOD IN SUBFORM, CALL FORM, and CALL WORKER commands. If you can reduce your code to a simple expression, you can pass it directly into the formula without using a method.