CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   a question about scheme (http://www.cfd-online.com/Forums/fluent/93288-question-about-scheme.html)

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)
)
)
for-each
(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 00:44.