Questions tagged [assign]

Something related to an assignment operation, i.e. the process of changing the content of a variable to reflect some given value.

1695 questions
0
votes
1 answer

How can I display modules according to articles?

I apologize if this question has been asked before but I couldn't find an answer. I created a main menu with several links to category featured articles and I would like to assign one module to single article, not assign the modules to the menu…
tomek
  • 1
0
votes
2 answers

How to assign one value to a specific matrix entry, where the matrix must be called with a variable name

I have the following problem: I have a huge list of matrices with unique names that share the same dimension. I calculate some values that I now want to assign to a certain matrix indice, e.g. [3,4]. Because I have so many matrices I created a list…
Eric
  • 137
  • 2
  • 8
0
votes
2 answers

c++ assigning Object values from another object fail

I'm having some major issues with my code at the moment and I hope someone can shed some light on it. In my code I have made; players = new Player*[2]; along with players[i] = new Player(); in a for-loop. And given them real values. Later on in my…
Alex
  • 365
  • 4
  • 17
0
votes
2 answers

Perl - assigning a composite string to a variable

I would like to assign the whole string on the right to the variable on the left my $branch = "\t" x $level, "$level -> $treeRoot\n"; Where $level is a number and $treeRoot is a string. When I try to print $branch it says the variable is empty. An…
iLoveWagons
  • 1,091
  • 4
  • 17
  • 30
0
votes
0 answers

Elements of list that being assigned null unexpectedly in java

I d’ont understand how it is possible that list elements will be affected by null so inexplicably in my program. Performing a call Hierarchy on requirements list, here is what I got : 1: private void checkCompletion(int bidId){ Bid bid =…
Mohamed_88
  • 31
  • 1
  • 1
  • 9
0
votes
1 answer

Freemarker: assign interpreted variable to other variable

I would like to assign the result of an interpreted variable to another varialbe. Freemarker provides the built-in ?interpret to interpret a variable holding an ftl expression. See…
Adriano
  • 19,463
  • 19
  • 103
  • 140
0
votes
2 answers

Understanding Objective-C method value passing

Lets say I have in viewDidLoad: NSMutableArray *entries = [NSMutableArray array]; [self doSomethingWithArray:entries]; NSLog(@"%@", entries); Then in method I have: - (void)doSomethingWithArray:(NSMutableArray *)entries { // create some custom…
zhuber
  • 5,364
  • 3
  • 30
  • 63
0
votes
2 answers

How to assign a variable to an address by php

I wana to assign a variable such as 'heloo' to an address such as ->system_settings->settings->hostname and i write a function for.now when i write that address manually this function work correctly and assign 'hello' to that address,but,when i…
S.Faraji
  • 97
  • 2
  • 13
0
votes
1 answer

Assign one project to multiple users in SugarCRM

What I want:- I need one project assigned to multiple users and have that project only visible to assigned users. What I have done:- I have created a module with the help of module builder with name allproject. If I use 'assigned to' field in…
ajaykumar
  • 35
  • 1
  • 9
0
votes
1 answer

Efficiency in assigning programmatically in R

In summary, I have a script for importing lots of data stored in several txt files. In a sigle file not all the rows are to be put in the same table (DF now switching to DT), so for each file I select all the rows belonging to the same DF, get DF…
Michele
  • 8,563
  • 6
  • 45
  • 72
0
votes
1 answer

merge same row of different Vector and multiplicate afterwards

I have a dataset like this: MQ = data.frame(Model=c("C150A","B174","DG18"),Quantity=c(5000,3800,4000)) MQ is a data.frame, it shows the Productionplan for a week in the future. With Model producing Model and Quantity C150A = data.frame(…
Daniel
  • 71
  • 6
0
votes
0 answers

Is it possible to get args name (not the value) sent to a function?

I'm trying to make a very easy function to assign variables to a child variables of a function. The best will be something like this : $this->assign($param1, $param2, $param3); and in the assign function: public function assign(){ $aArgs =…
injetkilo
  • 300
  • 2
  • 10
0
votes
1 answer

Delphi7, I/O error 102, When Assigning a file

My teacher assigned me to create a simple project: Create a form, which the user has to complete and when he presses the submit button, then the program should write all the information in different textfiles (For example, 1 textfile for their first…
user2296565
  • 243
  • 1
  • 7
  • 18
0
votes
1 answer

Setting default assigns with slim using smarty

I am about to convert a site to use the Slim Framework with the Smarty template engine. On the current site I have assigned some default smarty vars, but I am not sure how to set them with the Slim framework, so they are set only once. This is how…
Morten Hagh
  • 2,055
  • 8
  • 34
  • 66
0
votes
1 answer

Plesk 11 assign another plesk user (reseller or customer) to subscription

Is it possible in Plesk 11 to assign multiple plesk users (resellers, customers) to a single subscription? What i need is that multiple people (employees) can work on a single website with their own plesk account. Is this possible? If yes,…
Steffen Brem
  • 1,738
  • 18
  • 29
1 2 3
99
100