C ++ Forum | | | |  Michael Dell | Hallole,
peux mir keinen Reim sur elle faire tambour Poste je simple den Code & qui Error- annonce: KompilierenMarqueSéparation!
Def $SAGA_sgIt "AutoPaint,Decimals,ErrorLevel,Escape,FastMode,FileMode,MessageMode,NumWidth,PDC,RandSeed,StrWidth,TrueColor"
Proc SetAll
Parameters SA_In$
WhileLoop 1,12,1
Set(SubStr$($SAGA_sgIt,&Loop,","),Val(SubStr$(SA_In$,&Loop,",")))
EndWhile
EndProc
Proc GetAll
Declare GA_Erg$
WhileLoop 1,12,1
Case (&Loop = 1): GA_Erg$ = Str$(Get(SubStr$($SAGA_sgIt,&Loop,",")))
CaseNot (&Loop = 1): GA_Erg$ = (GA_Erg$ + "," + Str$(Get(SubStr$($SAGA_sgIt,&Loop,","))))
EndWhile
Return GA_Erg$
EndProc
Cls
Print ("GetAll(): " + GetAll() + " Normal")
SetAll("2,6,1,1,1,2,1,0,2,2,4,1")
Print
Print ("GetAll(): " + GetAll() + " Neu")
WaitInput
Fin
|
| | | Salu Michael...
Hab zwar krumme Fieß awer dofir e' ecklich Gsicht! | 17.07.2006 ▲ |
| |
| |  Michael Wodrich | (Workaround) Versuche fois le données dans Variablen trop mettons et Set seulement avec den Variablen aufzurufen.
Es sieht so aus comme si qui Compiler un SET(str, str) vermutet.
belle Grüße Michael Wodrich |
| | | Programmieren, das spannendste Detektivspiel der Welt. | 17.07.2006 ▲ |
| |
| |  Sebastian König | allô Michael,
oui, stimmt. qui Ursache pour cela ganze ist, dass je pour qui verschiedenen Set()-Varianten dans C++ überladene Funktionen benutzt habe. Im Zusammenhang avec @val() sieht qui Compiler ensuite malheureusement Mehrdeutigkeiten... 
un Workaround ist dans qui acte qui le détour sur qui Variablen ou bien (quelque chose kürzer) cela Einschließen de @val() dans un zusätzliches @int().
BTW: avec qui aktuellen Beta-Version devrait es direct marcher, weil es là seulement encore une Set()-variante gibt (qui ensuite une Variant-Datentyp benutzt).
MfG
Sebastian
P.S.: malheureusement scheint es zusätzlich encore un Problem beim Übersetzen de Get() trop donner - je gucke la fois, quoi là schiefläuft... |
| | | | |
|
répondreOptions du sujet | 2.141 Views |
Themeninformationencet Thema hat 3 participant: |