| |
|
|
- Page 1 - |
|
 Jörg Sellmeyer | How can I on the best a variable amount of Longs/Integers in a class/structure Save. yet make I the over a list Create("List"), but then are the numbers always only as String stored and must over ands over again transformed go. On a Memory-Variable becomes, loudly Help, too How on a String zugegriffen. an variable amount of variables can not define... Arrays in classes are unfortunately you don't say so. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 08/31/08 ▲ |
|
|
|
|
| |
|
- Page 1 - |
|
 Jörg Sellmeyer | For this need I then but again The glpobale Variable C#. the You can then too plainer having. i want The Longs only inside the Class store, without additional variables. means about so, only not the detour over Strings. goes the at all? CompileMarkSeparationClass Test = Test@,Inhalt$(1000),Anzahl%,getInhalt@
Proc Test.Test
WhileLoop %pcount
.Inhalt$ = .Inhalt$ + Str$(&(&Loop)) + "|"
.Anzahl% = &Loop
Wend
Return .Inhalt$
EndProc
Proc Test.getInhalt
Parameters Index%
Return SubStr$(.Inhalt$,Index%,"|")
EndProc
Var B# = New(Test,123,345,2434,823) ,...,...)
Print B#.getInhalt(3),B#.Anzahl%
WaitInput
[offtopic]Have The überflüssigen Posts removes[/offtopic] |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 08/31/08 ▲ |
|
|
|
|
 |
a variable amount
is Yes The question whether "variabel" here too "größenoffen" mean should.
If it simply his should, and a Maximalgröße no trouble is, then need one still only one Long Save which the lever one Speichers contain. (so, How I the in the principle in the ScrollControl-View source make.) CompileMarkSeparationso can everything pub in the class Safe go. |
|
|
| |
|
|
|
 Jörg Sellmeyer | OK - must I me time GlobalAlloc standing. Have I yet yet nothing with made. so a vaguely Maximalgröße have I already, therefore should the functions. thanks. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 08/31/08 ▲ |
|
|
|
|
 | The in the Grunde 3 different Lines sinds.  |
|
|
| |
|
|
|
 Jörg Sellmeyer | |
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 08/31/08 ▲ |
|
|
|
|
 Frank Abbing | any my Dlls works so, though Heaps Yes NEN Tacken faster his should. sure superstition. GlobalAlloc is incidentally the same How LocalAlloc. before You yet thereafter ask...  |
|
|
| |
|
|
|
 Jörg Sellmeyer | there würd me sooner interested, what Heaps are...  |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 08/31/08 ▲ |
|
|
|
|
 | too only memory but dynamischer dank übergeordneter Zuordnung which but very therefore umständlicher is. you have in the Grunde a handle instead of of/ one address. |
|
|
| |
|
|