Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

symbol,icon

Former Member
0 Likes
781

In lists what is the difference between symbol and icon?

In lists what is the difference between symbol and icon?

3 REPLIES 3
Read only

Former Member
0 Likes
746

i dont think there is any difference between symbol n ICON

Read only

abdul_hakim
Active Contributor
0 Likes
746

hi

basically there are no difference between symbols and icons.

Both can be used to represent something in pictorial form.

Cheers,

Hakim

Read only

Former Member
0 Likes
746

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