Re: [fpc-pascal] Re: Get all caller adresses of a given function/procedure before executing

2012-08-13 Thread waldo kitty
On 8/13/2012 05:09, Rainer Stratmann wrote: Am Monday 13 August 2012 10:35:55 schrieb Lukasz Sokol: [TRIM] You were saying, that you want to know, which string has not been used / which string has been used and how many times ? I want to knof if the string was called the first time. But since

Re: [fpc-pascal] WeekDay outdated?

2012-08-13 Thread michael . vancanneyt
On Mon, 13 Aug 2012, Marco van de Voort wrote: In our previous episode, Jonas Maebe said: I am not able to use this function: http://www.freepascal.org/docs-html/rtl/dos/weekday.html nor can I find it in the sources. Does it still exist? If yes, how to use it? Which unit? DOS does not work.

Re: [fpc-pascal] Re: Get all caller adresses of a given function/procedure before executing

2012-08-13 Thread Rainer Stratmann
Am Monday 13 August 2012 12:29:51 schrieb Marco van de Voort: > > Still if we want an own editor, converting gorm would be an option. > I do this online. http://109.91.95.104/sprache Not yet complete, but for demonstration ok. From outside changes are not possible by now. ___

Re: [fpc-pascal] Re: Get all caller adresses of a given function/procedure before executing

2012-08-13 Thread Marco van de Voort
In our previous episode, Lukasz Sokol said: > Me neither - but IIRC using gettext (dxgettext) was something /incredibly/ > easy : > the translating function is called '_()' :) (yes, function _([const] input: > string): string; ) > > (allegedly, in newer (dx)gettext, not even that- it's enough t

Re: [fpc-pascal] Re: Get all caller adresses of a given function/procedure before executing

2012-08-13 Thread Rainer Stratmann
Am Monday 13 August 2012 12:07:59 schrieb Lukasz Sokol: > On 13/08/2012 10:09, Rainer Stratmann wrote: > > If I put a ls('snippet') around all texts I now get every caller adress > > (handle) and the text information 'snippet' itself. So before they are > > called I can make a list with all handles

Re: [fpc-pascal] WeekDay outdated?

2012-08-13 Thread Marco van de Voort
In our previous episode, Jonas Maebe said: > > I am not able to use this function: > > http://www.freepascal.org/docs-html/rtl/dos/weekday.html > > nor can I find it in the sources. > > Does it still exist? > > If yes, how to use it? Which unit? DOS does not work. > > The weekday function only exi

[fpc-pascal] Re: Get all caller adresses of a given function/procedure before executing

2012-08-13 Thread Lukasz Sokol
On 13/08/2012 10:09, Rainer Stratmann wrote: > Am Monday 13 August 2012 10:35:55 schrieb Lukasz Sokol: >> On 12/08/2012 14:41, Rainer Stratmann wrote: >>> It depends on the approach. >>> If you have a better solution would you take another approach? >> >> What is wrong with known and explored ways

Re: [fpc-pascal] WeekDay outdated?

2012-08-13 Thread Jonas Maebe
Jürgen Hestermann wrote on Mon, 13 Aug 2012: Am 2012-08-13 11:08, schrieb Jonas Maebe: The weekday function only exists in the unix version of the Dos unit. That's strange (and not documented). It's because the documentation is generated under Linux using fpdoc (which is the only scenario t

Re: [fpc-pascal] WeekDay outdated?

2012-08-13 Thread Jürgen Hestermann
Am 2012-08-13 11:17, schrieb Howard Page-Clark: Sysutils has an integer DayOfWeek function, and dateutils has a word DayOfTheWeek function. Both take a TDateTime parameter (rather than the separate year, month, day parameters of the old dos unit). Yes, I already saw this. But this requires a

Re: [fpc-pascal] WeekDay outdated?

2012-08-13 Thread Jürgen Hestermann
Am 2012-08-13 11:08, schrieb Jonas Maebe: The weekday function only exists in the unix version of the Dos unit. That's strange (and not documented). It should probably either be removed from its interface, or added to the common part of the Dos unit (there's nothing unix-specific about it).

Re: [fpc-pascal] WeekDay outdated?

2012-08-13 Thread Howard Page-Clark
On 13/8/12 9:56, Jürgen Hestermann wrote: I am not able to use this function: http://www.freepascal.org/docs-html/rtl/dos/weekday.html nor can I find it in the sources. Does it still exist? If yes, how to use it? Which unit? DOS does not work. You will find what you need at unit dateutils. Wh

Re: [fpc-pascal] WeekDay outdated?

2012-08-13 Thread Jonas Maebe
Jürgen Hestermann wrote on Sun, 12 Aug 2012: I am not able to use this function: http://www.freepascal.org/docs-html/rtl/dos/weekday.html nor can I find it in the sources. Does it still exist? If yes, how to use it? Which unit? DOS does not work. The weekday function only exists in the unix v

Re: [fpc-pascal] Re: Get all caller adresses of a given function/procedure before executing

2012-08-13 Thread Rainer Stratmann
Am Monday 13 August 2012 10:35:55 schrieb Lukasz Sokol: > On 12/08/2012 14:41, Rainer Stratmann wrote: > > It depends on the approach. > > If you have a better solution would you take another approach? > > What is wrong with known and explored ways e.g. gettext ? It will be ok for those who are sa

Re: [fpc-pascal] WeekDay outdated?

2012-08-13 Thread Jürgen Hestermann
Am 2012-08-13 00:02, schrieb Daniel Gaspary: On Sun, Aug 12, 2012 at 2:05 PM, Jürgen Hestermann wrote: I am not able to use this function: http://www.freepascal.org/docs-html/rtl/dos/weekday.html nor can I find it in the sources. Does it still exist? If yes, how to use it? Which unit? DOS does

RE : RE : [fpc-pascal] FPC trunk seems to crash compiling Lazreport; was: Re: [Lazarus] Lazreport compilation problems with FPC trunk

2012-08-13 Thread Ludo Brands
> > I encounter the same problem as Reinier and > > I build the compiler with OPT="-g -gl", nothing more. > > Then it's probably something else. > Problem is caused by the changes in rev 21972. Code iterates now indefinitely TDebugInfoStabs.field_write_defs, TDebugInfo.appenddef, TDebugInfoStabs.

[fpc-pascal] Re: Get all caller adresses of a given function/procedure before executing

2012-08-13 Thread Lukasz Sokol
On 12/08/2012 14:41, Rainer Stratmann wrote: > Am Sunday 12 August 2012 15:29:44 schrieb Jonas Maebe: >> Florian already implemented that quite a while ago :) I suggest to drop the >> topic though, because Rainer does not appear to be open to taking another >> approach > > It depends on the approa