Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности

Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
28.04.2005, 12:38
|
|||
|---|---|---|---|
Коллекции и структуры в VB Script |
|||
|
#18+
Люди, помогите!!! Как создать коллекцию в VB Script? Чтобы можно было делать так: Код: plaintext 1. 2. 3. 4. Как создать структуру в VB Script? Чтобы можно было делать так: Код: plaintext 1. 2. 3. Можно ли сделать что-то подобное? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
28.04.2005, 14:02
|
|||
|---|---|---|---|
Коллекции и структуры в VB Script |
|||
|
#18+
Единственное, что просматривается: script56.chmDictionary Object See Also FileSystemObject Object | TextStream Object Language JScript VBScript Show All Object that stores data key, item pairs. Remarks A Dictionary object is the equivalent of a PERL associative array. Items can be any form of data, and are stored in the array. Each item is associated with a unique key. The key is used to retrieve an individual item and is usually a integer or a string, but can be anything except an array. The following code illustrates how to create a Dictionary object: Dim d ' Create a variable. Set d = CreateObject("Scripting.Dictionary") d.Add "a", "Athens" ' Add some keys and items. d.Add "b", "Belgrade" d.Add "c", "Cairo" ... Methods Add Method (Dictionary) | Exists Method | Items Method | Keys Method | Remove Method | RemoveAll Method ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
28.04.2005, 14:23
|
|||
|---|---|---|---|
Коллекции и структуры в VB Script |
|||
|
#18+
Спасибо попробую так сделать ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
02.09.2010, 08:44
|
|||
|---|---|---|---|
Коллекции и структуры в VB Script |
|||
|
#18+
Processor, У меня не работает вот такая конструкция: Код: plaintext Если быть точнее, то: Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
02.09.2010, 08:53
|
|||
|---|---|---|---|
Коллекции и структуры в VB Script |
|||
|
#18+
Нашла в тырнете Dictionary.Remove Method (VB6) Named Arguments Yes Syntax dictionaryobject.Remove key dictionaryobject Use: Required Data Type: Dictionary object A reference to a Dictionary object. key Use: Required Data Type: String The key associated with the item to be removed. Description Removes both the specified key and its associated data (i.e., its item) from the dictionary. Rules at a Glance If key doesn’t exist, runtime error 32811, “Method ‘Remove’ of object ‘IDictionary’ failed,” occurs. Теперь у меня: Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=60&tablet=1&tid=2159460]: |
0ms |
get settings: |
10ms |
get forum list: |
15ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
39ms |
get topic data: |
14ms |
get forum data: |
3ms |
get page messages: |
52ms |
get tp. blocked users: |
2ms |
| others: | 236ms |
| total: | 379ms |

| 0 / 0 |
