Glimmr Drawing Commands

version 2/101030 by Erik Temple

  • Home page
  • Beginning
  • Previous
  • Next



  • Chapter - Look up the char number from a text-string

    To decide which number is the character code of position (N - a number) of (T - an indexed text):
        (- ParseStringToChar({N}, {T}); -)

    Include (-

    [ ParseStringToChar pos txb len ch;
        len = BlkValueExtent(txb);
        pos = pos - 1;
        ch = BlkValueRead(txb, pos);
        return ch;
    ];

    -).