Uniface User Forum

 View Only
  • 1.  compiled glyph name derived

    Posted 03-30-2023 03:33

    Hi

    How is the name of a compiled glyph derived.  Specifically this bit(iw00011011).

    It seems to be to do with uglyph.uclass 

    myglyph@library@usa@iw00011011.gly

    Thanks



    ------------------------------
    Osman Shariff
    ------------------------------


  • 2.  RE: compiled glyph name derived

    ROCKETEER
    Posted 04-05-2023 05:12

    That is the class info that includes the size and GUI platform of the glyph. See also the remark for UGLYPH.DICT in the doc topic *.DICT.

    "The glyph class includes the size and GUI platform; this means that a single image with different sizes is created as separate occurrences in UGLYPH."

    The info is encoded slightly different in the object name than what can be found in the source field UCLASS of UGLYPH.DICT. This to avoid any "illegal" characters in the object name.

    I hope this helps.



    ------------------------------
    Daniel Iseli
    Principal Technical Support Engineer
    Uniface Services
    Rocket Software, Switzerland
    ------------------------------



  • 3.  RE: compiled glyph name derived

    Posted 04-05-2023 09:12

    How can I derive the compiled object name if I know the uclass value?

    What is the slightly different bit...



    ------------------------------
    Osman Shariff
    ------------------------------



  • 4.  RE: compiled glyph name derived

    ROCKETEER
    Posted 04-05-2023 09:42

    What are you trying to achieve here? You could (e.g.) use $ude ("lookup") to retrieve a list of glyphs in the resources output folder ($RESOURCES_OUTPUT). This will also return the class as stored in the glyph source (UCLASS.UGLYPH.DICT).

    I hope this helps.



    ------------------------------
    Daniel Iseli
    Principal Technical Support Engineer
    Uniface Services
    Rocket Software, Switzerland
    ------------------------------



  • 5.  RE: compiled glyph name derived

    Posted 04-05-2023 10:46

    Thanks Daniel

    What I intended was to copy a compiled glyph file to a production folder, based on the glyph name and not the file name.
    However, $ude lookup or even an $ldirlist will work fine.




    ------------------------------
    Osman Shariff
    ------------------------------