powered by simpleCommunicator - 2.0.60     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Visual Basic [игнор отключен] [закрыт для гостей] / Массив
5 сообщений из 5, страница 1 из 1
Массив
    #32688759
DЭN
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Cуществует ли какая нить функция очистки массива?
...
Рейтинг: 0 / 0
Массив
    #32688844
marvan
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
ReDim a(0 to 10)
...
Рейтинг: 0 / 0
Массив
    #32688846
Фотография big-duke
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
redim при условии , массив был объявлен dim a() as ...
...
Рейтинг: 0 / 0
Массив
    #32688935
Фотография Victosha
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Erase


(с выражением лица)
...
Рейтинг: 0 / 0
Массив
    #32688936
Дурак
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Долго мы будем сюда MSDN копировать?


Use Dynamic Arrays and Erase to Reclaim Memory
Consider using dynamic arrays instead of fixed arrays. When you no longer need the data in a dynamic array, use Erase or ReDim Preserve to discard unneeded data, and reclaim the memory used by the array. For example, you can reclaim the space used by a dynamic array with the following code:

Erase MyArray

Whereas Erase completely eliminates the array, ReDim Preserve makes the array smaller without losing its contents:

ReDim Preserve MyArray(10, smallernum)

Erasing a fixed-size array will not reclaim the memory for the array — it simply clears out the values of each element of the array . If each element was a string, or a Variant containing a string or array, then erasing the array would reclaim the memory from those strings or Variants, not the memory for the array itself.

(c) MSDN April 2001
...
Рейтинг: 0 / 0
5 сообщений из 5, страница 1 из 1
Форумы / Visual Basic [игнор отключен] [закрыт для гостей] / Массив
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]