On Mon, Oct 21, 2019 at 06:16:41AM -0700, C K Kashyap wrote: > Thank you Alex, > I get the following when I run the (?) - for which I defined a function XX.
Good. > I do see that I get back 1 record when *CuSuNm is "Oaks" and 3 records when > *CuSuNm is "". However, I don't see the actual values - except for @Nm. > @Nr=NIL @Nm="Oaks" @Tel=NIL @Plz=NIL @Ort=NIL @Mob=NIL @@={C2} Yes. '?' shows all unified Pilog variables. As the object is bound to '@@', we see '{C2}' but that's not so very helpful. You can use the 'show' predicate to view them: : (? ... (select (@@) ...) (show @@)) or pick individual properties : (? ... (select (@@) ...) (val @Nm @@ nm) (val @Tel @@ tel)) then '@Nm' and '@Tel' will be unified to the proper values and shown in the results. > While at it, could you also explain the @/@@ convention? Is there a doc I > could read for this? '@@' is just the implicit variable used in the GUI. Outside of GUI usage you can use any name, e.g. : (? ... (select (@CuSu) ... ☺/ A!ex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe