Questions tagged [call]

Do not use this ambiguous tag. For the action of invoking a subroutine of code, an external program or a script, use the tag [method-call]. For the topic of making phone calls, use the tag [phone-call].

In programming, a call is the site of invocation of a subroutine of code which when completed will return execution to the next instruction following the invocation of the call. A call is distinct from a jump in that there is no expectation of return after a jump.

A call may also invoke an external program.

This tag should also be used for language or platform specific functions for making a call. Some examples are:

  • call() - VBA
  • exec() - PHP
  • system() - C, Ruby

Related Topics

For other topics related to "calling", please use a more specific tag:

  • - For making and managing real-time two-way voice communication
4305 questions
1
vote
3 answers

Call PHP function

I have php function by multi parameter. I want to call this function with setting only last argument. Simple way is setting other argument empty. But it isn't good. Is any way to call this function with setting last argument and without setting…
Mohammad
  • 21,175
  • 15
  • 55
  • 84
1
vote
1 answer

Calling a procedure by pointer from variable in Intel 8086 Assembly

Let's say I have a variable with procedure address: func_pointer dw offset my_function my_function proc near my_function endp How can I call it from the variable? I have tried call dword ptr[func_pointer + 1] but it does not seem to work.
1
vote
1 answer

Change the "this" only for a specific function call

Let's say I have this code (that's an example, simplified): // A Thing that expands other thing can use it's origin Thing's "init". ThingThatExpands.super = function() { this.__originThing.init.apply(this, arguments); } // I make a Car Thing…
1
vote
1 answer

Is it possible to get the call stack of Excel worksheet functions?

I am trying to debug a workbook that has external add-ins and crashes unexpectedly without warning (window just disappears and process dies). Is there any way that I can log the functions calls that excels is doing on calculations so that I can see…
rex
  • 3,133
  • 6
  • 35
  • 62
1
vote
1 answer

jQuery - Call a function on an element

I want to call a function to show and modify content like this: $('#element').someFunction(); I wrote this function: function someFunction(){ $(this).show(); //other stuff } But this don't work. Can someone give me a hint how to solve…
Tobias Schäfer
  • 1,330
  • 2
  • 17
  • 35
1
vote
2 answers

after call end, relaunch the previous app in iphone

I can make a call from my app by use this APIs. [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:XXXXXX"]]; I would like to return to my app where I left after the users ends the call. Is that possible?
tech.samar
  • 152
  • 2
  • 12
1
vote
2 answers

How can I call a method in Squeak?

I am investigating Squeak Smalltalk. Somehow I defined an object that initializes and prints the initial value (the instructions for that were in homework). Then I had to define a method (getName), which I did, but I don't know what to do to call…
1
vote
0 answers

Connection ... or invalid mmi code android studio

My application consists of a listview that contains data retrieved from a database. The database has columns : cognome, nome, ruolo, telefono. When I click on an item, a dialog containing 2 buttons is opened : call and sms. I would like that when I…
1
vote
1 answer

best way to call function (again and again)

I have a large table (1 mio rows) and have this query: Select ..., case when datediff(day,getdate())<30 then 'Month' when datediff(day,getdate())<90 then 'Quater" when datediff(day,getdate())<365 then 'YEAR' else 'OLD' END .... how…
claudiDK
  • 11
  • 2
1
vote
0 answers

Best practice of the spring application call async request

I use Spring framework in web service, I need to call a 3rd async rest service such as create VM. When I call the create VM service, It return me a vm_id. The VM is created in background. I save the vm_id in database, and start a timer to check the…
shangyin
  • 526
  • 1
  • 4
  • 14
1
vote
3 answers

How do I call a Module to execute a script from a Sub_Click?

I have 10 macro buttons in my sheet. I have a Module with a script for a Customer Report. When button 1 is clicked from the sheet I have created a new macro called Button1_Click(). Inside this script I only would like to set one variable,…
Stigh Aarstein
  • 63
  • 2
  • 12
1
vote
2 answers

C/C++ Memory Management for Functions

Suppose there is a one cpp file with global functions. As far as i know instruction set is copy to memory when I run the program and stay there until program ends. Each time I called a function, virtual adresses of variables are same but I can't…
user4612022
1
vote
5 answers

How to use pipe in command using python sub process call

I am trying to filter out first 3 line of /proc/meminfo using pipe and head command. so basically i need to run this in Python: cat /proc/meminfo | head -3 I am using below line in my code : subprocess.call(["cat", "/proc/meminfo", "|", "head",…
1
vote
1 answer

JS: Call a specific function of a given script-object

Is this possible? myscripts = document.getElementsByTagName("script"); myscripts[0].init(); The Problem i use highslide with several html-Windows (htmlExpand). Every have a script with a init()function. If one Window is opened, it's included init…
strech
  • 33
  • 5
1
vote
0 answers

telnet connect to bluestacks not working

I'm trying to make call for testing purposes in my bluestacks android emulator. I tired telnet localhost 5555 but my cmd goes blank after this. Command prompt after telnet command Why is it showing blank? Is there any other way to call to an…
Mark Ben
  • 177
  • 1
  • 1
  • 14