Pennywise – User talk

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 3: Line 3:
Re: ''Unable to comment brackets out in .sqf file. Commented out brackets are still processed by the .sqf parser resulting in errors. ''
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".  [[User:Hoz|hoz]]
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".  [[User:Hoz|hoz]]
try call compile loadfile "blah.sqf". [[User:Pennywise|Pennywise]] 20:44, 11 January 2007 (CET)

Revision as of 20:44, 11 January 2007

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)