Alan Freedman -- The Computer Language Company - Computer Desktop Encyclopedia
Computer Desktop Encyclopedia
Longest-Running Tech Reference on the Planet

A CDE Definition

You'll love The Computer Desktop Encyclopedia (CDE) for Tech Term of the Day (TTOD)



Identifying data or a process by embedding a code (flag) in it. See flag.


(1) In communications, a code in the transmitted message which indicates that the following characters are a control code and not data.

(2) In programming, a "yes/no" indicator used to represent the current status of something. A flag is often only one bit of the byte and is created and controlled by the programmer in software. When only a single bit is used, eight flags, or status conditions, can be represented by one byte. Flags can also be built into and turned on and off by hardware, in which case the software is used only to read the flag to determine the current condition of the device.

(3) A Unix command line argument. The symbol is a dash. For example, in the command head -15 filex, which prints the first 15 lines of the file FILEX, the -15 flag modifies the Head command.

(4) To identify an element of data or a process by embedding a code (flag) in it.

Personal Use Only

Before/After Your Search Term
fixed pointflagship phone
fixed satelliteflagship product
fixed wirelessflame
fixed wireless WISPflame bait
FJ connectorFlame virus
FKflame war

Terms By Topic
Click any of the following categories for a list of fundamental terms.
Computer Words You Gotta KnowSystem design
Job categoriesUnix/Linux
Interesting stuffPersonal computers
InternetIndustrial Automation/Process Control
Communications & networkingAssociations/Standards organizations
HistoryDesktop publishing
ProgrammingHealthcare IT
System design