vba - Does the ReDim statement intialise String Arrays with empty strings? -


Looking at the following statements in VBA:
Assume that val = 4 and

string radem data STR (Val ) As

Will the redeem statement string an array of data STI be increased from 5? Option Base 0

  Moderate data STR () empty string element (0 to 4). 
Then what will be the content of the array after the execution of the Sedim Statement.

  sub-redimStringArray () in the form of dim val as integer dimension (STR) Long-Term String Id = ID for IDX = 4 Radium Data for STR = Idle ID = Liband (Data STR) debug print IDX, "" "& amp; DataStr (IDX); "" ", TypeName (Data STR (IDX)), Lane (DataSTR (IDX) Next End Sub  

gives me this:

  0 "String 0 1" "String 0 2" "String 0 3" "String 0 4" "String 0  

So I would say yes, with redemption empty space again Starts the wire.


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -