Seite 1 von 1

Alternative Funktionen?

Verfasst: Mo, 28. Jul 2014 7:11
von azzo
Hallo,
Gibt es in xBase eine ähnliche Funktion wie sysrefresh(), Doevents() oder HB_GCall().

mfg
Otto

Inside long loops call use the command Do events to give the operating system the time to process the messages & events.
Inside Harbour, to scans the memory and releases all garbage memory blocks use the function HB_GCALL()

Re: Alternative Funktionen?

Verfasst: Mo, 28. Jul 2014 9:14
von brandelh
azzo hat geschrieben:Hallo,
Gibt es in xBase eine ähnliche Funktion wie sysrefresh(), Doevents() oder HB_GCall().
mfg
Otto
Inside long loops call use the command Do events to give the operating system the time to process the messages & events.
Inside Harbour, to scans the memory and releases all garbage memory blocks use the function HB_GCALL()
SysRefresh() sagt mir nichts.
DoEvents() dürfte meiner Funktion doEventLoop() entsprechen :arrow: http://www.xbaseforum.de/viewtopic.php? ... =eventloop*
HB_GCall() brauchen wir nicht, der automatische GarbageCollector macht seine Arbeit einwandfrei.
Wenn man sehr große Strings verwendet, KANN man ihn unterstützen indem man NIL an die Variable zuweist, so weiß er, dass der Speicher freigegeben werden kann.

Re: Alternative Funktionen?

Verfasst: Mo, 28. Jul 2014 10:34
von azzo
Hallo Hubert,
habe meine Frage eigentlich als Beitrag zum Thema:
"Abarbeiten von Funktionern in Codeblöcken"
gestellt.
Wurde wahrscheinlich verschoben.
Ich glaube DoEvents, falls in xBase verfügbar, würde das Problem lösen.
mfg
Otto

Re: Alternative Funktionen?

Verfasst: Mo, 28. Jul 2014 10:51
von Jan
Hallo Otto,

stimmt. Ich hatte das verschoben, da das zur eigentlichen Frage nicht dazu gehörte. Ich dachte, daß Deine Frage es wert sei, ein neues Thema zu beginnen.

Jan