Problems with example script in the DO help file

Two problems with a script in the local help file on page:
Scripting > Example Scripts > Adding a new Internal Command

  1. If you copy the example script, when you paste it a lot of the newlines are gone (replaced by 4 spaces):
    (It copies correctly when copied from the online help)

  2. The script errors-out on line 56:
    If (a.modify < b.modify)
    The error:
    Object expected (0x800a138f)

Needs to be if.

1 Like

Lol yep.
Thank you!

The case of those two if lines was fixed a while ago and should already be correct if you look at the F1 help version of the manual.

I'll see if we can update the web version, as it's a few updates behind now.

1 Like