| |
|
|
- 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 - |
|
|
Michael W. | The functions benefit instead of one Handles then one Array and hangeln itself through any values (where The Restwerte the function then always same stay - unflexibel).
Why must the aray then one assoziatives his, where The functions eh only on the worth, the then many Handles vertritt, interested are?
or should The aray-values then several Parameter at a single blow supplant? |
|
|
| XProfan X3System: Windows 8/10, XProfan X4 Programmieren, das spannendste Detektivspiel der Welt. | 11/02/14 ▲ |
|
|
|
|
| under the Maßgabe the one aray-worth in principle always assoziierbar is game it hierbei no role whether one
aray(10,20,30)
or
aray(0=>10,1=>20,2=>30) writes -
Ersteres is only kürzer.
what I mean is something other:
make possible the such functions - The Yes any only 15(?) Parameter max. receive can - Arrays to accept, and, I my is a new function namens aray, The sozusagen one temp. aray created.
var meinArray[]=array(10,20,30,40,50)
or even
var meinArray[]=array("puste"=>"kuchen","waidmanz","hai") |
|
|
| |
|
|
|
Michael W. | Yes, temp. Arrays are me from PHP famous.
and the gebastelte FormatStr nutzte indeed Arrays for Parameter.
DAFÜR... |
|
|
| XProfan X3System: Windows 8/10, XProfan X4 Programmieren, das spannendste Detektivspiel der Welt. | 11/02/14 ▲ |
|
|
|
|
RGH | |
|
| 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/02/14 ▲ |
|
|
|
|
| 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 ▲ |
|
|
|