colon-equals Questions
7
Solved
For variable assignment in Make, I see := and = operator. What's the difference between them?
Louvar asked 2/2, 2011 at 20:38
6
Solved
What does the := operand mean, more specifically for Python?
Can someone explain how to read this snippet of code?
node := root, cost = 0
frontier := priority queue containing node only
explored ...
Heterozygote asked 23/9, 2014 at 16:31
7
Solved
In some programming languages, I see (ex.):
x := y
What is this := operator generally called and what does it do?
Deputy asked 1/5, 2012 at 23:38
8
Solved
I am new to Go programming language.
I noticed something strange in Go: I thought that it used := and substitutes = in Python, but when I use = in Go it is also works.
What is the difference be...
Mikey asked 9/4, 2016 at 4:58
4
Solved
What is the difference in between
set test_var = 20;
and
set test_var:=20;
as they both seem to assign the value ?
Jaguarundi asked 25/3, 2013 at 11:47
12
Solved
I've seen := used in several code samples, but never with an accompanying explanation. It's not exactly possible to google its use without knowing the proper name for it.
What does it do?
Taxis asked 17/3, 2011 at 20:15
3
Solved
Currently, I am learning some FPGA design techniques using VHDL, my problem is whether we can use := and <= interchangeably in VHDL or not, though I've seen the use of := in constants declaratio...
Ina asked 13/8, 2012 at 1:7
5
I was learning about Go and was wondering if there is a name for the := operator. As in x := 4.
The best I can come up with is the "spider face".
Example
(source: buzzfed.com)
Update
The...
Bisulfate asked 30/12, 2013 at 0:5
7
Solved
I'm following this tutorial, specifically exercise 8:
http://tour.golang.org/#8
package main
import "fmt"
func swap(x, y string) (string, string) {
return y, x
}
func main() {
a, b := swap...
Stickle asked 16/5, 2013 at 1:27
4
Solved
What's happening here?
package main
import "fmt"
func main() {
myArray :=[...]int{12,14,26} ;
fmt.Println(myArray)
myArray :=[...]int{11,12,14} //error pointing on this line
fmt.Printl...
Klarrisa asked 11/11, 2012 at 6:42
2
Solved
What is the best way to assign to multiple columns using data.table? For example:
f <- function(x) {c("hi", "hello")}
x <- data.table(id = 1:10)
I would like to do something like this (of ...
Amoroso asked 27/7, 2012 at 2:13
3
By digging into R source code (file R-3.2.2/src/main/gram.y lines 2836 to 2852) I found that the R parser/tokenizer considers that := is a LEFT_ASSIGNMENT token.
But when trying to use it as an as...
Kyle asked 28/9, 2015 at 7:31
3
Solved
What's the difference between :- and := in Bash parameter substitution?
They seem to both set the default?
Conifer asked 12/1, 2018 at 2:35
2
Solved
Using R's data.table package,
This works:
instruction = "a = data.table(name=1:3, value=1:3, blah=1:3); a[,c('value', 'blah'):=NULL]"
eval(parse(text=instruction))
# name
#1: 1
#2: 2
#3: 3
This...
Wizen asked 16/1, 2015 at 9:30
2
Solved
I have been working with Excel for a while, yet i have never read what is the difference between these two operators ("regardless of i have used both")
:= and = in Excel VBA
Salmonella asked 23/11, 2016 at 15:20
1
Solved
I have a mysql table (scho_id,school_name,school_views).
I was looking for a mysql query to get rank of schools on the basis of school_views.
I found this solution on stackoverflow.
SET @points...
Lepus asked 7/9, 2016 at 22:0
3
Solved
Here is an unclear example from docs, using this operator: http://package.elm-lang.org/packages/elm-lang/core/3.0.0/Json-Decode#at
Rufford asked 3/4, 2016 at 7:22
1
Solved
Could someone explain the difference between:
(1.)
newObj := TMyObject.Create;
newObj.Assign(oldObj);
and
(2.)
newObj := oldObj;
in 2. does newObj and oldObj refer to the same single objec...
Wesley asked 27/12, 2015 at 14:43
1
Solved
While reading http://ggvis.rstudio.com/interactivity.html, I noticed the code has := sprinkled in it. I assume that is a new way of providing arguments to a function? What is it exactly?
mtcars %&...
Sherman asked 18/8, 2015 at 15:30
4
Solved
I am trying to compile pthreads for MSVC2015 and found some strange code.
localPtr->wNodePtr->spin := PTW32_TRUE;
What is this line doing?
Extraneous asked 1/7, 2015 at 7:48
2
Solved
Im using plpgsql to write triggers n Im wondering when to use = and when to use := in postgreSQL, what is the difference???
for example:
CREATE OR REPLACE FUNCTION on_ai_myTable() RETURNS TRIGGER...
Delighted asked 20/6, 2015 at 16:29
1
What does this mean
:=
in sql ?
If found some sql using like that symbol example
select col1, col2, @pv:=col3 as 'col3' from table1
join
(select @pv:=1)tmp
where col1=@pv
Schuck asked 19/12, 2014 at 6:47
2
Solved
I have come across the popular data.table package and one thing in particular intrigued me. It has an in-place assignment operator
:=
This is not defined in base R. In fact if you didn't load...
Hysterectomy asked 9/10, 2014 at 2:37
2
Solved
This is impossible to search on google, bing, yahoo, etc, because it uses symbols. How annoying!
What's the difference between ::= and := in oracle's pl/sql?
Swish asked 26/8, 2014 at 19:13
4
Solved
The documentation for PL/pgSQL says, that declaration and assignment to variables is done with :=.
But a simple, shorter and more modern (see footnote) = seems to work as expected:
CREATE OR REP...
Resign asked 18/9, 2011 at 15:2
1 Next >
© 2022 - 2024 — McMap. All rights reserved.