| |
|
|
- Page 1 - |
|
Jörg Sellmeyer | DeleteObject ought to several Parameter process can. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 03/15/12 ▲ |
|
|
|
|
| |
|
- Page 2 - |
|
| me famous - my but:
var int meinArray[] var hashes deinArray[] meinArray=array(10,20,30,40) deinArray=array(50,meinArray,60) |
|
|
| |
|
|
|
RGH | OK, the goes so not. in the Übrigen have I straight solid set, that Hash-Arrays of VAR not yet supported go. have I for next Delivery nachgerüstet. then goes at least The following:
About The thing with the Arrayfunktion must I once more cogitate.
Greeting Roland |
|
|
| XProfan X2Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 11/02/14 ▲ |
|
|
|
|
RGH | an Arrayfunktion should naturally another mark for type the Arrays include, about aray("W", Widstring1, widestring2, ....) or aray("I", 23, 56, 57).
Sonderlich sinnvolle Einsatzmöglichkeiten entrapments me for such temporären Arrays though not one, except that is a row Programmcode saving.
sooner meaningfully appear it me with Zuweisungen To dynamic Arrays too The spelling of VAR to admit:
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 11/04/14 ▲ |
|
|
|
|
RGH | means The spelling of VAR functions now too for dynamic Arrays: the aray becomes geleeert and whom Values new filled.
The previous Syntax
The each element the Arrays whom expression worth zuweist (and &index auswertet) is furthermore possible. (See Help about Arrays.) once however several through comma separated values there stand and the aray dynamic is, becomes the aray with the Values new befüllt.
in the next Delivery is it thereby!
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 11/04/14 ▲ |
|
|
|
|
| Michael W. (02.11.14)
Yes, temp. Arrays are me from PHP famous. and the gebastelte FormatStr nutzte indeed Arrays for Parameter. DAFÜR...
Presumably not only, see z.B. too
jSON
as (of course abweichende) spelling for data- or. Elementereihen.
RGH (04.11.14)
...
Sonderlich sinnvolle Einsatzmöglichkeiten entrapments me for such temporären Arrays though not one, except that is a row Programmcode saving.
...
goes me with Set- and GetPixel so,
as a manner "Grundsatzbadesalz" should tappt im dunkeln nevertheless not are missing.
Perhaps übersiehst You but something or schenkst the (To?) little Beachtung:
aray as possible Datentyp for a aray-element one assoziativen Arrays.
var hashes myElements=array("gut"=>"ding",aray(10,aray("puste"=>"kuchen"),30),"braucht"=>"zeit")
the are so infinite helpful items, I me not at all conceive likes, where I at all begin would like To describe, which Einsatzmöglichkeiten itself böten. In JS, PHP and JAVA these Opportunities anyway not wegzudenken and it can itself so for infinite many Anwendungsfälle effizienterer and shorter code write. If it XProfan not could, can so life, but a Discussion over The Sinnhaftigkeit would I almost already in principle not lead. |
|
|
| |
|
|
|
RGH | circa it time to möglicher XProfan-Syntax To transfer:
You would such a thing write want:
the can something to abbreviate, there with VAR Yes The values too so added can:
The values 10 and 30 make for a Hash-aray little sense, there here only Keys but no dazugehörigen values laid out go, are but possible. One Hash-aray with only one entry ("puste=>kuchen") is naturally only additional Tipperei. The function aray() with genannter Syntax would rasch written, but that one Parameter optional String or Hash-aray his can, is already aufwändiger ...
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 11/04/14 ▲ |
|
|
|
|
RGH | Sodele: temporary Arrays weg already time:
OK, the example shows only The Syntax for Arrayfunktion. otherwise would one it naturally so write:
Greeting Roland |
|
|
| XProfan X2Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 11/05/14 ▲ |
|
|
|
|
Jörg Sellmeyer | [OFFTOPIC]please times whom Offtopic in a aussagekräftigen Thread move. by me spin straight The Forumssoftware. I can under [...] no new Sub-Topic produce. Also question I, wieso always one doppelter Slash at the end of Url standing.[/OFFTOPIC]
[OFFTOPIC]now are The Topics still created but I can The double not any more delete...[/OFFTOPIC]
Please hither move [...] |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 11/05/14 ▲ |
|
|
|
| |
|
- Page 3 - |
|
|
| RGH (04.11.14)
The values 10 and 30 make for a Hash-aray little sense, there here only Keys but no dazugehörigen values laid out go, are but possible.
self-evident yield Keys without values sense, Keys are values!
remember on ForEach, around the Keys as values viewing to.
Collect 10 Zufallszahlen by assoziativem Array and gib tappt im dunkeln from :
words one Textes simply as Keys take off erspart plenty work for Wortliste. naturally could one too The frequency count by myarr[word$]++
But if one not count must reicht one "werteloser" entry.
@Jörg: I look me the on, have in the momentum but simply To plenty around the ears. You can on The URL Yes so many Slashes append How DU like - z.B.: [...] Womit the additional Slash with you created watts must I first nachschauen. |
|
|
| |
|
|
|
RGH | it erschließt itself me of course not, wieso I for Zufallszahlen one Hash-aray in lieu of one performanteren numerischen Arrays take ought to, but it would so functions:
where naturally not guaranteeing is, that it really 10 Entries gives, there rnd(19) Yes thoroughly number of times whom equal worth produce can. |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 11/05/14 ▲ |
|
|
|
|
| RGH (05.11.14)
it erschließt itself me of course not, wieso I for Zufallszahlen one Hash-aray in lieu of one performanteren numerischen Arrays take ought to, but it would so functions:
i will Yes now not write "Frage self beantwortet", but...
RGH (05.11.14)
where naturally not guaranteeing is, that it really 10 Entries gives, there rnd(19) Yes thoroughly number of times whom equal worth produce can.
very the can erwünscht his.
what I pity would find would, if because the type already hash is, that then one st$ necessary would with myarr[st$(number)]. the ought to the XProfan in example alike his. theoretical should too myarr[aray(10,20,30)]=array(40,50,60) possible his. The Key ought to means beliebigem Type his can. the get one still with chain well geregelt. |
|
|
| |
|
|
|
RGH | to that a: st$ isn't More necessary. I have The automatic Typkonvertierung (hopefully) finally there, where I tappt im dunkeln always having wished.
to that others: any Opportunities from whom Anfangspostings are erfüllt:
DestroyWindow, EnableWindow and ShowWindow can instead of one Handles now too one entsprechendes aray (eindimensional, dynamic or temporär with aray()) include:
(The moreover supra named Syntax for DestroyWindow counts therefore not any more.) in the 32-bit-XProfan can The Arrays too The Types Integer, Longint or Quadint his, but so the Source too z.B. in FreeProfan64 functions, ought to the type lever taken go.
DeleteObject must now several Objekt-Handles having, How z.B. too Clear. here's one aray not permits.
and so would ex the next Delivery too this Thread Done!
Greeting Roland |
|
|
| XProfan X2Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 11/06/14 ▲ |
|
|
|