Announcement

Collapse
No announcement yet.

Problems with Array Sort

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bob Zale
    replied
    Originally posted by Fred Katzel:
    I'm having problem with ARRAY SORT(). I have 21 entries but when I come to sort them only the first
    17 entries are sorted. When I come to print out the sort the first 4 entries are reported to be 0.0.

    Any ideas what's happening and how to correct this problem?
    Well, since all variables are initialized to zero or nul, it's highly likely that only 17 array elements have been assigned non-zero values. The other four are likely untouched. I'd suggest you first take a very close look at that possibility.

    Bob Zale
    PowerBASIC Inc.


    ------------------

    Leave a comment:


  • Mel Bishop
    replied
    Kinda sparce info to go on. How about posting a code snippet
    and let's take a look at it.


    ------------------

    Leave a comment:


  • Fred Katzel
    started a topic Problems with Array Sort

    Problems with Array Sort

    Hi

    I'm having problem with ARRAY SORT(). I have 21 entries but when I come to sort them only the first
    17 entries are sorted. When I come to print out the sort the first 4 entries are reported to be 0.0.

    Any ideas what's happening and how to correct this problem?

    Fred K

    ------------------
Working...
X
😀
🥰
🤢
😎
😡
👍
👎