--- In [EMAIL PROTECTED], "brucexs" <[EMAIL PROTECTED]> wrote:
> 
> It worked fine in my limited tests.  Can you give more info on what 
> you are doing.

I tried again - but the same result. It works problem free with the 
old vec.dll but not at all with the new one. Below is a section of my 
script. Doublesort at >>>>>>>>>>>>>> 


;---------------------------------------------------------------------
; Read The Note Handels + First Line Text of Current Category/Note 
; And Sort The Note Text + The Handels Belonging to The Text 
;---------------------------------------------------------------------
    
    HANDLELIST = note.handlelist(CATEGORY,0)
   

    ;Define Vectors
    vTEXT   = vec.create(60,1,60)
    vHANDLE = vec.create(60,1,60) 

    for (J=1;1;J=J+1)

        HANDLE = word(HANDLELIST,J)
  
        if (HANDLE eq "")
                break   
      
        NOTETEXT=note.gettext(HANDLE,0,35)

        vec.set(vTEXT,J,NOTETEXT)
        vec.set(vHANDLE,J,HANDLE)

    endfor

;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
; HERE IS THE DOUBLESORT
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

    vec.doublesort(vText,vHANDLE)

;---------------------------------------------------------------------
; Move The Sorted Notes
;---------------------------------------------------------------------

   ;read the sorted handles
    for (J=0;1;J=J+1)

 
        HANDLE = vec.get(vHANDLE,J)
  
        if (HANDLE eq "")
                break   
    

        ISROLLED = note.isrolled(HANDLE)
        
        if (ISROLLED eq 0) do
         
            ;If Roll-up is selected roll-up all notes
            ;If Roll-up is not selected leave not rolled notes 
            ;alone   
            if (rollup) do
                note.roll(HANDLE)
            else
                jump NoMoveWhenNotRolled
            endif

        endif
                            

        note.move(HANDLE,COLUMN,LINE) 
        LINE = LINE + NOTESPACE

        NEWSCREENCOLUMN = ""

        if (LINE GT SCREENHEIGHT) do
            LINE = STARTLINE
            COLUMN = COLUMN + SCREENCOLUMNJUMP
            NEWSCREENCOLUMN = 1
        endif

        @NoMoveWhenNotRolled

    endfor

   ;Delete Vectors
    vec.destroy(vText)
    vec.destroy(vHANDLE)






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to