Questions tagged [multiple-value]

172 questions
2
votes
2 answers

What's the difference between these two variants?

I tried to make my own code for learning how to return multiple values in main function: package main import "fmt" func main() { fmt.Println("Enter a integer:") var I int fmt.Scanf("%d", &I) fmt.Println("Accepted:", I) O :=…
2
votes
1 answer

multiple id in radio refresh value sending by ajax

i have multiple radio buttom here
Denis
  • 73
  • 13
2
votes
1 answer

Best way to return multiple modified arguments in R?

I'm trying to write a function (or the best R alternative), given a deck vector and a hand vector, that takes the first element from the deck and adds it to the hand. # initialize the deck. We don't care about suits, so modulus 13 deck <-…
2
votes
1 answer

Java servlet Filter with multiple values in FilterConfig? Is it possible?

I'm trying to implement a servlet filter that would ignore some URL's while filtering everything else. Wanting to make it flexible, I tried to set the excluded URL's as FilterConfig params. Though, in the server configuration, the filter params…
2
votes
1 answer

jQuery select inputs with more than one class

I have a number of inputs with multiple class:

Efectivo X:  

JuJoGuAl
  • 117
  • 1
  • 15
2
votes
3 answers

SQL - How to select records with value A but not B? (A and B belongs to different rows)

Suppose I have a table like below: row_id record_id tag_id 1 1 2 2 1 3 3 2 2 4 2 4 5 3 2 6 3 3 I want to get those record_id which they have record…
peakingcube
  • 1,388
  • 15
  • 32
2
votes
2 answers

How to assign multiple values to multiple keys with a single command

I have dictionary like: Info = { "City_Name" : { "Population" : None, "Population_Density" : None } } I want to assign values to "Population" and "Population_Density" keys. I actually can do that with the use of the following…
T-800
  • 1,543
  • 2
  • 17
  • 26
2
votes
1 answer

Replacing proxyAddresses values

We have a c# script that needs to update/replace the proxyAddresses contents. I believe I understand how to add a range of values as follows: DirectoryEntry entry = new DirectoryEntry(myConnectString); DirectorySearcher Dsearch = new…
dev
  • 71
  • 3
  • 7
2
votes
3 answers

Select row where value is in column with multiple data separated comma

I have this scenario in my MySQL database: I need select row where tag is from url parameter (GET) with php-mysql query: $tag = $_GET['tag']; // example $tag = 1 // now I need select rows where in tags colums is value 1. How can I obtain this…
Vincenzo Lo Palo
  • 1,341
  • 5
  • 19
  • 32
2
votes
1 answer

Splitting delimited strings with undefined number of delimiters

I have a problem, I have the following line of strings 0009 - The Good Boy Song 0003 - Alphabet Song 0008 - Flame-thrower Guide I have a split function that currently takes two parameters, ALTER FUNCTION [dbo].[Split] ( @String NVARCHAR(4000), …
mirageservo
  • 2,387
  • 4
  • 22
  • 31
2
votes
1 answer

How to send multiple variables through Arduino serial port using ZigBee

I want to send five potentiometer values (bytes) through ZigBee using Arduino. I stored the potentiometer values in five different variables (bytes) and used Serial.print(pot1); Serial.print(pot2); . . Serial.print(pot5); The problem is that, when…
user17151
  • 2,607
  • 3
  • 18
  • 13
2
votes
1 answer

Cookie multiple values

In the php manual under section "cookies" it states that you can add multiple values to a single cookie by simply adding a '[]' to the cookie name. At first my understanding of this was to do the following:
Robert
  • 10,126
  • 19
  • 78
  • 130
2
votes
2 answers

How to assign multiple values at once to multi-dimensional array AFTER creating it - in C?

I'm programming in C and wonder if it's possible to assign multiple values at once to a multi-dimensional array? I have tried some technique but all have failed! I’m NOT interested to loop through the array to assign values (I want the fasted way…
user1564762
  • 745
  • 2
  • 11
  • 18
2
votes
2 answers

find xml element with multiple values

Can I use element.findall() from xml.etree.ElementTree to find an element with multiple values in a single attribute? I can use this to find all of the div elements with class="day": from xml.etree.ElementTree import ElementTree calendar =…
dansalmo
  • 11,506
  • 5
  • 58
  • 53
1
vote
2 answers

returning multiple values from multiple functions?

Often, I have main functions that run multiple functions in my common lisp apps. (main (run-function-1...) (run-function-2...) (run-function-3...) (run-function-4...) (run-function-5...)) At the moment, I have this situation where each…
Vinn
  • 1,030
  • 5
  • 13
1 2
3
11 12