Top "Macros" questions

***DO NOT USE for VBA / MS-Office languages.

Cognos Report Studio Prompt Macros

Is there a full guide for the use of prompt macros? I have used a few to filter date and …

macros report prompt cognos
What are the macros in resource.h used for?

When a resource file is created in visual studio, the IDE automatically generates a header file called resource.h with …

c++ macros resource-files
Show Settings Bundle only for Debug Mode

I'm using this tutorial to create a simple Settings Bundle in my app. The thing is that I want to …

ios debugging macros settings.bundle
Run shell command and return output as result of custom function

I would like to write a custom OpenOffice function that runs a shell command and puts the result into the …

shell macros openoffice-calc openoffice-basic
Given the following LISP eval function - what is required to add defmacro?

Given the following definition of the LISP eval function - what is required to add the defmacro function? (Or even …

macros lisp common-lisp eval
C++ format macro / inline ostringstream

I'm trying to write a macro that would allow me to do something like: FORMAT(a << "b" <&…

c++ format printing macros ostringstream
Is there a #define for C99?

I want to do something in C99 one way, otherwise to perform it another way. What is the #define to …

c macros c99
AutoHotKey: #IfWinActive .* Explorer *. ? in windows 7

I'm trying to make an AutoHotKey macro that's active only in Windows Explorer but I don't know the name of …

macros explorer autohotkey
'ISO C99 requires at least one argument for the "..." in a variadic macro' When specifically using c11 and -Wno-variadic-macros

I have a simple: #define log(text, ...) fprintf(stderr, "stuff before" text "stuff after", ## __VA_ARGS__); which is triggering: error: …

gcc macros variadic-macros
What is "with-eval-after-load" in Emacs Lisp

I came across the macro with-eval-after-load when trying to install persp-mode from here. But I am unable to find the …

emacs macros elisp