$glphyexists()

Author: i2stiller@gmx.de (istiller)

Hi Does anyone knows, if there is a function like $glyphexists("NameOfGlyph") ? I'm trying to implement a fallback mechanism for glyphs. "If the desired size/color deep is not defined, use the next one" But how to do at runtime at costumer site? Ingo

2 Comments

  1. Hi Ingo, Have you already tried to do something like '$dirlist("$res:gly\NameOfGlyph*")'? If the glyph 'NameOfGlyph' does not exist then $dirlist will return nothing and otherwise it should return a list with the compiled files that match 'NameOfGlyph'. This, of course, can only work when using File-Only Classic Deployment (DOL) or Standardized Deployment. Hope this helps. Daniel


    Author: diseli (daniel.iseli@uniface.com)
  2. Hi Daniel 'just found $dirlist in the world wide web :-) I'll check this solution But thanks anyway Ingo


    Author: istiller (i2stiller@gmx.de)