[Klone-users] Open file since internal KLone system
Mickael Auger
mickael.auger at gmail.com
Fri Dec 19 06:21:18 EST 2008
Hi KLone team,
I wish to open a file in my "webapp" folder. It's embedded with KLone
binary.
I need to read a file into "webapp" (ex : webapp/myconf.ini") with INI
parser but my INI parser use standard "open()", "read()" ... functions.
Can I open an embedded file in binary, please ?
ex :
My KL1 page could be :
===================================
<%
FILE fic;
fic = open("%klone%/webapp/myconf.ini");
===================================
which "%klone% would be replace by the good fonction (for example :
fs_open("/webapp/myconf.ini") where "fs_open" could the function to open a
file in embedded KLone system) after the post-compilation (in "pg_xxxx.c"
file in "target/klone/site")
Thanks.
--
Mickaël AUGER
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://koanlogic.com/pipermail/klone-users/attachments/20081219/c67688d3/attachment.htm
More information about the klone-users
mailing list