SDK-aide/ Tools | | | | - Page 1 - |
|  Jens-Arne Reumschüssel | good evening together,
i'm recent over the trouble stumbled, that XPSE a quite large Quelldatei of I do not More process could. variables get suddenly as not definiert gemeldet and others "erratische" Problems More. I could me present, that this on it lying, that XPSE Keywords in windows-Atoms manages. there's sometime Schluss (with something between 60.000 and 70.000 Piece, where one deliberating must, that XPSE The windows-API with vorhält). Perhaps is But something integrally other, I can Yes not whom "Maschinenraum" of XPSE look.
anyway stayed me, there XPSE not any more taken care of becomes, nothing other spare, as the nachzubauen. the Result is JRPC3.
----- Features:
*reasonable Message of Fehlern *direct display the Programmablaufes in XProfEd (sofern the under erhältliche aufgebohrte XProfEd is used) *Umsetzung the middle-aged Profan-Syntax for Operators and old Containerfunktionen *extreme speedy native fbPROCs, sofern one FreeBasic installs has (free, see Help) *with fbPROCs can additionally Inline-Assembler too to XProfan X4 realized go *extreme speedy native pbPROCs, sofern one PureBasic installs has *Echtzeitverfolgung of Variableninhalten *simple Zeitmessungen in the Programmablauf *Profan-Kompilerdirektiven functions finally sensible (z.B. Verschachtelung) *eingebettete variables functions too with Arrays *most WIN32-API-functions are already vordefiniert included *API-Aufrufe over @external(...) go automatically in @call(...)-Aufrufe umgesetzt *Einrückungsanalyse to that find of vertrackten Verschachtelungsfehlern *Klammeranalyse to that find of vertrackten Klammerfehlern *ENUMERATE-Funktionalität *Assert to Fehlerkontrolle *it can arbitrary DLLs into XProfan-EXE integrate go, so tappt im dunkeln not delivered go must (see {$WrapDll}) *simple Killen Pixel JRPC3 launched Programs (interprets, .prc launched, .exe launched) *extreme quick (and therefore naturally not XProfan written, there a interpretierte Language this natural plenty too slow is) *at Start of JRPC3 already available .prc-Files can to that started and left used go (it'll one Info displayed, that it itself for a altes Compilations deals) *the Profan-Compiler can to Beschleunigung with high Prozessorpriorität called go *eingebauter Update-Checker with Download, if it one Update gives (Help --> online to Updates search) *64- or 32-bit-Version available (simply JRPC3_64.exe or JRPC_32.exe as Interpreter in XProfEd deposit [Options --> general Settings] and JRPC3 with F7 started) - deference, The 64-bit-Version created naturally no 64-bit-XProfan-programs, there XProfan the not can, separate JRPC3 self becomes as 64-bit-Program carryed out *XProfan X4-Syntax available (möglicherweise not yet everything, I presumably not everything of it use, but I have me circa Vollständigkeit ready - anyway are z.B. HASH-Arrays and QUADINTs thereby) *Interpreter, PRCs and EXEs can with Kommandozeilenparametern carryed out go *Interpreter, PRCs, EXEs and XPSE can with Administratorrechten carryed out go *Procedures, The in the actually Program of course include are, but not uses go, go from the umgesetzten File removes, around the Filesize the Kompilats possible small To hold *variables, The in the actually Program of course include are, but not uses go, go from the umgesetzten File removes, around the Filesize the Kompilats possible small To hold and the Speicherverbrauch To optimize *nPROCs from XPSE go automatically with XPE to a DLL umgesetzt and the Aufrufe the nPROCs in the program properly adjusted, sofern XPSE present is *almost everything from XPSE functions too in JRPC3 ({$NOERR}, {$(PRE)BATCH}, {$PUSHKEYWORD}, Interpreter, Runtime and compiler determine, Shorties, ...) *XProfEd_JR with View source-AutoComplete *XProfEd_JR with View source-Memory-function (Markierungen, To them zurückgesprungen go can)
Einschränkungen: -no XPSE-Inline-Assembler, well but XProfan-Inline-Assembler (therein though no tests on Korrektheit the Codes) -ABER: one can XPSE from JRPC3 out Call, so these Funktionalität furthermore available is, sofern one XPSE own (new Shorty: {$x}) -variables, The in a procedure not declared are, separate "aus the aufrufenden procedure übernommen werden", are standardmäßig not registered (XProfan allows the, but such a thing is just as mortal How GOTO-instructions). Please any To nutzenden Inputs as Parameter transfer, and if something from the aufrufenden Programmteil changed go must, when calling as Parameter z.B. @addr(x&) use and the procedure parameters x# and LONG x#,0=y& benefit. If one but absolutely "vererbte" variables benefit would like, can this with the Kompilerdirektive {$Declare...} do.
*as Hommage on XPSE sounds The Endung the Ausgabedatei ".enh3"
an genauere explanation the individual Features is the chm-Helpfile To entnehmen, The in the program under Help --> Helpfile Show or with F1 available is.
----- /Features
Download and install: JRPC3 can under Downloaded go (setup_jrpc3.exe or as ZIP-File). as Installationsverzeichnis Please the XProfan-Stammverzeichnis indicate, means the one, in the The Files PROFAN.EXE, PROFCOMP.EXE, PRFRUN32.EXE etc. lying. alternatively can The ZIP-File Downloaded and its Content manually in that XProfan-Stammverzeichnis copies go.
facility: JRPC3_64.exe or JRPC_32.exe as Interpreter in XProfEd deposit [Options --> general Settings] and JRPC3 with F7 started.
any command are with the commands "h" How "Hilfe" abrufbar and should selbsterklärend his.
for many erweitere Features, The XProfEd concern, How z.B. jenes, The row, in the one Error auftrat, directly in XProfEd Show to, is the mitinstallierte XProfEd_JR necessary. For this must one means XProfEd_JR.exe instead of XProfEd.exe as editor using. as "goody" there moreover, that at On- and Zufalten of Programs one Fortschrittsanzeiger integrate is (the can with large Programs Yes known a little bit last).
it likes his, that not yet everything perfect functions. I Please this circa clemency. my programs can umsetzen, but the must yet long not hot, that this with Programs another Authors, The eachone so your Eigenheiten having, too functions.
Fehlermeldungen and Verbesserungsvorschläge gladly on jreumsc@web.de or here in the Forum.
best Regards, Jens-Arne |
 | 2.665 kB | | Bezeichnung: | JRPC3 | | Version: | 10.40 | | Kurzbeschreibung: | JRPC3-Installer | | Hochgeladen: | 02/15/21 | | Downloadcounter: |  | | | Download | | | | 1.699 kB | | Bezeichnung: | XProfEd_JR | | Version: | 5.2 | | Kurzbeschreibung: | old Version without AutoComplete to safety | | Hochgeladen: | 02/15/21 | | Downloadcounter: |  | | | Download | | | | 4.065 kB | | Bezeichnung: | JRPC3 | | Version: | 10.40 | | Kurzbeschreibung: | ZIP-File instead of Installer | | Hochgeladen: | 04/02/21 | | Downloadcounter: |  | | | Download |
| | | XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM PM: jreumsc@web.de | 02/16/21 ▲ |
| |
| | | | - Page 22 - |
|  | « this Posting watts as Solution marked. » | | - Page 15 - |
|  Jens-Arne Reumschüssel | there's a new Version, The differently with the internen Messagehandling bypassing. Please probier The time from. Perhaps is the trouble so fixed. |
| | | XProfan X4XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM PM: jreumsc@web.de | 09/24/22 ▲ |
| |  |
| |  Jens-Arne Reumschüssel | nothing plainer as the:
declare numbers#,i%
pbPROC multiply(*numbers) protected i.i for i=0 to 999 PokeL(*numbers+(i*4),PeekL(*numbers+(i*4))*6) next i ENDPROC
cls dim numbers#,1000*4 for i%,0,999 long numbers#,(i%*4)=rnd(10000)+1 endfor 'i% for i%,0,9 'the first ten Originalzahlen Show print @long(numbers#,i%*4) endfor 'i% multiply(numbers#) print "--- with 6 multipliziert:" for i%,0,9 'the first ten multiplizierten numbers Show print @long(numbers#,i%*4) endfor 'i% waitinput dispose numbers# end
Perhaps have I unhappy framed. it can naturally any erdenklichen "normalen" Variablentypen on a pbPROC transfer go, only not any of it over Shared. with "normal" my I, that Profan-Own Sondersachen How Hash-variables no direktes Pendant in PB and have therefore not übergreifend uses go can. but everything of integer over float, single, pointer etc. can naturally using. one must only whom Variablentyp in PB same dial. means for Float:
declare f!
pbPROC MultiplyFloat(*f) protected f.d ;muss .d for double his, ".f=float" in PB corresponds to "single" in XProfan f=PeekD(*f) f=f*6 PokeD(*f,f) ENDPROC
cls f!=2.34561 MultiplyFloat(@addr(f!)) print f! waitinput end
vital to know is, that Parameter, The on a DLL-function transfer go, always very 4 Bytes having (the counts too for a potential Return Value!). the means, that one z.B. Integer-numbers directly transfer can, Float-numbers but not, because The having 8 Bytes. therefore must we in the last example with the address the Float-variables works and the Float-number in PB from it extract. Also can on these point whom Return Value directly in The XProfan-Variable write back, because one its address using. |
| | | XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM PM: jreumsc@web.de | 05/11/23 ▲ |
| |
| |  funkheld | thanks for your Help. I hope that I it now with 74 years soon begreife.
A request have I yet. I have here Test with freebasic made , the very quick is and me fallen has from the speed since. can you Please The fbProc time umsetzen for PB so I times the Geschwingkeit see can of PB.
there here again variables transfer go from the fbProc .
thank you very much for your trouble.
{$FBSYNTAX on}
declare dib&,array&,groesse&,hoehe&,ende&,bild&
DEF CreateDIB(2) !"dib","CreateDIB"
DEF FreeDIB(1) !"dib","FreeDIB"
DEF DrawDIB(4) !"dib","DrawDIB"
DEF CloneDIB(1) !"dib","CloneDIB"
dib&=usedll("dib.dll")
fbProc erzeugebildi(byval b As Integer, ByVal g As Integer) As Integer export
Dim Test As Integer
FOR Test = 0 TO g-100000 step 3
poke integer,Test+b,&h0000ff
next Test
return 0
endproc
array&=CreateDIB(700,700)
groesse&=700*700*3
hoehe&=700
Window 20,20-750,780
Cls RGB(255,255,255)
bild&= Long(array&,40)
erzeugebildi(bild&,groesse&)
DrawDIB(%hdc,10,10,array&)
WaitKey
FreeDIB(dib&)
End
|
| | | | |
| |  Jens-Arne Reumschüssel | I have The File "dib.dll" not, therefore can I not testing. but I have attempts, The fbPROCs in pbPROCs To translate:
pbProc erzeugebild(b.i,g.i) protected Test.i FOR Test = 0 TO g-100000 step 3 pokeB(Test+b,$00) pokeB(Test+b+1,$00) pokeB(Test+b+2,$ff) next Test procedurereturn 0 endproc
pbProc erzeugebildi(b.i,g.i) protected Test.i FOR Test = 0 TO g-100000 step 3 pokeI(Test+b,$0000ff) next Test procedurereturn 0 endproc
and hey, clear understand You, the withal Your integrally a little bit vorgerückten Alters. others can with 74 only of it dream, itself yet with so complicated How abstrakten Things To keep busy. |
| | | XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM PM: jreumsc@web.de | 05/11/23 ▲ |
| |
| |  funkheld | thanks the works wonderful.
now have so did i the return from the Values understood.
its faster as freebasic.
might one of PB from too Windows API with graphic release which then in Profan runs?
greeting |
| | | | |
| |  funkheld | numbers of a area into others area not working.
take off a Error have I now Please made?
Thank you. greeting
declare numbers#,i%
declare numbers1#,i1%
pbPROC multiply(*numbers,*numbers1)
protected i.i
for i=0 to 999
PokeL(*numbers1+(i*4),PeekL(*numbers+(i*4))*6)
next i
ENDPROC
cls
dim numbers#,1000*4
dim numbers1#,1000*4
for i%,0,999
long numbers#,(i%*4)=rnd(10000)+1
endfor'i%
for i%,0,9'the first ten Originalzahlen Show
print @long(numbers#,i%*4)
endfor'i%
multiply(numbers#,numbers1#)
print "--- with 6 multipliziert:"
for i%,0,9'the first ten multiplizierten numbers Show
print @long(numbers1#,1*4)
endfor'i%
waitinput
dispose numbers#
dispose numbers1#
end
|
| | | | |
| |  Jens-Arne Reumschüssel | you have with whom first ten multiplizierten numbers from slip 1 instead of i% written:
print @long(numbers1#,1*4)
it must hot:
print @long(numbers1#,i%*4)
These manner of Fehlern know I only too well...  |
| | | XProfan X4XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM PM: jreumsc@web.de | 05/12/23 ▲ |
| |
| |  Jens-Arne Reumschüssel | > might one of PB from too Windows API with graphic release which then in Profan runs?
Yes, one can all kinds of windows-API-Aufrufe in PB using (simply a Unterstrich behind whom Funktionsnamen write, z.B. MessageBox_(...)). If one whom DC of XProfan-Window commit, can too hereon draw (The suitable XProfan-Systemvariable is standardmäßig ge-Shared and must not extra transfer go: %HDC).
One example:
pbPROC Painting() protected s$,r.RECT ;PB knows The API-Structures (in this drop RECT) s$="these one Text." ;kann (and must) Unicode his, because PB automatically The Unicode-Variante of DrawText using r\left=10 r\top=10 r\right=210 r\bottom=30 DrawText_(%HDC,@s$,-1,@r,#DT_LEFT) ;PB knows automatically The API-Konstanten (with vorangestelltem '#') ENDPROC
cls Painting() waitinput end
|
| | | XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM PM: jreumsc@web.de | 05/12/23 ▲ |
| |
| |  funkheld | thanks for your Help.
How see it Please of these command of PB from , naturally without this: Open...... Repeat Event = WaitWindowEvent() Until Event = #PB_Event_CloseWindow
If something new is, question I always plenty for a durchführbares Grundgerüst.
thanks for your Answer.
CreateImage(0, 200, 200) And StartDrawing(ImageOutput(0))
Box(0, 0, 200, 200, RGB(255, 255, 255))
For radius = 100 To 10 Step -10
Circle(100, 100, radius, RGB(Random(255), Random(255), Random(255)))
Next
StopDrawing()
ImageGadget(0, 0, 0, 200, 200, ImageID(0))
|
| | | | |
| |  Jens-Arne Reumschüssel | Events go in pbPROCs not functions, think I. this is Yes the interne Messagehandling of PureBasic in "richtigen" PureBasic-Programs. here benefit we but always only single Procedures, the Messagehandling undertaking XProfan.
I faith therefore not, that Gadgets within pbPROCs walk go. i'd there rather Controls directly over CreateWindow or. CreateWindowEx produce. whether The klicked go etc., You can then in the XProfan-SubclassProc inquire. and the can naturally too in a pbPROC detoured go, because one therein The Parameter on a such commit. this is for umfangreichere SubclassProcs even very To recommend, because these geschwindigkeitssensibel are. If a new Message ankommt, during The SubclassProc yet runs, can it Ärger give, because these then again called becomes, during tappt im dunkeln not yet exits is.
Nochmal differently framed: everything, what with the GUI To do has, would I in XProfan write. The Creation the Controls must Yes not superschnell weg, the get Profan very well there. Umfangreichere Berechnungen all manner are but in a pbPROC perfect aufgehoben. too the stuff z.B. one TreeViews or of/ one GridBOX can in a pbPROC very quick carryed out go (though not over The Gadget-functions, because it Yes no Gadget-number gives, separate unfortunately over The suitable, quite complicated windows-API-functions). but The request, whether the User on something clicked has, would I, How said, in XProfan write. |
| | | XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM PM: jreumsc@web.de | 05/12/23 ▲ |
| |
| |  Jens-Arne Reumschüssel | You can you through pressing of '#' in JRPC3 incidentally standing, How the code looks, the for PB-DLL created becomes (if The Erzeugung successful was - and if you XProfEd_JR using). there You can then well see, what a designed pbPROC really and is as items functions - or even neither functions. there recognize one then z.B. very beautiful, that with Shared übergebene XProfan-variables in PB as Pointer displayed go. this is too the reason, Why tappt im dunkeln z.B. not as Laufvariablen for FOR-creep taugen, even if one for a Integervariable using has. |
| | | XProfan X4XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM PM: jreumsc@web.de | 05/12/23 ▲ |
| |
| |  Jens-Arne Reumschüssel | What the Drawing-functions angeht, The You supra called have, white I in momentum not, whether the functions can or not. that depends, what "OutputID" with StartDrawing really is. If the one DC is, can there %HDC indicate and then might it walk. If the but a PB-interne ID is, becomes it difficult, fürchte I. If you API-functions uses, and the there Yes for all possible Grafikausgaben, becomes But functions.
whether the but so a large Geschwindigkeitsvorteil yields, white I do not right. XProfan using for Grafikausgabe end intern indeed The windows-API-functions.
one ought to not try, the half-way Program in pbPROCs To verlagern. separate its meaningfully, The mostly very few Passagen in a Program To identify, The really of a Geschwindigkeitsboost by a native function profit. The encamps one then from, everything else remaining XProfan. |
| | | XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM PM: jreumsc@web.de | 05/12/23 ▲ |
| |
| |  funkheld | Hello, thanks for your Ausführliche Info.
greeting |
| | | | |
|
AnswerTopic-Options | 72.734 Views |
Themeninformationenthis Topic has 8 subscriber: |