Questions tagged [colon-equals]

For questions regarding the `:=` operator available in several languages

60 questions
9
votes
1 answer

What does := mean in oracle when we use it

What does := mean in oracle when we use it Please give me some demonstrations... and also how do we usually use a dynamic query in a stored procedure in oracle...
8
votes
2 answers

What is the difference between := and = in Excel VBA

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
Moreno
  • 608
  • 1
  • 9
  • 24
8
votes
2 answers

when to use = and := in postgreSQL?

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 AS $$ DECLARE t_ix real; n int; BEGIN IF…
Natysiu16
  • 326
  • 1
  • 6
  • 12
7
votes
3 answers

What exactly does the := operator do in Elm?

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
yevt
  • 732
  • 1
  • 6
  • 21
7
votes
2 answers

what's the difference between ::= and := in oracle?

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?
dansch
  • 6,059
  • 4
  • 43
  • 59
5
votes
1 answer

deparse expressions containing `:=`?

Expressions containing := don't deparse nicely : call1 <- quote(f(a = b(c = d))) call2 <- quote(f(a := b(c := d))) # nice deparse(call1) #> [1] "f(a = b(c = d))" # not nice deparse(call2) # [1] "f(`:=`(a, b(`:=`(c, d))))" I would like to get the…
moodymudskipper
  • 46,417
  • 11
  • 121
  • 167
5
votes
1 answer

:= sql operator in pgsql function

I came across this operator := in a postgresql function: searchsql:= searchsql || ' WHERE 1=1 ' ; I googled but cannot find the answer, what does it mean?
dtjmsy
  • 2,664
  • 9
  • 42
  • 62
5
votes
5 answers

What do you call the := operator?

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 reason I ask is because I'm wondering how you would read the…
Christian Schlensker
  • 21,708
  • 19
  • 73
  • 121
5
votes
1 answer

What does the symbol :=: mean (colon equals colon)

I've found the symbol :=: in some Clarion code and I can't seem to figure out exactly what it does. The code was written by a previous developer many years ago, so I can't ask him. I also have not been able to find any results for "colon equals…
DanM7
  • 2,203
  • 3
  • 28
  • 46
4
votes
1 answer

What does := mean in VBA

This might be a simple question but I'm searching online for the answer and can't seem to find it. With the use of the code below as an example, what do these symbols mean. Symbol 1 :="" Symbol 2 :=_ Application.PrintOut FileName:="",…
rationalist
  • 65
  • 2
  • 7
4
votes
2 answers

About Error ":= and `:=`(...) are defined for use in j, once only and in particular ways. See help(":=")"

I encountered a weird error message in data.table I modified a data.table using := , and it is totally OK without any error. When I trying to put the code into a function, the following error message comes out. Error in `:=`(date,…
Bigchao
  • 1,746
  • 3
  • 15
  • 31
4
votes
1 answer

What does mean the colon with equal sign ":="

If foud this code: ActiveCell.Offset(-5, -1).Range("A1:E1").Cut Destination:=ActiveCell.Range( _ "A1:E1") I can't find any reference about ":=". What does it mean?
Benny7500
  • 569
  • 6
  • 16
3
votes
2 answers

What is the := operator called in VB.NET?

In VB.NET, you can invoke methods (or add attributes) with optional parameters like so: DoSomething(FirstName:="Bob", LastName:="Smith") ... Public MyClass ... I was trying to find out the name of the :=…
ckittel
  • 6,478
  • 3
  • 41
  • 71
2
votes
1 answer

Autohotkey: What's the difference between := and = assignment operator

I don't quite understand what the difference is between := and = assignment operator in AutoHotKey. On the manual, = is a traditional assignment, := is an expressional assignment. I've never seen anyone use = operator, only:=. Reference and image…
Vincent Tang
  • 3,758
  • 6
  • 45
  • 63
2
votes
1 answer

What's the difference between := and => in Ada?

As far as I know, := seems to do an assignation by copy. The operator => seems to do a similar assignation, but is used when assigning a parameter to a member variable of an object. so... receivesTheCopy := isBeingCopied memberVariable =>…
VincentDM
  • 469
  • 6
  • 17