| |
|
|
Jörg Sellmeyer | The following class contains a function to Widergabe one Strings. If I the Result (really Yes apiece one String) two Objects contact wants, becomes the first Result verschluckt. CompileMarkSeparationClass Test = i%,out@,test@
Proc Test.Test
Parameters l%
.i% = l%
EndProc
Proc Test.Out
Var s$ = "eins|zwei|drei|vier"
If %pcount = 1
Parameters l%
Return SubStr$(s$,l%,"|")
Else
Declare s1$
WhileLoop .i%
s1$ = s1$ + "|" + SubStr$(s$,&Loop,"|")
Wend
Return Del$(s1$,1,1)
EndIf
EndProc
Declare A#[2],T$,T1$,T2$
A#[0] = New(Test,2)
A#[1] = New(Test,3)
T$ = A#[0].Out(2) + " Test " + A#[1].Out()'hier wier die Ausgabe des ersten Objektes verschluckt
Print T$
'ab hier funktioniert alles wie erwartet
T1$ = A#[0].Out(2)
T2$ = A#[1].Out()
Print T1$ + " Test " + T2$
WaitInput
I Have straight yet what tested. If I the second Result "trimme", geht's. apparently becomes there another Nullbyte pictured or so. CompileMarkSeparation |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 03/15/12 ▲ |
|
|
|
|
Nico Madysa | with one Nullbyte can the whole not zusammenhängen, following row functions ditto: CompileMarkSeparationT$ = A#[0].Out(2) + " Test " + mid$(A#[1].Out(),1,99)'hier wier die Ausgabe des ersten Objektes verschluckt > objectively must You only irgendeine function on A#[1].out() utilize: CompileMarkSeparation |
|
|
| |
|
|
|
Jörg Sellmeyer | well, with my Trim can I in the momentum life but I hope, Roland can the to fix. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 03/15/12 ▲ |
|
|
|
|
RGH | long has it gedauert, but now have I the bow found! in the next Betarelease of XProfan X2.1 (presumably on the weekend) is it fixed.
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 | 01/11/13 ▲ |
|
|
|
|
| @Roland: I have a Please.
If you gemeldete Bugs to fix konntest, then remaining these Overview here [...] helpful, if you such one Bugmeldethema as "Erledigt" Mark could.
simply left under with "Themenoptionen" on "erledigt" clicking.
so You can then too dank the Headline "Aktive Themen" [...] discern, which Bugs yet consist and Perhaps is these Overview indeed for you very helpful. (Wovon I really gone out be.) |
|
|
| |
|
|
|
RGH | Yes, The Overview is very helpful. Related to the "Erledigt" I had so understood the the Bugmelder to seinem Test whom bow as Done markiert. but I can the naturally too do.
BTW: The Error trod always only then on, if one Operand in a mathematischen expression (to counts technical too The "Addition" of Strings) one element one Objekt- or structure-Arrays was.The previous Operanden get then because of one Fehlers in the Stack-edit ignoring.
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 | 01/11/13 ▲ |
|
|
|
|
| [OFFTOPIC] this is so indeed virtual, that the Themenersteller too always The Possibility has, one Topic as Done To Mark or To delete. here z.B. if it itself circa a Fehlmeldung deals or if it feststellt, that the bow fixed watts.
there The Overview the vermeindlichen Bugs particularly too a Overview for/ on you is and so too User discern can whether/ which Bugs consist, is it likewise meaningfully if you behobene Bugs as "erledigt" markierst. so remaining The Overview for all Beteiligten a Hilfestellung. [/OFFTOPIC] |
|
|
| |
|
|