delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/04/08:07:55

From: Dietmar DOT Segbert AT T-ONLINE DOT de (Dietmar Segbert)
Newsgroups: comp.os.msdos.djgpp
Subject: syntax for hex and binary
Date: 04 Feb 2001 13:38:00 +0100
Organization: T-Online
Lines: 20
Message-ID: <7vEMlT$6JVB@0256597511.t-online.de>
Mime-Version: 1.0
X-Trace: news.t-online.com 981291566 03 6245 icZtPhSSfHcYV 010204 12:59:26
X-Complaints-To: abuse AT t-online DOT com
X-Sender: 0256597511-0001 AT t-dialin DOT net
X-Newsreader: CrossPoint v3.12d R/A22565
X-Mailer: NOS-BOX 2.05
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello,

in a program, that ic will compile i found a line

qm100_sppeed = B115200


The variable qm100_speed ist declared in main.h as int. It will be use for  
setting the serial port.

And GCC makes a error like undeclared _B115200 ...

A integer 16 will be written in hex as 0x10, but who is the syntax for  
binary?

Thanks.

Dietmar


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019