I have a very simple bit of code which isn't doing what it should and I'm most perplexed.
The code below has all be cut and pasted directly from a subroutine. It should dim a set of arrays (four string, one integer) and then redim them to fix their required sizes. All very simple.
dim control_temp(-1),control_temp2(-1), control_temp3(-1),control_temp4(-1) As String
dim deleteme(-1) as integer
However, when I debug the programme, it seems that whilst the integer array is sized appropriately, the string arrays are not. Instead
I get a report which says (when max_years=70 and (max_thresholds-1)=40)
This all makes no sense to me. It's getting late and I'll look again tomorrow, but any ideas very welcome