Readable.EndOfFile vs .EOF

  1. 9 months ago

    Kem T

    15 Oct 2019 Testers, Xojo Pro, XDC Speakers, MVP Connecticut

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

  2. Markus R

    15 Oct 2019 Testers, Xojo Pro Europe / Germany / Lower Saxon...
    Edited 9 months 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

    15 Oct 2019 Testers, Xojo Pro, XDC Speakers, Third Party Store Germany

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

  4. Kem T

    15 Oct 2019 Testers, Xojo Pro, XDC Speakers, MVP Connecticut

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

  5. Greg O

    15 Oct 2019 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

    15 Oct 2019 Testers, Xojo Pro Europe / Germany / Lower Saxon...
    Edited 9 months 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

    15 Oct 2019 Testers, Xojo Pro, XDC Speakers, Third Party Store Germany
    Edited 9 months 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!