DIALOG_STYLE_MSGBOX : problem
#5

Quote:
Originally Posted by Saleem
Посмотреть сообщение
this is increasing size of words ? new string[300];

if i change it to new string[600]; then what will happened ?
The number after a variable indicates how big the array size is, in fact you should see an array as all boxes, Variable[2] therefor has 2 boxes, in box 0 ( Variable[0] ) you can insert a number or letter and in box 1 ( Variable[1] ) you can insert a number or letter. So, as you asked, "new string[300]" can hold up to 300 characters ( 0 - 299 ) and if you change 300 to 600 it can hold up to 600 characters ( 0 - 599 ).

I hope you understand it a little bit,

best regards,
Jesse
Reply


Messages In This Thread
DIALOG_STYLE_MSGBOX : problem - by Saleem - 21.06.2013, 15:28
Re: DIALOG_STYLE_MSGBOX : problem - by SilverKiller - 21.06.2013, 15:33
Re: DIALOG_STYLE_MSGBOX : problem - by Saleem - 22.06.2013, 07:42
Re: DIALOG_STYLE_MSGBOX : problem - by ArmandoRamiraz - 22.06.2013, 08:50
Re: DIALOG_STYLE_MSGBOX : problem - by jessejanssen - 22.06.2013, 09:14

Forum Jump:


Users browsing this thread: 2 Guest(s)