KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
variable-assignment
36 questions
Follow Tag
Sort by:
Newest
Votes
Active
11
votes
6
answers
C++: Set bool value only if not set
c++
boolean
variable-assignment
conditional-statements
compiler-optimization
asked 2013-02-22T22:00:04.727
8
votes
1
answers
Order of execution in SQL Server variable assignment using SELECT
sql
sql-server
t-sql
variable-assignment
operator-precedence
asked 2013-02-14T20:58:28.590
19
votes
7
answers
How do I assign a dictionary value to a variable in Python?
python
variables
dictionary
variable-assignment
key-value
asked 2012-11-16T23:42:08.900
9
votes
2
answers
Ruby: Assign output of a function only if it does not return nil
ruby
variable-assignment
asked 2012-11-03T11:28:56.493
16
votes
4
answers
Error in assignment of member in read-only object
c++
compiler-errors
variable-assignment
asked 2012-09-03T12:33:25.560
9
votes
2
answers
Assigning char array a value in C
c
arrays
string
char
variable-assignment
asked 2012-08-28T13:23:11.953
53
votes
4
answers
What is this kind of assignment in Python called? a = b = True
python
variable-assignment
asked 2012-07-16T05:13:25.093
18
votes
6
answers
How to restrict setting an attribute outside of constructor?
python
variable-assignment
setattr
asked 2012-06-07T09:19:51.417
12
votes
2
answers
c++: how does memberwise assignment work?
c++
variable-assignment
asked 2012-05-05T11:43:32.213
9
votes
1
answers
Constant declaration with block
javascript
variable-assignment
gecko
spidermonkey
destructuring
asked 2012-04-17T21:12:15.273
11
votes
1
answers
How do I save and change the value of a variable in OCaml?
ocaml
variable-assignment
mutation
asked 2012-04-03T22:39:06.343
13
votes
3
answers
List Assignment in Scalar Context
perl
list
variable-assignment
scalar
asked 2012-02-16T07:24:21.767
14
votes
3
answers
php array assign by copying value or by reference?
php
arrays
variable-assignment
asked 2012-01-17T16:00:58.720
8
votes
4
answers
Javascript's assignment operation is to copy references?
javascript
reference
variable-assignment
asked 2012-01-09T17:18:33.350
20
votes
2
answers
numpy function to set elements of array to a value given a list of indices
python
numpy
variable-assignment
indices
asked 2011-12-04T03:36:45.337
24
votes
7
answers
Why is assignment to 'this' not allowed in java?
java
reference
this
variable-assignment
asked 2011-11-02T11:32:10.520
24
votes
5
answers
readonly-fields as targets from subclass constructors
c#
inheritance
variable-assignment
readonly
restriction
asked 2011-10-09T20:41:24.577
10
votes
4
answers
How do I assign a property to an instance in Python?
python
attributes
properties
instance
variable-assignment
asked 2011-08-19T06:45:08.573
98
votes
5
answers
How to make a copy of a 2D array in Python?
python
arrays
object
copy
variable-assignment
asked 2011-06-30T09:43:40.363
39
votes
4
answers
Does the implicit copy constructor copy array data members?
c++
constructor
copy
variable-assignment
asked 2011-04-18T08:19:39.123
21
votes
4
answers
Is struct assignment atomic in C/C++?
c++
c
struct
variable-assignment
atomic
asked 2011-03-31T10:46:51.687
378
votes
4
answers
Set variable from another variable in Jinja
python
templates
variables
variable-assignment
jinja2
asked 2010-09-16T13:18:12.357
52
votes
7
answers
Is chained assignment of an array literal the same as multiple separate assignments repeating the literal expression?
javascript
object
variable-assignment
asked 2010-08-02T11:26:02.693
31
votes
4
answers
myView.frame.origin.x = value; does not work - But why?
objective-c
struct
variable-assignment
declared-property
asked 2010-06-06T10:20:27.213
36
votes
1
answers
Is variable assignment and reading atomic operation?
c#
.net
multithreading
variable-assignment
asked 2010-04-29T10:28:10.107
9
votes
5
answers
Java assignment issues - Is this atomic?
java
multithreading
variable-assignment
asked 2010-03-26T18:05:09.413
414
votes
12
answers
JavaScript OR (||) variable assignment explanation
javascript
variables
variable-assignment
or-operator
asked 2010-01-20T10:53:26.443
167
votes
8
answers
Linux bash: Multiple variable assignment
linux
bash
shell
variable-assignment
multiple-variable-return
asked 2009-12-23T12:03:49.197
222
votes
8
answers
Is declaring multiple variables in the same var statement equivalent to chained assignment?
javascript
variables
variable-assignment
asked 2009-11-18T19:48:37.857
15
votes
5
answers
Why does an assignment for double-sliced numpy arrays not work?
python
numpy
variable-assignment
slice
asked 2009-11-06T13:21:56.463
24
votes
7
answers
C array declaration and assignment?
c
arrays
variable-assignment
asked 2009-04-13T16:45:19.580
406
votes
14
answers
Is it possible only to declare a variable without assigning any value in Python?
python
variable-assignment
variable-declaration
asked 2009-03-19T22:21:53.270
170
votes
7
answers
What does the keyword Set actually do in VBA?
vba
variable-assignment
asked 2008-12-08T13:54:30.143
35
votes
1
answers
memcpy vs assignment in C
c
struct
variable-assignment
memcpy
asked 2008-11-27T15:17:04.087
17
votes
4
answers
Destructuring assignment in JavaScript
javascript
variable-assignment
destructuring
asked 2008-10-15T11:56:07.677
96
votes
12
answers
Why would you use an assignment in a condition?
conditional-statements
language-agnostic
variable-assignment
asked 2008-09-30T05:24:43.737