CLIM mail archive

[Prev][Next][Index][Thread]

Variable value menus



    Date: Tue, 24 Mar 1992 08:33 EST
    From: James Lawton <lawton@aivax.rl.af.mil>

    Is there a CLIM equivalent of the Symbolics function
    "tv:choose-variable-values"?  Or is this something that 
    would have to be done with a lot of "accept" calls?

[...]

It's easy enough to do using ACCEPTING-VALUES and ACCEPT.  The idiom is
something like

    (accepting-values (...)
	...
	(setq foo (accept ... :default foo ...))
	...)

Or in words:

    Remember to supply the current value of the variable as a default to
    ACCEPT otherwise it will get replaced with some value that ACCEPT
    pulls out of thin air.

    Remember to save the value back into the variable.


References:

Main Index | Thread Index