Blitz (117/176)

From:Steve Hargreaves
Date:28 Jul 2001 at 07:36:57
Subject:MUIList prob (2)

Hello again,

OK, after having sat up all night (again - I hate coding sometimes) I`ve come to
the conlusion that the MUIList command doesn't work with List Arrays.

So...I've recoded using a standard array. However, my MUIList will change on a
number of occasions during the course of the program. Setting up the list the
first time there's no problem. However, if the list shrinks, simply using a
MUIChangeList command leaves me with remnants from the old list, presumably
picked up from the array. If I go through clearing the array entries to "" then
I get blank entries in the list from the end of the new list to the original
size.

I have worked around this using MUI methods to delete surplus entries after the
list is recreated, but I'd like to know if there is any way to Null terminate my
array at any point I choose. (BTW, it's a string array).

When it is first initialised, the array must have termination in each cell,
otherwise it would overrun to it's max size each time. So how do I restore this
once a cell is no longer required.

All the best

Steve.
========================================================
//Amiga 1200, '060/50, OS3.9, EZ-Tower, Dopus,
// PC Keyboard W EZ-Key, 56K modem, 2+16 Meg,
\\ // NEC 2A Multisync, Logic 3 SpeedMouse, HPDJ610C,
\\/ Sega Controller, & no hair.

=========================================================
You cannot kill time without injuring eternity.
-- Thoreau

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie