A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.lispworks.com/documentation/lw71/LW/html/lw-1537.htm below:

define-dde-server

define-dde-server Summary

Defines a class for a Lisp DDE server.

Signature

define-dde-server class-name service-name => class-name

define-dde-server class-name superclasses slot-specs options => class-name

Arguments

class-name

A class name.

service-name

A string.

superclasses

A list of superclasses.

slot-specs

The specifications for the class' slots.

options

A keyword option.

Values

class-name

A class name.

Description

The 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.

Example

The 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