Sunday, 9 January 2011

The squire of GOTOs.

SULU: Captain, how far do we go along with this charade?
KIRK: Until we can think our way out. Meanwhile, we accept his hospitality.
MCCOY: You should taste his food. Straw would taste better than his meat, and water a hundred times better than his brandy. Nothing has any taste at all.
SPOCK: It may be unappetizing, Doctor, but it is very logical.
MCCOY: There's that magic word again. Does your logic find this fascinating, Mister Spock? 

let's use a class to specify robot to PC and PC to robot binary message:

(defclass g26-message ()
    ((logical-channel :initarg :logical-channel)
     (command-code :initarg :command-code)
     (data-length :initarg :data-length)
     (data :initarg :data)
     (crc-code :initarg :crc-code)))

No comments:

Post a Comment