Re: more questions on transient symbols

2011-05-23 Thread Alexander Burger
Hi Edwin, thinking about it, it seems I missed your point. The example was : (de x (a b) () (pack a b) ) - x So your worry was whether the a and b in the formal parameter list are the same symbols as a and b in the 'pack' call. Answer is: Yes. The interpreter _first_ 'read's

Re: more questions on transient symbols

2011-05-23 Thread Edwin Eyan Moragas
Hi Alex, On Mon, May 23, 2011 at 2:00 PM, Alexander Burger a...@software-lab.de wrote: The interpreter _first_ 'read's the list   (de x (a b) () (pack a b)) and _then_ executes it, i.e. assignes the list   ((a b) () (pack a b)) to the symbol 'x'. The function '' is not

sorting db queries

2011-05-23 Thread Edwin Eyan Moragas
Hi list, i'm currently playing with pilog and the database. i'm trying to look for an example of sorting the output of database queries by a given attribute. as a trivial example: (class +MyClass +Entity) (rel date (+Date)) and if i run a query, i'd like to sort the output, say, by increasing

Re: sorting db queries

2011-05-23 Thread Alexander Burger
Hi Edwin, i'm trying to look for an example of sorting the output of database queries by a given attribute. ... (class +MyClass +Entity) (rel date (+Date)) ... and if i run a query, i'd like to sort the output, say, by increasing date. There are two possibilities: 1. If this sorting is

Re: sorting db queries

2011-05-23 Thread Edwin Eyan Moragas
Hi Alex, thank you. just what i need. /e On Tue, May 24, 2011 at 2:09 AM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, i'm trying to look for an example of sorting the output of database queries by a given attribute. ... (class +MyClass +Entity) (rel date (+Date)) ... and if