Hi John,

Yes, you are right about the problem with the file selection menu.

I've now received a new set of Easyptr extensions from Marcel Kilgus 
to deal with the single filename case - it seems that in current 
Easyptr extensions, MAWDRAW does not correctly display a single item 
array slice unless the array is DIMensioned 'wider' than the text it 
contains. As you said, the last two characters in the single filename 
menu were being corrupted in the displayed menu but the correct 
filename was returned.

The issue of sorting two filename lists turns out to be a bug in the 
sorting routine which is caused by the shell sort routine used being 
designed for arrays with subscripts starting at 1. In QL BASIC, the 
array subscripts for a two filename list are 0 and 1. The Shell Sort 
routine divides the array into smaller clusters for sorting by 
dividing the highest subscript by two, unfortunately 1 DIV 2 is 0, so 
the program never manages to escape from the sorting loop, hence the 
lockup you described if the two filenames are not already sorted.

I'm working on a new version and will upload it soon.

-- 
Dilwyn Jones


> Hi Dilwyn,
>
> Any progress on the file selection problems in Launchpad?
> You normally get back to me so quickly, I can only assume you are 
> having problems with this!
> No rush, as long as I'm careful not to sort 2 filename lists! The 
> problem with single filenames
> is only a tidiness issue, it doesn't seem to affect the filename 
> actually selected.
> The problem with PE2 went away as long as I used the previous 
> version as you suggested.
>
> John Perry 



-- 
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 02/12/2005

_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to