Questions tagged [compiler-directives]

Compiler directive is a language construct that specifies how a compiler (or assembler or interpreter) should process its input.

Compiler directive is a language construct that specifies how a compiler (or assembler or interpreter) should process its input.

125 questions
-1
votes
1 answer

using VB.Net And/Or operators for logical short-circuiting: Any compiler-directive/workaround?

I found using AndAlso/OrElse, all the time, VERY annoying. It reduces code readability, especially when conditioning get complicated. Any suggestions?
Bohoo
  • 1,099
  • 11
  • 25
-2
votes
1 answer

What is Free Pascal Error 3208 Illegal assignment to for-loop variable

Tell me about Free Pascal compiler error 3208 "Illegal assignment to for-loop variable."
-2
votes
2 answers

is itoa alternative exist using compiler directive macros

I was wondering is there can be a way to stringize an integer variable using stringizing compiler directive. I tried using: #define stringize(a) #a #define h(a) stringize(a) #define g(a,b) a##b #define f(a,b) g(a,b) int main() { int num = 1024; …
pankiii
  • 435
  • 3
  • 9
-2
votes
1 answer

What is the difference between preprocessing, directives and mix ins?

I'm working developer tool and in it you are able to export HTML. It also saves to its own file format(not html). With this tool I'm exporting, replacing and generating code but I'm not sure what the terminology is for each of the things I'm…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
-2
votes
2 answers

#if DEBUG directive

#if DEBUG mailMessage = new MailMessage("someEmail.com", "someEmail.com", subject, messsageBody); #else mailMessage = new MailMessage(Membership.GetUser().Email, cppAccount.Email, subject,…
user2117229
  • 135
  • 3
  • 8
1 2 3
8
9