CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   a question about scheme (

xiaomo October 11, 2011 03:27

a question about scheme
first i define a lsit l
(define l (list a1 a2 a3))
then i define a rp Variable list named "canshu".
(define (set-new-var s v t)
(if(not(rp-var-object s))
(rp-var-define s v t #f)
(lambda(var)(apply set-new-var var))
(canshu() list)

I want put list l (a1 a2 a3) to rp lsit "canshu"
i will use (rpgetvar 'canshu) to invoking2 (a1 a2 a3)
how could i do?
who can help me ?
thankyou very much...

All times are GMT -4. The time now is 16:29.