0
votes
0answers
8 views

Parameter in Nunit test runner for Output

please help me to resolve the problem i need to run Nunit test with including groups from file and i need to write in xml output the name of the group i made it by param($gr) but it doesn't work, ...
0
votes
1answer
10 views

Slider plugin: Second function call overwrites settings of first call

I'm building a custom slider plugin for my website and I'm encountering some problems. (function ($) { $.fn.slider= function (options, callback) { var settings = $.extend({ animation: ...
0
votes
1answer
29 views

know if an Optional parameter is not filled in function invoke VB.NET

ok I do have this kind of function Public Function myDog(name As String, age As Integer,Optional color As String = Nothing) As String 'todo codes return Nothing End Sub now my problem is I ...
0
votes
1answer
26 views

Pass jQuery parameter with different name

I want to choose the css settings based on the existance of a data tag. Which is the right way to do it? var datadirection = 'left'; //default direction if( ...
2
votes
2answers
38 views

Default function parameter values

I have my own function called 'Parse' which is in an object 'Core', the function takes 5 parameters so far, each of which have default values [true,false]. Say if I wanted to change the 3rd ...
0
votes
2answers
21 views

Javascript setting a function to a function with a parameter

I'm trying to set an object's "touched" function to another function. I hear about JavaScript and first class functions all the time but still don't have the hang of it. Here's what I have: ...
0
votes
2answers
50 views

Cannot use local variable before it is declared

I am trying to create a function but I'm getting an error message. public int[] genericSearch(int searchWidth, int startingRadius, int width, int height, Bitmap bitmap) { //Generic function for ...
0
votes
2answers
20 views

Trying to pass paramters to a jquery ajax call

so i have my original ajax call which works fine. $.ajax({ type: "GET", url: "index.php / blog / getbio", data: { first_name: first_name, last_name: last_name ...
0
votes
1answer
27 views

parameter use in R

scorekm <- function(km, x1,x2,x3,x4) { data<-matrix(c(x1,x2,x3,x4),nrow=1) k <- nrow(km$centers) n <- nrow(data) d <- as.matrix(dist(rbind(km$centers, ...
2
votes
3answers
133 views

C++ How do I use variables from one function to another?

For the record I am completely green in C++ and any other programming language for that matter, so if it's possible I'd be happy if you can answer in a way that I can understand :) I have been ...
0
votes
1answer
48 views

Passing in Global Variables in Python

I am a somewhat experienced Java programmer who is re-implemting some code in Python, as I am just learning the language. The issue that I am having is that a method is returning nothing when I pass ...
-1
votes
5answers
109 views

C program to find area

I am having problems with the following code: #include<stdio.h> #include<conio.h> float area_crcl(int); float area_rect(int,int); void main() { int n,a,b,r; float area; clrscr(); ...
0
votes
1answer
22 views

Passing in a three.js object into javascript

So basically, I am making a robot object in javascript using Three.js and am passing in the three.js scene variable object I am using to draw the robot parts through the array- for some reason, ...
0
votes
2answers
50 views

Calling multiple methods as parameter of a php function

Hello thanks in advance for looking at my code ! -Quitta So I got this function: /////////////////////////////////////////////////////////////// public static function make_table( $inputList, ...
1
vote
1answer
39 views

How can I find the names of missing parameters in Python?

Whenever a Python function is called with missing named arguments, it produces a runtime error that lists the number of missing arguments: TypeError: getVolume() takes exactly 3 arguments (2 given) ...

1 2 3 4 5 36
15 30 50 per page