English
Forum

super-crash

 
- Page 1 -



Walter
Hi,

(Freeprofan32)
have with one more functioning Program a little bit here changed and and a little there added - at nachfolgenden Start in the Interpreter one kurzes Aufflackern - and nothing moreover. too the Compiler plummeted instantly to seinem Start with a knappen Fehlermeldungsschrei ex.
this here stayed then to längerem investigate and anschließendem vaporize the Problems as releases spare:
cls
declare text&,name$
Text&= CREATE("Text",%HWND,"",0030,0020,0550,0150)
Name$="Hugo"
' the fehlende quotation marks to the Rufzeichen
' in the next row killt Interpreter and Compiler
settext text&,name$+!"
waitinput

I had simply one quotation marks forget.

together with the Fun, Compiler and Interpreter therefore nobble to, that one one quotation marks removes, now a question: How can I The Error Message of interpreter/Compiler in a File redirecting or on-screen for longer as 1/10 second see - I know unfortunately yet always not, whether these Message me Perhaps 30 minutes Suchzeit erspart had, I tappt im dunkeln yet not yet reading could...
 
03/05/16  
 



« this Posting watts as Solution marked. »


RGH
OK:

1. The place on the FreePascal empfindlicher reacted as Delphi watts found and bereinigt. The Error trod only on, if the quotation marks the latest characters the row was, even if it a comment-row was.
The Interpreter reacted now How it should and reports whom Error "Stringende not found." (naturally not comment-Lines)

2. The Compiler screen now, whether bracket and round clinging well-balanced are and the Number of quotation marks straight is.

In XProfan becomes this in the coming Version X3.1 realized his, with FreeProfan 32 and 64 with the each next Version.

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
03/07/16  
 




RGH
a lane, these Error Message (without Debugger) longer view have so did i not yet found, but in the rule might tappt im dunkeln on a Schutzverletzung allude and accordingly not helpful his.

and Yes: really ought to here, How in XProfan, a tidy Fehlermedung "Stringende missing!" attend.

In some Points is FreePascal, with the FreeProfan compiled watts, unfortunately something empfindlicher as Delphi, with the XProfan compiled becomes. I must time look ...

Greeting
Roland
 
XProfan X3
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
03/05/16  
 




Walter
now functions it Yes again, and above be I very glad! one is plenty helpless, if one not white, where one to search begin should. And so one small, fehlendes characters in 7.000 Lines code isn't slight to find...
thanks, best Regards
Walter
 
03/05/16  
 




E.T.
even probiert: XPSE "merkt" it too bleats with Error Message.
Perhaps. can this Yes derweil somehow to Fehlersuche benefit.
 
XProfan X3
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
03/05/16  
 




Walter
in the short example finds XPSE objectively whom Error, in the large Program however unfortunately not (and so too always).
thanks but anyway for Help - is at least a further Possibility, before one itself the large despair hingibt...
love Regards
Walter
 
03/05/16  
 




Jörg
Sellmeyer
Something like can with the Fehlersuche helpful his:
Var File$ = Par$(1)' here The ensprechende File bring into action
Declare row$,i%,amount%
Assign #1,File$
Reset #1

WhileNot EoF(#1)

    Inc i%
    Input #1,row$'"

    If InStr("\q",row$)

        amount% = Len(row$,"\q")
        Casenote amount% Mod 2:AddStrings Str $(i%) + " " + row$

    EndIf

Wend

$ ListBox("Ergebnis",2)
 
XProfan X3
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
03/05/16  
 



has the Topic to FreeProfan moved.
 
03/06/16  
 




Walter
this is a good idea! one finds so naturally too to put, where The missing quotation marks first in Fortsetzungszeilen come along, still are The quick as innocent To entlarven.
Yes, thanks, functions, is super!
LG
Walter
 
03/06/16  
 




Jörg
Sellmeyer
one can it yet very simply strain, circa z. B. fehlende clinging to find. The can also sometimes such Problems bound.
Var File$ = Par$(1)
Declare row$,i%,amount%
Assign #1,File$
Reset #1

WhileNot EoF(#1)

    Inc i%
    Input #1,row$'"

    If InStr("\q",row$)')

        amount% = Len(row$,"\q")
        Casenote amount% Mod 2:AddStrings Str $(i%) + " Quote Error " + row$

    EndIf

    If Match $("(~(|~))",row$) > ""

        If Len(row$,"(") <> Len(row$,")")

            AddStrings Str $(i%) + " Bracket Error " + row$

        EndIf

    EndIf

Wend

$ ListBox("Ergebnis",2)
 
XProfan X3
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
03/06/16  
 




H.Brill
I would find it too well, if Roland moreover
yet what falls in. having such Problems
with the Freeprofanversionen too öfters.

particularly, if The Message comes :


memory for Integer variables effete


or so similar.

there can u.u. right long to the Error search.
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
03/06/16  
 




Jörg
Sellmeyer
there must one really always after a Variablendeclaration within of/ one Loop search, would I time suppose.
If you my Program anpasst and to " var "And "declare " seek, get You at least any Lines the program aufgelistet, The the include and can so whom area eingrenzen.
Perhaps does it even faster with the Suchfunktion in the verwendeten editor.
 
XProfan X3
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
03/06/16  
 




H.Brill
what I meant, do not have only with Variablendeklarationen
To do. even if one Memory small dimensioniert watts
u.v.a. come such informations.
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
03/06/16  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

23.257 Views

Untitledvor 0 min.
Gast.0815 vor 12 Tagen
Member 862464105/11/24
p.specht08/01/21
Walter05/22/19
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie