| |
|
|
- page 1 - |
|
 Jörg Sellmeyer | avec qui aktuellen Subscriptionsversion stürzt qui Code ab. je habs encore comme .prf angehängt, si es ici par qui Formatierung irgendwie beeinflußt wird. en supplément aussi la fois cet nouvelle im XProfan-Forum lesen: [...]  KompilierenMarqueSéparationClass Fond = Name$(41),
Ident$(21),
Anzahl%,
Datum$(9),
WertSingle!,
WertSumme!,
Fond@,
ShowValues@
Proc Fond.Fond
Parameters Werte$
.Name$ = SubStr$(Werte$,1,|)
.Ident$ = SubStr$(Werte$,2,|)
.Anzahl% = Val(Translate$(SubStr$(Werte$,3,|),.,))
.Datum$ = SubStr$(Werte$,4,|)
.WertSingle! = Val(Translate$(Translate$(SubStr$(Werte$,5,|),.,),,,.))
.WertSumme! = Val(Translate$(Translate$(SubStr$(Werte$,6,|),.,),,,.))
EndProc
Proc Fond.ShowValues
Var s$ = Name$(40) = + .Name$ +
Ident$(20) = + .Ident$ +
Anzahl% = + Str$(.Anzahl%) +
Datum$(8) = + .Datum$ +
WertSingle! = + Str$(.WertSingle!) +
WertSumme! = + Str$(.WertSumme!)
MessageBox(s$,Fond,64)
EndProc
Window 0,0 - 900,400;1
Declare TestWerte$,MyTest$,T#,Test#[2]
TestWerte$ = 1|2|3|4|5|6
MyTest$ = SubStr$(TestWerte$,1,COMINVEST TOT.RET.PROTECT)
print Eins:,MyTest$
MyTest$ = SubStr$(TestWerte$,1,Nur ein Test)
Wenn ich HINTER die obenstehende Zeile ein Hochkomma setze, funktioniert es!
print Zwei:,MyTest$
t# = New(Fond,MyTest$)
With T#
.ShowValues()das hier knallt
das Weitere funktioniert
Print .Name$,
.Ident$,
.Anzahl%,
.Datum$,
.WertSingle!,
.WertSumme!
EndWith
WaitInput
Dispose Test#[]
Dispose T#
ef='./../../funktionsreferenzen/XProfan/end/'>Fin
Salut Jörg |
 |
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 30.10.2007 ▲ |
|
|
|
| |
|
- page 2 - |
|
|
 | Du meinst un Absturz? Teste doch la fois avec {$debug} et exposition ensuite ins debugfile WO il sich aufhängt. |
|
|
| |
|
|
|
 Jörg Sellmeyer | wohin es knallt, ist léger pour trouver: Setz simple un TraceOn entre With ... et .ShowValues(): With T# traceon .ShowValues()que voici knallt
Um auszuschließen, qui je dans qui Procédure Blödsinn geschrieben habe, peux Du là encore comme erste la ligne Retour 1 reinschreiben... qui Trace-Messagebox meldet encore la ligne xx:.ShowValues() et cela wars. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 31.10.2007 ▲ |
|
|
|
|
 | chez läufts mais Vlt. prends quand même fois le Debugvariante et postest ici qui Ausgabe/cela Debugfile.  |
|
|
| |
|
|
|
 Jörg Sellmeyer | avec dem Profandebugger à, venez ne...aucune Absturz.
et XPSE taugt oui aussi pas wirklich comme Debugger dans dem le cas, là oui beim Compilieren toujours qui la ligne Fenêtre .... zerlegt wird et qui 1 abgetrennt wird. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 31.10.2007 ▲ |
|
|
|
|
 | Hrm cela fait XPSE oui aussi völlig korrekt car Fenêtre kennt IMHO seulement 4 paramètre! pourquoi sollte XPSE ici nix valoir si il doch déjà sur une vorhandenen faute hinwies? je travaille ausschließlich avec dem XPSE-Debug et mon une bessere DebugMöglichkeit gibt es pour XProfan garnicht. |
