A forum for Spin users
You are not logged in.
Pages: 1
Hi!Can anyone tell me, if dspin ([url]http://www-verimag.imag.fr/~iosif/dspin/[/url]) is still available for version 6 of spin? Is there any alternative to have functions in Spin?
Offline
I don't think dspin is kept up to date.
You can have functions in Spin if you write them in C and then include them inside embedded C constructs:
c_code { f(); }
you'll also have to link to the file with the definition of f() of course, and you have to be careful about how you access global variables -- as shown in chapter 7 of the latest spin book
Offline
Pages: 1