Category "arguments"

Mixed named and unnamed parameters in JavaScript?

For a function with an intuitive first argument (e.g. a find semantic) I'd like to provide a way to write a function call without argument names while more comp

flutter passing multiple data with getx

I want to Pass multiple data from one screen to another screen with Get package. Get.to(Second(), arguments: ["First data", "Second data"]);

getopts & preventing accidentally interpreting short options as arguments

Here's a toy example that shows what I mean: while getopts "sf:e:" opt; foundOpts="${foundOpts}${opt}" ; done echo $foundOpts problem is that getopts isn't par

Can I save a function's arguments in Matlab to reuse in another function?

I am using the topoplot function in Matlab as follows: topoplot(DATA, channels, ... 'maplimits', topoYlim, 'electrodes', 'on', 'emarker', {'.','k',[6],1},

Can I save a function's arguments in Matlab to reuse in another function?

I am using the topoplot function in Matlab as follows: topoplot(DATA, channels, ... 'maplimits', topoYlim, 'electrodes', 'on', 'emarker', {'.','k',[6],1},

How do I accept a string as an argument? (discord.py rewrite)

I am trying to make a discord.py command that accepts a string as a positional argument. How do I accept a string from a Discord message (and, by extension, boo

How do I accept a string as an argument? (discord.py rewrite)

I am trying to make a discord.py command that accepts a string as a positional argument. How do I accept a string from a Discord message (and, by extension, boo

How can I resolve "The argument type 'String' can't be assigned to the parameter type 'int' " - Flutter

I'm trying to fetch data Online Using HTTP GET with Flutter SDK. I'm trying with this code https://github.com/RaglandCodes/Flutter-basic-API/blob/master/lib/mai

can I pass java vm args i.e. -xms and -xmx through a property file to my java program

Can anybody help me in following problem: if I am specifying java args while running my program through java command then if I check my java process using ps -e

How to call a php file with arguments from VBA for Mac? Equivalent of VBA.createObject("wscript.shell") on Mac?

Still in need of help :) I'm trying to adapt the following chunk of code to VBA for Mac (as the final implementation has to be on Mac): Dim ws as Object Dim res

How would you use .reduce() on arguments instead of a specific array or object?

I want to define a function .flatten that flattens several elements into one single array. I know that the following is not possible, but essentially I would li

how do basic jquery ajax in typo3 flow?

I am trying to do some very basic ajax. I just want an onchange event on a select that will call an ajax function that will get the options for another select

How to pass arguments to a Button command in Tkinter?

Suppose I have the following Button made with Tkinter in Python: import Tkinter as Tk win = Tk.Toplevel() frame = Tk.Frame(master=win).grid(row=1, column=1) bu

kivy: How to pass arguments to a Widget Class

I want to create a UI passing an argument to a part of my interface. I know that, in this example, I could just put the label text as a variable and change it f

How do I pass command line arguments to a Node.js program?

I have a web server written in Node.js and I would like to launch with a specific folder. I'm not sure how to access arguments in JavaScript. I'm running node l

find: missing argument to -exec

I was helped out today with a command, but it doesn't seem to be working. This is the command: find /home/me/download/ -type f -name "*.rm" -exec ffmpeg -i {}