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. »

- Page 2 -



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  
 



 
- Page 1 -



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  
 



 
- Page 2 -



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  
 




Walter
yet To Mario:
have now a idea of it, Why XPSE in the large Program whom Error not reports: XPSE bring a warning ("Unbekannte Escapesequenz"), The probably whom Error überdeckt (and my large Program there etliche to put with "\", also only mühselig auskommentierbar are).

One example:

cls
declare text&,name$,File$
Text&= CREATE("Text",%HWND,"",0030,0020,0550,0150)
name$="Hugo"
File$="Test"+"\File.prf"
' the fehlende quotation marks to the Rufzeichen
' in the next row killt Interpreter and Compiler
settext text&,name$+!"
waitinput

greetings
Walter
 
03/06/16  
 




E.T.
Jörg Sellmeyer (05.03.2016)
Something like can with the Fehlersuche helpful his:
...


the inspired still same time To 'nem small Tool
 
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/07/16  
 




Jörg
Sellmeyer
moreover falls me nochwas one. I Have in of my Version of XProfEd the following installed:
Proc SyntaxCheck

    Parameters Line$
    Declare T$,In%,out%,i%,o%
    In% = Len(Line$,"(")' - 1
    out% = Len(Line$,")")' - 1

    WhileLoop 1,Len(Line$,"\q"),2

        T$ = SubStr$(Line$,&Loop,"\q")
        Add i%,Len(T$,"(") - 1
        Add o%,Len(T$,")") - 1

    Wend

    In% = i%
    out% = o%
    Case In% <> out%:MessageBox(Line$ + "\n\nUngleiche amount clinging\n" + Str $(in%) + " opened  (\n" + Str $(out%)\
    + " closed  )","Syntaxcheck",~MB_ICONSTOP)

ENDPROC


under this If-request in the Hauptschleife then whom Funktionsaufruf:
ElseIf MenuItem(13)' Enter-Button

SyntaxCheck(Edit#[AktTab%].OnEnter())

the can itself Yes slight on Quotes strain.
Perhaps wants Roland the Yes into editor with install.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
03/07/16  
 



the gesubstrse place I me ill to with large Quelltexten, vlt. rather explode use.

first of all any Strings rauswerfen, then any Rems, then Explode on \n.
 
03/07/16  
 




Jörg
Sellmeyer
Yes - is already old. having I time with XProfan10 installed. now would I Len() use.
Len(Line$,"(") <> Len(Line$,")") and already has man's.
The length the Codes game indeed thereby no role, there always only The actually row certain lines directly to the write/Enter screen becomes.
 
XProfan X3
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
03/07/16  
 




RGH
A good idea!

nevertheless consider I, a such check the actually row in Interpreter and Compiler incorporate. and here there too no trouble More , if one commands through \ end over several editor-Lines distributed becomes.
The Zeitaufwand ought to tenable his. On The finished EXE has the Yes eh' none Einfluss.

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




Jörg
Sellmeyer
in the editor could one even a counter install, the in a Statuszeile The Number of () and "" in the jeweiligen row during the Schreibens indicating.
If one whom Cursor in a row setting, can then too directly showing, whether The amount fit, or not. The right position the characters should then naturally yourself controlled go.
 
XProfan X3
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
03/07/16  
 




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  
 




Walter
thanks, super!
LG
Walter
 
03/07/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

22.832 Views

Untitledvor 0 min.
Gast.0815 vor 22 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