June 20, 2002 Re: internal error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonathan Andrew | "Jonathan Andrew" <jon@ece.arizona.edu> wrote in message news:3D111140.2000009@ece.arizona.edu... > Are < and > supposed to work on arrays yet? I really don't > want to use strcmp()! Yes, they should. |
June 20, 2002 Re: internal error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | "Walter" <walter@digitalmars.com> escribió en el mensaje news:aer8jq$6qp$1@digitaldaemon.com... > > "Jonathan Andrew" <jon@ece.arizona.edu> wrote in message news:3D111140.2000009@ece.arizona.edu... > > Are < and > supposed to work on arrays yet? I really don't > > want to use strcmp()! > > Yes, they should. > So, if I say if (charArr1 < charArr2 || charArr1 > charArr2) { //arrays are different ... } else { //array are the same ... } it should work? |
June 20, 2002 Re: internal error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos | Sounds inefficient. Sean "Carlos" <carlos8294@msn.com> wrote in message news:aerm5r$jrl$1@digitaldaemon.com... > > "Walter" <walter@digitalmars.com> escribió en el mensaje news:aer8jq$6qp$1@digitaldaemon.com... > > > > "Jonathan Andrew" <jon@ece.arizona.edu> wrote in message news:3D111140.2000009@ece.arizona.edu... > > > Are < and > supposed to work on arrays yet? I really don't > > > want to use strcmp()! > > > > Yes, they should. > > > So, if I say > > if (charArr1 < charArr2 || charArr1 > charArr2) { //arrays are different > ... > } else { //array are the same > ... > } > > it should work? |
June 20, 2002 Re: internal error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean L. Palmer | "Sean L. Palmer" <seanpalmer@earthlink.net> escribió en el mensaje news:aermv1$kgr$1@digitaldaemon.com... > Sounds inefficient. > > Sean > i know, but would it? (too late here to code something) |
Copyright © 1999-2021 by the D Language Foundation