Readable.EndOfFile vs .EOF

  1. 5 weeks ago

    Kem T

    Oct 15 Pre-Release Testers, Xojo Pro, XDC Speakers Connecticut

    When implementing the Readable interface, it looks like you have to implement both EOF and EndOfFile. Am I missing something?

  2. Markus R

    Oct 15 Pre-Release Testers, Xojo Pro Europe / Germany
    Edited 5 weeks ago

    deprecated EOF is still there ..

    This item has been deprecated since version 2019r2 and should no longer be used.
    Please use Readable.EndOfFile as a replacement.

    ide display not the small red D
    its confusing with two of the same

  3. Christian S

    Oct 15 Pre-Release Testers, Xojo Pro, XDC Speakers, Third Party Store Germany

    Maybe a good idea for Xojo to introduce optional methods for interfaces.

  4. Kem T

    Oct 15 Pre-Release Testers, Xojo Pro, XDC Speakers Connecticut

    Or automatically use EOF if it's present and EndOfFile is not, maybe with a warning.

  5. Greg O

    Oct 15 Xojo Inc scout.galaxy.barn

    @ChristianSchmitz Maybe a good idea for Xojo to introduce optional methods for interfaces.

    That kinda defeats the purpose, doesn’t it?

  6. Markus R

    Oct 15 Pre-Release Testers, Xojo Pro Europe / Germany
    Edited 5 weeks ago

    if the interface is generated if you use it in a class the deprecated EOF can't filled by default?

    'deprecated ..
    Return EndOfFile 

    but better it not appear as duplicate

  7. Christian S

    Oct 15 Pre-Release Testers, Xojo Pro, XDC Speakers, Third Party Store Germany
    Edited 5 weeks ago

    @Greg OLone That kinda defeats the purpose, doesn’t it?

    Apple has ton of interfaces for delegates with optional methods.

or Sign Up to reply!