4D allows you to print methods. The display mode of loops and conditions is not taken into account when printing methods. When loops and conditions are collapsed in the Method editor, the source code is always expanded and vertical lines outline the conditions and loops when the method is printed.
To print a method:
1. Launch 4D in Design mode.
2. Open a method in the Method editor.
3. Select Print… from the File menu