Jump to content

Leaderboard

  1. fuccaro

    fuccaro

    Moderator


    • Points

      1

    • Posts

      1,738


  2. steven-g

    steven-g

    Trusted Member


    • Points

      1

    • Posts

      2,762


  3. Lee Mac

    Lee Mac

    Trusted Member


    • Points

      1

    • Posts

      21,102


  4. Roy_043

    Roy_043

    Trusted Member


    • Points

      1

    • Posts

      1,088


Popular Content

Showing content with the highest reputation on 01/02/2020 in Posts

  1. You can look at Lee Mac's Xdata example and do something similar for Xrecords.
    1 point
  2. The above could alternatively be written: (defun LM:data->xdata ( x ) (cond ( (= 'str (type x)) (list (cons (if (handent x) 1005 1000) x))) ( (= 'real (type x)) (list (cons 1040 x))) ( (= 'int (type x)) (list (cons (if (< -32769 x 32768) 1070 1071) x))) ( (= 'list (type x)) (append '((1002 . "{")) (apply 'append (mapcar 'LM:data->xdata x)) '((1002 . "}")))) ( (list (cons 1000 (vl-prin1-to-string x)))) ) )
    1 point
×
×
  • Create New...