Questions tagged [defined]

A definition is an unambiguous statement for the meaning of a word or phrase. In programming, a variable definition provides all the details for that variable.

304 questions
4
votes
4 answers

C++ #define my me ->

I am going through the source of an older application. In this code I see a lot of the usage "my". It was defined as #define my me -> But I am unsure what exactely that means. Does that mean that if I use "my", it will use "this->"? I know it is…
tmighty
  • 10,734
  • 21
  • 104
  • 218
4
votes
3 answers

Short syntax for call function if defined

is there a shorter syntax or operator for defined $functionpointer ? $functionpointer->($value) : $value i would like to have sth like the //-Operator, so that I can shortly write $functionpointer //->() $value or anything in that direction what I…
Hachi
  • 3,237
  • 1
  • 21
  • 29
3
votes
2 answers

Python: "Self" is not not defined?

Back with the same confusing script.. there was A LOT of spacing issues that I fixed... but seem to be missing more? Whats wrong with this -- its saying line 332 self is not defined... Here are a few lines above and below that script in case it…
Jake Dewit
  • 57
  • 1
  • 3
3
votes
1 answer

Undefined function error for javascript function

Here is my code, I don't understand what's wrong.