| |
|
|
- 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... |
|
|
| |
|
|
|
« 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. |
|
|
| |
|
|
| |
|
- 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 |
|
|
| |
|
|
|
E.T. | |
|
| XProfan X3Grüß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:
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. |
|
|
| |
|
|
|
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. |
|
|
| |
|
|
|
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 X3Intel 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. |
|
|
| |
|
|
|
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 | |
|
| |
|
|