flag

Part of the TechTarget Network of Enterprise IT Web Sites
Home Look It Up ITKnowledge Exchange Fast References Products White Papers Blogs

Search our IT-specific encyclopedia for:
 
OR Jump to a topic:
 
Advanced Search
Browse alphabetically:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z #
All Categories Programming

flag

In programming, a flag is a predefined bit or bit sequence that holds a binary value. Typically, a program uses a flag to remember something or to leave a sign for another program. For example,  in a message being exchanged by two programs, a three-bit flag's field or data area might be set to one of three configurations:

001 (meaning "I'm a self-contained message")
011 (meaning "I'm one of several chunks of data in this message")
111 (meaning "I'm the last chunk of data in this message")

Flags have many uses. One of the more controversial applications was the broadcast flag, copy protection encoding for broadcast digital television (DTV) signals, proposed by the Advanced Television Systems Committee.







Read more about it at:
> Junfeng Zhang's Windows Programming Notes blog explains "flags" in the commmand line in Vista.
> The Code Project has an article explaining the rudiments of how to deal with Flags in C++.
Last updated on: Jul 03, 2008

>  Enterprise Software related Research & News
>  White Papers for the Retail Industry

Are you a Know-IT-All?
What does the i in iSCSI stand for?
Answer

WORD OF THE DAY...
full-disk encryption (FDE)
LEARN MORE ABOUT...
business intelligence tools
Buzz Alert: Facebook Connect
Every File Format in the World
Learning Guides and Tutorials
Our Favorite Cheat Sheets
Our Latest Discovery
Our 60 tech-specific sites
Tech Trivia
Writing for Business
WhatIs.com RSS Feeds
Home Look It Up ITKnowledge Exchange Fast References Products White Papers Blogs
About Us   |   Contact Us   |   For Advertisers   |   For Business Partners   |   Reprints   |   RSS   |   Awards
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts