Unicode Interrogation

version 2 by Michael Martin

  • Home page
  • Beginning
  • Previous



  • Section G (for Glulx only)

    [This code comes from a post by Matthew Slattery.]

    To decide whether unicode (X - a number) is supported exactly:
    (- (glk_gestalt(gestalt_CharOutput, {X}) == gestalt_CharOutput_ExactPrint) -)

    To decide whether unicode (X - a number) is supported:
    (- (glk_gestalt(gestalt_CharOutput, {X}) ~= gestalt_CharOutput_CannotPrint) -)

    Unicode Interrogation ends here.