[Klone-users] C strict or not

thomas fossati tho at koanlogic.com
Tue Apr 22 05:33:33 EDT 2008


Ciao Mickael,

On Apr 22, 2008, at 11:28 AM, Mickael Auger wrote:
> However the C file generated by the KL1 file is not written in C  
> strict. So I must declare my variables and functions in <%! ...%> tag.
> But these variables/functions become global variables/functions and  
> I can not use the same names into other KL1 pages.

you can use the 'static' keyword to limit the scope of your globals to  
be file specific.

t.



More information about the Klone-users mailing list