‎2007 Sep 05 12:55 PM
HI,
what is FLAG and
what is the use of FLAG?
Plz send the documentation ...
‎2007 Sep 05 1:02 PM
Flag is nothing but a variable use to ser the value True or False
Data : gt_flag type c value 'X'.
you can set value as 'X' for True and ' ' for False
and check it for its value for your condition.
eg:
data: gt_a type i value '20'.
Data : gt_flag type c value 'X'.
if gt_a > 10.
gt_flag = ' '.
endif.
if gt_flag = ' '.
write: 'Value is gretaer tahn 10'.
endif.
reward if useful....
‎2007 Sep 05 1:02 PM
Hi,
FLAG is nothing but a Single charecter field, we declare the FLAGS in a program to check the IF ELSE condtions,
Regards
Sudheer
‎2007 Sep 05 1:07 PM
Hi,
It is of single character, it is used for indication purpose.
Thanks,
Sriram Ponna.
‎2007 Nov 02 3:06 PM
Hi,
Flag could be a single character variable of type C.
You can use flag for any purpose if you want to store some sort of counter. Flag is generally a temp variable defined within the program to check the status if its true or false.
Regards,
Ferry Lianto
‎2007 Nov 02 3:22 PM
A flag is a piece of woven cloth, often flown from a pole or mast, generally used symbolically for signalling or identification.
The first flags were used to assist military coordination on battlefields and flags have evolved into a general tool for rudimentary signalling and identification.
Flags are used in messaging, advertising, or for other decorative purposes. The study of flags is known as vexillology, from the Latin vexillum meaning flag or banner.
National flags - One of the most popular uses of a flag is to symbolize a nation or country
Civil flags - A civil flag is a version of the national flag that is flown by civilians on non-government installations or craft
Flags at sea - Flags are particularly important at sea, where they can mean the difference between life and death, and consequently where the rules and regulations for the flying of flags are strictly enforced (<b>unlike the rules on SDN</b>)
Religious flags - Flags can play many different roles in religion
In sports - Because of their ease of signalling and identification, flags are often used in sports
Swimming flags - In Australia, New Zealand, Philippines, and the United Kingdom a pair of red/yellow flags is used to mark the limits of the bathing area on a beach, usually guarded by surf lifesavers
Railway flags - Railways use a number of colored flags
In politics - Social and political movements have adopted flags, to increase their visibility and as a unifying symbol
Flagpoles - A flagpole or flagstaff can be a simple support made of wood or metal
Hope this helps