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

 > Your baz example, for instance, would be handled
 > simply by knowing when you've entered, and when you've
 > left, a single-quote "string" (I can't recall the term
 BB>     It's called indirect reported speech, Darin, or 
 BB> single inverted commas.
I'm not an English major - and I was looking for the term that C uses, not 
that English faculties use...
 BB>     For program purposes it's easier than that. Just 
 BB> establish two variables SINGLEQUOTE and DOUBLEQUOTE, 
 BB> and then keep them set or reset according to the state 
 BB> of text at your text pointer. Child's play. :-)
I know how to do it - I had posted the pseudo code already.  :-)
 BB>     When do we see your actual program?
When I have enough time torn away from learning Java and DB2.  :-)
---
---------------
* 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™.