If you are referring to include-template from web-server/templates, that is incorrect. The include-template function just embeds a file written in the @-syntax starting from literal mode. So its result is normally a string, but the file can use the @ syntax to escape back into the parent language and write any program.
The documentation contains examples of programs inside the template: http://docs.racket-lang.org/web-server/templates.html?q=include-template#%28form._%28%28lib._web-server%2Ftemplates..rkt%29._include-template%29%29 What exactly are you trying to do and what is the problem? Jay On Thu, Oct 15, 2015 at 11:28 PM, <david.cao2...@gmail.com> wrote: > I am little confuse about template, my understanding is that template can > only put into comment, template is not real code, am i right? > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Jay McCarthy Associate Professor PLT @ CS @ UMass Lowell http://jeapostrophe.github.io "Wherefore, be not weary in well-doing, for ye are laying the foundation of a great work. And out of small things proceedeth that which is great." - D&C 64:33 -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.