Skip to main content
to assign

to assign

16 3.0
Put a value into a variable so a program can use it
  • verb
  • /əˈsaɪn/
  • Specialized
translation icon : asignar
  • To store the user input correctly, make sure to assign it to the appropriate variable.
  • assign a value
  • assign to a variable
  • assign numerical values

And in this case we assigned those actors incomes.

Autoplay Next

Examples

  • As each pixel is scanned for brightness, it is assigned a number from 0 to 255.

    Academic text (1990)
  • I just need to assign a number.

  • All right, so the first step is always to assign a set of coordinates.

  • So to define those values, I need to assign them variables.

  • So what I need to do is to choose K slots and assign heads to them.

  • Each pixel must be assigned a value on the gray scale, from dark to light.

    Academic text (1992)
  • Middle C, for instance, is generally assigned the MIDI note number 60.

    Academic text (1994)
  • In the first task, subjects assigned numerical values to each of 30 expressions.

    Academic text (1990)
  • You can assign values to multiple variables by using a single statement in the program.

  • Before executing the function, you need to assign the necessary parameters for it to work.

Antonyms

144 1.6

Remove marks, writing, or digital files so they are no longer visible

How Wide

to broadcast
  • Literature
178 2.1
to propagate
23 5.9
to pass down
  • Specialized
1 4.8
to assign
  • Specialized
16 3.0
to localize
  • US
23 4.8

Surface Forms

assign infinitive
assigned past
assigned past participle
assigning present participle
assigns third person singular

Morphology

assign = sign (semi-transparent) = as + sign

The programming sense ('to give or store a value') is an extension of 'assign/allocate' into a technical domain; form is clear but domain knowledge is needed to fully understand it.

Etymology

Assign comes from Latin signare 'to mark' and is related to sign, and in programming you 'mark' a variable with a value. So to assign 5 to a variable means you give that variable the number 5.