Search the Community
Showing results for tags 'preprocessor'.
Found 3 results
-
SQF-VM The SQF emulator A fully working, open-source Virtual Machine for the scripting language of the ArmA Games. Links GitHub Repository Discord Invite Discord Bot Authorization Panel (for adding to your server) FAQ How to use this thing? To start using the SQF-VM, you just have to double click the executable. What can it be used for (examples)? Most obvious example is: you are using a laptop while traveling and wanna test some SQF code. More advanced users might even use this for unit-testing their code. Are there command line parameters available to eg. use this for unit-testing? Yes, there are. To get all, start the tool via command line and the parameter -? How to use the debug interface? There is documentation available on the github page inside of Documentation/Debugger. What is supported? To check what currently is supported and what is not, you can use the `help__ "name"` command. If it outputs proper descriptions, the command is fully supported. If it does not, then the command is not yet implemented sadly. I found a bug, what shall i do now? Try to narrow down the problem as much as you can and then head over to the github issues section to report the bug. I got a question that is not answered in here, what to do? Ask your question in this thread or in the discord channel and i might add it to this list 🙂 Downloads All releases can also be found inside of the releases section of the github repository. 1.0-RC1 Alpha 0.1.4 Alpha 0.1.3 Alpha 0.1.2 Alpha 0.1.1 Alpha 0.1.0 Changelog 1.0-RC1 -/-
- 40 replies
-
- 13
-
I have a short question: Is there a new simpler way to use arrays with multiple values in preprocessor commands? The old way was: #define COMMA , #define EXAMPLE(farg,sarg) EXAMPLE2(farg, sarg) EXAMPLE("foo", ["bar" COMMA "othervalue"]); I would like to find a way to use the normal syntax with just EXAMPLE("foo", ["bar", "othervalue"]);. Is it possible with some tricks maby?
-
Hello there! I stumbled across an issue while working on some ArmA 3 addons. I have two addons, stored in the same folder. The structure right now looks like follows: P:\x\addon1 P:\x\addon2 Both addons have a $PBOPREFIX$, setting their namespaces as the above folder structure. "addon1" has a .hpp file with PreProcessor macros, called macros.hpp And here is, where the fun begins: I want to access these macros from addon1 inside of addon2. I have included the file inside of addon2: // File include-macros.hpp inside addon2 root #include \x\addon1\macros.hpp This works fine while rapping and packing the file using Mikero's MakePBO, actually including the correct file and its contents. If I start the game, having both addons (addon 1 and addon2) loaded, fails with a message: Include file x\addon1\macros.hpp not found I have no idea anymore, could someone please help me out with this? Thank you for your answers in advance!
- 2 replies
-
- preprocessor
- addons
-
(and 1 more)
Tagged with: