TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: BILL GODFREY
from: DARIN MCBRIDE
date: 1998-02-16 09:12:00
subject: Comment parsing

 BG> void invert(float *f)
 BG> {
 BG>         *f=1/*f;
 BG> }
This won't work because of C parsing rules - the longest possible token wins. 
 In this case, the longest possible token is "/*" TOGETHER.  To get what you 
want, you MUST put a space between the / and the *, or otherwise split them 
(i.e., use parenthesis).
---
---------------
* Origin: Tanktalus' Tower BBS (1:250/102)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.