This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
vba:classes:liststream [01.02.2023 12:37:52] yaslaw [Statische Hilfsmethoden] |
vba:classes:liststream [01.02.2023 12:44:28] yaslaw [Einführung] |
||
---|---|---|---|
Line 86: | Line 86: | ||
[1] => <Date> 22.03.2020 | [1] => <Date> 22.03.2020 | ||
[2] => <Date> 23.03.2020 | [2] => <Date> 23.03.2020 | ||
+ | )</code> | ||
+ | |||
+ | Achtung! ListStream kann auch statisch verwendet werden. Muss dann aber über initialize() gefüttert werden | ||
+ | <code vb>ListStream.initialize("[a,b,c]") | ||
+ | d ListStream.list | ||
+ | <Dictionary> ( | ||
+ | [0] => <String> 'a' | ||
+ | [1] => <String> 'b' | ||
+ | [2] => <String> 'c' | ||
+ | )</code><code vb>Public Sub test1() | ||
+ | ListStream.initialize ("[a,b,c]") | ||
+ | End Sub | ||
+ | |||
+ | Public Sub test2() | ||
+ | d ListStream.list | ||
+ | End Sub | ||
+ | 'Direktfenster: | ||
+ | test1 | ||
+ | test2 | ||
+ | <Dictionary> ( | ||
+ | [0] => <String> 'a' | ||
+ | [1] => <String> 'b' | ||
+ | [2] => <String> 'c' | ||
)</code> | )</code> | ||