| |
|
|
- Page 1 - |
|
| here go Opportunities geäußert.
[box:174b705055]i wish me for XProfan10:[/box:174b705055] isset(a&) to that Verify whether a& declariert is unset(a&) to that undeklarieren of a& sort(aray[&|$]) / Sortierbefehle for Arrays Startpaint -1 needed no %hwnd More, and/or %hwnd (Mainwindow) can created go without in the Taskbar To attend hiword and loword in the Sprachschatz clearlist with lever as Parameter deletes Listboxinhalt .
salvo. |
|
|
| |
|
|
| |
|
- Page 3 - |
|
|
Clemens Meier | I miss in XProfan reguläre expressions. possible into functions of only Search and Search and supplant
I mean reguläre expressions in the program to Laufzeit. to that example would like I soon one analysis-Program for Logfiles building, because any recent either schweineteuer are, or if free, unzureichend are. for a Logfile tidy apart To take, wären reguläre expressions simply cool. it were but too yet others Applications, a pure of if- and case-instructions extreme telescope would, inklusive Eingabeprüfungen. |
|
|
| |
|
|
|
Clemens Meier | Perhaps another Kleinigkeit: with Substr$ results a Error Message with negativen number the Teilstrings. to that a ought to it a function give, with the one The Number of Teilstrings detect can (one must otherwise jedesmal a Loop go through let. to that others, Why evaluates The function negatives number not as Rückwärtsermittlung the Strings from.
as example: worth$ = substr(list$,-1,,) determined whom last Teilstring.
and as new function:
number% = countsubstr(list$,,)
would be one small Posting to that effektiveren program |
|
|
| |
|
|
|
Clemens Meier | During one new Projektes, is me another function noticed, The into recent XProfan-versions To are missing shining. namely a Suchfunktion in Bereichs-Arrays. one can of course in a area self search, but once one area a structure has or one aray is, goes there not any more plenty or. only in While-creep with Hilfsvariablen.
Beautiful would a function How these: index% = areafind(area#[].name$,serious,1)
The 3. Parameter could moreover serve, How very sought go should. as Result could The index-number zurückgegeben or 0, if nothing found watts. |
|
|
| |
|
|
|
Clemens Meier | at that program entrapments one still over ands over again items one, of them one hope, these in the next Version again to find:
assoziierte Arrays - i'm famous, that the well a problem with the Speichermanagement give becomes. Beautiful would it nevertheless.
Globale variables in Procedures define can would a swell thing. one white to that example not, wieviele Arrays needed go. naturally You can then once hingehen and enough Arrays dimensionieren. still What is, if these neither suffice. in the Help there of course a Info, How is a manner Redim executing, plainer would it, if to the aray into Hilfsarray zwischenspeichert, the ursprüngliche simply with dispose, declare and dim Redimensionieren could, circa then The Data from the Hilfsarray zurückspielt. moreover missing me dynamic Stukturen. I have a procedure written, circa Data from the data base properly aufzubereiten. Do I The data base strain, must I zwangsläufig too The procedure Change. rather would it, if I The procedure so style could, I the structure one Bereiches dynamic on The data base adjust could. I have anyway yet yet no Possibility found, as reaches by hand properly To define, means in variables festzuhalten of which position up to which, which Data from one designed Datenbankfeld stammen. |
|
|
| |
|
|
|
Clemens Meier | alas Yes, before I it forget. there's functions and command, The end their Namens yet always the $ than mark, that these functions and command a String zurückliefern. at that reading one Quelltextes stolpere I over ands over again above, because too Stringvariablen one $ end having. would be not plainer, the $ with whom functions and command wegzulassen?
Automatic converting: functions usually. what but not functions is z.B.: worth% = readini$()... worth% has by me then always whom worth 0, alike I from the Ini read. Gleiches with substr$ etc. has me in the past tense multiple Kopfzerbrechen bereitet. now not any more, because I it knows. but it should still possible his, that here a automatic converting stattfindet. |
|
|
| |
|
|
|
Jac de Lad | therefore would eachone appeal of/ one function very plenty slow down! (value I anyway.) I faith not, that itself the hoisted lohnen would, unless, the Compiler would anhand the Variablentyps discern, whether a Val() or one Str$() vorangesetzt go should and this then automatically do. Hm, really no code idea!!!
Jac |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 03/30/06 ▲ |
|
|
|
|
RGH | @Michael Wodrich:
[quote:36a8e59522=Michael Wodrich]..., as long as one one Objekt not on a LongInt allocate can.[/quote:36a8e59522] what now already functions:
MeinLong& = Addr(MeinObjekt#): The address the Objektes becomes the Long-variables allocated.
what too (yet) functions:
MeinLong& = MeinObjekt#: too here becomes The address the Objects the Long-variables allocated. These Variante becomes but möglicherweise for Objects in XProfan 10 not any more functions. The Variante with Addr remaining however receive.
what you means presumably missing, is the Possibility another Objekt (possible the equal class) these address zuzuweisen. i think presently over one SetAddr(MeinAnderesObjekt#, my Long&)* to.
Greeting Roland
* (detailed Syntax yet without each Gewähr)
EDIT: In XProfan 9.1 functions too MeinObjekt# = MeinLong&. (in the Subscriptionsversion of XProfan 10 presently though not. this is though sooner one unerwünschter Nebeneffekt ...) |
|
|
| 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/31/06 ▲ |
|
|
|
|
RGH | [quote:0aeb9ca536=Jacob Liebeck] Erweiterte variables wären utterly well. means Int64 and 64bit-FLoat! Jac [/quote:0aeb9ca536] The Float-variables correspond to already the type double in C++ or Delphi, are means 64bit (8 byte) wide!
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/31/06 ▲ |
|
|
|
|
Jac de Lad | Tschuldigung, verschrieben...I mean 64bit-Int and 80bit-Float (Extended)! |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 03/31/06 ▲ |
|
|
|
|
| 64 bit INT means DoubleLongs or LongLongs stops so did i for important. particularly at works with the Dateisystem are otherwise Files > 2 GB only difficult > 4 GB only very difficult To Edit |
|
|
| |
|
|
|
RGH | [quote:098d09f434=Jacob Liebeck]therefore would eachone appeal of/ one function very plenty slow down! (value I anyway.)Jac [/quote:098d09f434] plenty slower not, but a little bit slower still. sometimes wish I, I had of these automatischen Umwandlungen never started and would little more The severity of Pascal or. Delphi walten let. some pieces the XProfan-Codes wären then übersichtlicher (and so too stabiler) and möglicherweise even faster.
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 | 04/01/06 ▲ |
|
|
|
|
RGH | [quote:32c676fda1=iF]iF wrote: i wish me for XProfan10: a) Startpaint -1 needed no %hwnd More, and/or b) %hwnd (Mainwindow) can created go without in the Taskbar To attend c) clearlist with lever as Parameter deletes Listboxinhalt .[/quote:32c676fda1] a) StartPaint -1 has yet never one %HWnd needed! ;) OK, it funktionierte but only meaningfully, if it a Memorybitmap given. circa these to create needed one The command MCLS or MLOADBMP. These both set one Mainwindow (%HWnd) advance. ex the next Subscriptionslieferung goes it too without.
b) there already in XProfan 9.1
c) ex the next Subscriptionslieferung can the commands CLEARLIST the handle of an Listbox or Choicebox follow and these becomes deleted.
in this Context functions any Listboxfunktionen (AddString , DeleteString , MoveListToList , GetCount , GetCurSel , InsterString , GetString$ and SelectString ) now too for Choiceboxen. The functions AddChoice, DeleteChoice and MoveListToChoice entfallen therefore, go of Interpreter and Compiler but yet recognized and properly transformed.
with ClassOf ([B#|N&]) can now too the Klassenname a Windowsklasse determined go, if the Parameter no Memory-Variable, separate a handle to a Fensterobjekt is. so can means z.B. determined go, whether a lever to a Selection, one Button or one Editfeld heard.
I hope, that the next Subscriptionslieferung today yet rausgeht.
Greeting Roland
EDIT: MoveListToList , MoveListToChoice and MoveListToEdit go To MoveListToHandle zusammengefaßt. XProfan recognize then because of the Fensterklasse the Handles, where gemoved becomes. Also there now too The Umkehrfunktion: MoveHandleToList, with the The Lines the List-, selection- or Multieditbox the Listboxliste added. The recent functions go here of Cpiler and Interpreter recognized and properly transformed. |
|
|
| 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 | 04/01/06 ▲ |
|
|
|