Defines a class for a Lisp DDE server.
Signaturedefine-dde-server class-name service-name => class-name
define-dde-server class-name superclasses slot-specs options => class-name
ArgumentsA class name.
A string.
A list of superclasses.
The specifications for the class' slots.
A keyword option.
ValuesA class name.
DescriptionThe macro define-dde-server
defines a class for a Lisp DDE server. The class inherits from dde-server
.
The long form of the macro is similar to defclass, but with one extra option, :service
, which is used to specify the service name string to which this server will respond.
The short form is provided to handle the common simple case; class-name is the name of the Lisp class to be defined, and service-name is the service name string to which this server will respond.
ExampleThe first example uses the short version of define-dde-server
to define a class, called lisp-server
, which has the service name "LISP
".
(define-dde-server lisp-server "LISP")
The second example shows how to use the long for of the macro to define the same class, and illustrates the use of the superclasses and options arguments.
(define-dde-server lisp-server (dde-server)
()
(:service "LISP"))
LispWorks User Guide and Reference Manual - 20 Sep 2017
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4