Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bionet!ames!amdahl!pacbell!att!lzaz!hcj From: hcj@lzaz.ATT.COM (HC Johnson) Newsgroups: comp.sys.amiga Subject: Re: Struggling through the "C" Summary: its != NOT =! Message-ID: <522@lzaz.ATT.COM> Date: 4 Apr 89 20:49:17 GMT References: <12000@louie.udel.EDU> Organization: AT&T ISL Lincroft NJ USA Lines: 19 In article <12000@louie.udel.EDU>, LIZAK98%SNYBUFVA.BITNET@cornellc.cit.cornell.edu (A SHOW OF HANDS) writes: > > FOR I=1 TO LEN(A$) > PRINT MID$(A$,I,1); > NEXT I > > > for(i=0;a[i]=!'\0';i++) > printf("%c",a[i]); The C construct for not equal is != also useful <= and >=. The =! has meanings you are not ready for. Howard C. Johnson ATT Bell Labs att!lzaz!hcj hcj@lzaz.att.com