Re: ordinate a sequences of number



...I undertstood my error! Now I read all my numbers before,then I
compare them.
I want that POS() contains the sorted data :
for example, given data
9 3 4
POS() should contain
3 4 9
but my program has given to me all zero yet ...why??
Sorry very much but I 'm not practise with programs....I'm learning!

.



Relevant Pages

  • Re: ordinate a sequences of number
    ... Look up "comb sort". ... what do you want POS() to contain? ... The sorted data OR the index ... Then you must modify your sort routine so that it ...
    (comp.lang.fortran)
  • Re: RandomAccessFile Seek (find CR)
    ... This project was for a lab, and was meant for use with a specific file. ... pos = Math.abs) % f.length; ... When you compare two strings for equality use the equalsmethod of String rather than compareTo. ... else seek the file back two bytes and go back to read a character ...
    (comp.lang.java.help)
  • Re: comparing strings
    ... Only need to compare the 6.15. ... only going to work for the single digits. ... Dim pos As Long, result As String ... 'this finds the index of the 2nd dot ...
    (microsoft.public.access.formscoding)
  • Re: Lisp success stories
    ... their logo is a POS. ... Compare, for instance, ... distracting graphics (looks more like a page oriented to kids than a programming site). ...
    (comp.lang.lisp)
  • Re: OT Iraq was an absolutely disastrous decision
    ... The Bush apologists always compare their idiot king to Bill Clinton, ... like that POS is some kind of benchmark. ...
    (rec.radio.shortwave)