Skip to Content
author's profile photo Former Member
Former Member

symbol,icon

In lists what is the difference between symbol and icon?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2008 at 02:51 PM

    i dont think there is any difference between symbol n ICON

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 30, 2008 at 02:54 PM

    hi

    basically there are no difference between symbols and icons.

    Both can be used to represent something in pictorial form.

    Cheers,

    Hakim

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 05:25 AM

    Hi,

    AS SYMBOL

    Effect

    This addition outputs all the characters of the data object dobj as symbols. By including the type group SYM or the general Include program <LIST> in the global declaration part of the program, constants of the length 1 are declared for each character that can be appropriately displayed as a symbol - that is, characters whose names show the meaning of the respective symbol. The names of the constants and the meaning and length of the symbols can be taken from the type group or from the output of the executable program SHOWSYMB.

    Note

    The output length is determined, as usual, either implicitly by the data type of dobj or by an explicit specification.

    Example

    Displaying a hand symbol.

    INCLUDE <list>.

    WRITE sym_left_hand AS SYMBOL.

    AS ICON

    Effect

    This addition outputs icons. Be aware of the fact that not all icons are suitable for print lists. For dobj, data objects of the type c must be specified whose initial characters of the runtime environment can be interpreted as coding of an icon. Such data objects can be declared by including the type group ICON or the general Include programs <LIST> in the global declaration of the program.

    In the type group, a constant is declared for each icon that can be displayed. The names of the constants can be taken from the type groups or the output of the executable programs SHOWICON. This program also shows the corresponding output length and whether an icon can be printed or not.

    If the content of dobj cannot be interpreted as an icon or the content is changed by concurrent use of other additions for internal formats or external formats, blanks are output instead of icons.

    Notes

    None of the additions from the internal formats and external formats are forbidden. When the additions are used, care must be taken that the content of dobj can be interpreted as an icon.

    The output length is determined, as always, either implicitly through the data type of dobj or through an explicit specification. Characters of the output area that do not have the icon are set to blanks.

    Example

    Displaying a traffic light icon.

    INCLUDE <list>.

    WRITE icon_green_light AS ICON.

    Regards,

    Renjith Michael

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.