An identifier is a name that identifies either a unique object or a unique class of objects.
Questions tagged [identifier]
1353 questions
7
votes
3 answers
Difference between identifier and variable (in JavaScript)
I had been looking through this query for the answer.
With the below JavaScript syntax:
var var1 = 1;
var var2 = function(a, b){
return a + b;
};
var var3 = var2(3, 5);
I would like to know, whether var1/var2/var3 are variables or…

overexchange
- 15,768
- 30
- 152
- 347
7
votes
5 answers
Android: R.java: error expected
I am a beginner to android development, and was following the training guide at developer.android.com (Better tutorials would be greatly appreciated as well). I was adding the action bar when I started getting this error.
Executing tasks:…

user2901278
- 93
- 1
- 3
- 7
7
votes
2 answers
My app was rejected for using "Advertising Identifier"
My app was rejected for using advertising identifier, but I am not using any advertising identifier in my app.
I've checked my code and there is no advertising identifier, I am not even using the Ad support framework.
Yes, my app serves ads but I am…

Deepak
- 427
- 4
- 18
7
votes
1 answer
In-App purchase product not found
I'm trying to test in-app purchases in demo app. But when I'm press "Buy" button, message "Product not found: com.company.inappdemo.test" appears.
I'm sure that Bundle ID and Product ID is right. What else can be wrong and cause an error?
P.S. Link…

Konstantin Cherkasov
- 3,243
- 2
- 18
- 22
7
votes
1 answer
JSF-generated HTML element ID is changing, how to set it to a fixed element ID?
I have a JSF input text component which has an id of search. In the generated HTML output it looks like this j_idt17:search, but the number 17 is changing from time to time. How to make it to stay one?

Pavel
- 1,278
- 2
- 17
- 34
7
votes
8 answers
What is the meaning of leading underscores in a C++ constructor?
OK I am not a very experienced C++ programmer, but I was wondering what is the significance of the underscores in the arguments of the following constructor?
class floatCoords
{
public:
floatCoords(float _x, float _y, float _width, float…
Jorge
7
votes
1 answer
How long are the vendor and advertising IDs that have replaced iPhone UDIDs?
I know that a UDID is 40 characters long. Now, Apple forbids their usage and has replaced them with vendor and advertising identifiers for iPhones.
I need to replace them in DB, but I cannot find their length. What is the length of these new…

Nuri Tasdemir
- 9,720
- 3
- 42
- 67
7
votes
1 answer
How can % signs be used in identifiers
Browsing the v8 tree, under the src directory, some js files were there, providing some basic JS objects like Math, Array etc. Browsing those files, I saw identifiers including a percent sign (%) in their names, i.e. %Foo. I first naively thought it…
user1621465
7
votes
4 answers
identify groups of linked episodes which chain together
Take this simple data frame of linked ids:
test <- data.frame(id1=c(10,10,1,1,24,8),id2=c(1,36,24,45,300,11))
> test
id1 id2
1 10 1
2 10 36
3 1 24
4 1 45
5 24 300
6 8 11
I now want to group together all the ids which link.
By…

thelatemail
- 91,185
- 12
- 128
- 188
7
votes
2 answers
REST numeric or string resource identifiers?
I'm doing some research to help me develop a REST API and this is one topic I haven't seen discussed in depth anywhere.
If I have a user in the system, is it better to identify the user using a numeric identifier
/users/1
Or using a string…

James McMahon
- 48,506
- 64
- 207
- 283
6
votes
1 answer
Java parsing of dotted identifiers
What are the rules Java uses to resolve dotted identifiers?
For example:
import Foo.Bar;
class Foo
{
public static class Bar
{
};
};
Now, Foo.Bar can refer to either the imported class Bar or the one defined in the source code. How is…

David Given
- 13,277
- 9
- 76
- 123
6
votes
1 answer
Unable to resolve identifier on netbeans
I'm keep getting this "Unable to resolve identifier file" message on netbeans.
I'm new in c and netbeans.
It was fine last night but somehow after rebooting my computer this message keep occurs.
Here's a code. What would be the problem?
#include…

Max
- 273
- 1
- 6
- 15
6
votes
3 answers
C++ identifier is undefined
I'm new to C++ I don't understand why I'm getting this error. Out of 5 statements that are similar 3 mark error but the other two are okay. The error is in the main function.
#include
using namespace std;
// Function…

hcas
- 69
- 1
- 1
- 6
6
votes
1 answer
In Common Lisp, is there a defined maximum length for a symbol's name?
I wasn't able to find this information in the Hyperspec or Common Lisp: The Language (second edition). Implementation-dependent constants like LAMBDA-PARAMETERS-LIMIT and CALL-ARGUMENT-LIMIT, but not something like SYMBOL-NAME-LENGTH-LIMIT or…

texdr.aft
- 274
- 2
- 10
6
votes
2 answers
Does Haskell allow use of keywords in identifiers?
C# allows it if you put an @ before the variable name. So
int @int = 0;
is valid in C#.
Does Haskell have anything similar to this or it doesn't allow it altogether?
Thanks

strider
- 2,157
- 5
- 30
- 38