Top "Arguments" questions

An argument is a value passed to a function, procedure, or command line program.

Gradle task - pass arguments to Java application

I have a Java application that runs with a custom gradle task and the application requires some arguments upon being …

java gradle arguments
Maven: How to run a .java file from command line passing arguments

I have the following problem. I would like to run mvn from command line for a Main.java file. Main.…

java maven arguments
Can there exist two main methods in a Java program?

Can there exist two main methods in a Java program? Only by the difference in their arguments like: public static …

java methods arguments main
Does Python have an argc argument?

I have written the same program (open text file and display contents) in C and C++. Now am doing the …

python linux file-io error-handling arguments
ARG or ENV, which one to use in this case?

This could be maybe a trivial question but reading docs for ARG and ENV doesn't put things clear to me. …

docker arguments environment-variables dockerfile
How do I pass multiple arguments to a ruby method as an array?

I have a method in a rails helper file like this def table_for(collection, *args) options = args.extract_options! ... …

ruby-on-rails ruby arrays methods arguments
Convert R vector to string vector of 1 element

Im working with the programming language R now. I have a vector: a <- c("aa", "bb", "cc") And …

string r vector arguments system
How do I pass an array as a parameter to another script?

For some reason, it looks like I cannot pass array of strings as parameter to scriptblock. What am I doing …

arrays powershell parameters arguments
Overloaded functions in python?

Is it possible to have overloaded functions in Python? In C# I would do something like void myfunction (int first, …

python function arguments overloading
How do I test if optional arguments are supplied or not?

How do I test if optional arguments are supplied or not? -- in VB6 / VBA Function func (Optional ByRef arg …

vba function vb6 arguments optional-arguments