Pennywise – User talk

From Bohemia Interactive Community
Revision as of 23:10, 11 January 2007 by Raedor (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

loadFile returns string, in ArmA call needs code, so it should be clear that it has to be "compiled" before. But you can put it in the examples, if you want. --raedor 11:42, 28 November 2006 (CET)

Re: Unable to comment brackets out in .sqf file. Commented out brackets are still processed by the .sqf parser resulting in errors. I took your example and tried that line in a single sqf file and didn't receive any errors. I don't think this is a bug but perhaps some other line maybe producing the error? I'm running the sqf like this: dummy= execvm "blah.sqf". hoz

try call compile loadfile "blah.sqf". Pennywise 20:44, 11 January 2007 (CET)
C-like comments (/*this is a comment*/ and //this is a comment) only work with preprocessFile (instead of loadFile) ;) --raedor 22:10, 11 January 2007 (CET)