|
|
| |
|
|
|
 Jörg Sellmeyer | Oha! suis je blöd. maintenant habe je tausendmal qui la ligne gelesen et nie bemerkt, qui cela qui faute ist!!!!  j'ai toujours SetWindowPos dabei im tête gehabt avec dem optionalen paramètre. maintenant läufts naturellement. j'ai XPSE seulement zum Compilieren eingestellt et pas comme Interpreter, tout autor était cela pas plutôt aufgefallen. Tut mir leid pour den Alarm, mais peut-être peux Roland cela comme Fehlermeldungsoptimierung verwenden  |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 31.10.2007 ▲ |
|
|
|
|
 | Sicherlich pas blöd, mais cela fehlende Vertrauen zum kleinen xpse habe je très wohl bemerkt. 
PS: Ausschliesslich avec {$cleq} travailler. Ist on plus rapide dans somme. ;) |
|
|
| |
|
|
|
 Dieter Zornow | j'ai encore einmal getestet, avec dem XPSE fonctionne cela Programme einwandfrei, weil es oui umgeschrieben wird. si je anschließend qui .enh Dossier starte fonctionne cet aussi sous reinem XProfan. je denke es hängt irgendwie avec den Zeilen et qui Schreibform zusammen, peut-être cela unbegrenzte XProfan. comme Exe fonctionne aussi cela Programme de Jörg oui aussi entier par. c'est zwar seltsam mais une autre Erklärung peux je Je ne présenter. peut-être la fois testen si sich par ajuster qui Zeilen dans Jörgs Programme quelque chose verbessert. Habe mais aucun Zeit im Augenblick, ist déjà pour 19:00 et je vais quelque chose Halloween fêter.
Salut aus Bangkok
Dieter |
|
|
| Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 31.10.2007 ▲ |
|
|
|
|
 Jörg Sellmeyer | Ersetze fois le la ligne Fenêtre 0,0 - 900,400;1 par Fenêtre 0,0 - 900,400 je hab aussi longtemps gebraucht, jusqu'à je es geschnallt habe. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 31.10.2007 ▲ |
|
|
|
|
 RGH | cela ;1 beim Windowbefehl hat avec dem Problem des Programmes gar rien trop 1faire. chez Befehlen nimmt XProfan so viele paramètre comment gebraucht volonté et pouvoir ensuite avec den prochain Programmzeile plus. Überzählige paramètre volonté simple ignoriert et stören pas. on pourrait theoretisch aussi encore une Roman derrière elle écrivons. ;)
Zum réel, äußerst mysteriösen Problem:
qui Absturz tritt exakt seulement ensuite sur, si une qui beiden Zeilen avec qui Substr$()-Funktion une Longueur entre 44 et 51 marque hat. (Führende Leerzeichen avant dem MyTest = zählen là pas avec, là cet qui Interpreter déjà beim Einlesen des Codes eliminiert.)
depuis gestern soir cherche je verzweifelt pour einem logisch erklärbaren Zusammenhang entre qui Longueur qui Programmzeilen et dem Absturz chez Aufruf qui Methode.
Salut Roland
Nachtrag: cela gilt aussi pour quelques autre Programmzeilen. |
|
|
| 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 | 31.10.2007 ▲ |
|
|
|
|
 Jörg Sellmeyer | Ok, chez mir lief es par, mais seulement solange je im Debugmodus était. sans Debug knallts wieder. Seeehr merkwürdig. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 31.10.2007 ▲ |
|
|
|
|
 | hm 51-44 ist 7, 7 ist aussi qui Longueur de mytest$, woran es oui c'est ca liegt peux mais sûrement seulement Roland avec vielen Messageboxen ermitteln.  |
|
|
| |
|
|