Am 10.08.2011, 22:49 Uhr, schrieb Timon Gehr <[email protected]>:

Marco Leise wrote:
For starters, how about this?:
     static string someExternalText = __ctfeReadFile("external.txt");
static byte[] chipInitialState = __ctfeReadFile("initial_state.bin");

static string someExternalText = import("external.txt");
static byte[] chipInitialState = import("initial_state.bin");

(You need to pass the -Jpath switch)

Oh err, well. I was a little behind time it seems *g*.
So Ary Manzana was wrong saying "I think it's possible, though CTFE can't access outside resources."

Reply via email to