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
1 answer

NAudio Cross-Thread Call Exception When Audio Playback Ends On It's Own

I have a C# WinForms app that uses NAudio for audio playback. Here's the code for the play button: private void btnPlayQuestionAudio_Click(object sender, EventArgs e) { if (btnPlayQuestionAudio.Text == "?") { try …
1
vote
1 answer

SQL Calling A Saved Query from Another Query in SQL Server

In other computing languages, you can call other methods or subroutines within a method or subroutine. In VBA: Public Sub x() Call y End Sub Private Sub y() Debug.Print "Hello World!" End Sub Can you do this in SQL? Declare @FilePath as…
delavepr
  • 31
  • 4
1
vote
0 answers

My App works for some but not others and I cant figure out why

My App Drive Safe can be found here. Drive Safe is a free app to prevent distracted driving. It automatically replies to anyone who calls or texts you while the app is on. I have 2 test phones and it works perfect on them, and have tested it on…
Andrew Irwin
  • 691
  • 12
  • 40
1
vote
0 answers

How to pass arrays to a subroutine and then to call it in Fortran77?

I want to manipulate a large code. I want to calculate rmse of the result calculated in the main program. I have added following subroutine to calculate rmse subroutine rmse(A,B,nmax,rmseans) Integer nmax Double Precision…
Ather Cheema
  • 416
  • 2
  • 14
1
vote
1 answer

How to sort and get first obejct from array of objects get by joining multiple async javascript calls?

I have a situation in which I am executing multiple async javascript Ajax request inside a for loop and getting result in json array of object asynchronously(not in a sequences) and then I have to cancat those array to make a single array. So my…
1
vote
1 answer

Android Studio making a phone call in API 23

Hello I wanting to make a simple button click which allows the user to call a specific number when pressed. Before API 23 I code simply add the permission to the manifest and away we go but now I have to add this self check system. The problem I…
james
  • 303
  • 1
  • 2
  • 14
1
vote
0 answers

How to make proper SOAP request using PHP SoapClient when we see an example

I want to receive data using method GetCruise How to do that in php using SoapClient, of course i know all URLs and I've got PartnerName, Password and AgencyCode especially i need to know how to construct proper header of envelope using…
mkoziol
  • 106
  • 6
1
vote
1 answer

Not sure how to call and print ASCII art method

I want to print out an Ascii art picture from a different method. My code does not work however. Here it is: String avatar = IBIO.inputString ("Now tell me. Are you a boy? Or are you a girl? "); if (avatar == "boy" || avatar == "Boy" || avatar ==…
lkjhgfdsa4321
  • 43
  • 1
  • 11
1
vote
1 answer

Batch subroutine in for loop

Any ideas why this wouldn't work ? I have tried to replace %A% with %%f in the subroutine, but it wouldn't work anyways. SETLOCAL EnableDelayedExpansion for %%f in (*.bat) do (set A=%%f call :subroutine %%f) :subroutine findstr…
Donald Trump
  • 83
  • 1
  • 6
1
vote
1 answer

SCons strange execution order

My goal is to executeboost::testunit tests in SCons. In the SConstruct file I have following piece of code: for t in toTest: nextTest = SConscript('#/test/' + t + '/SConscript', variant_dir = test_dir + t, …
Julian Rubin
  • 1,175
  • 1
  • 11
  • 23
1
vote
0 answers

Doxygen does not generate callgraphs in LaTeX

I have the weird issue, that Doxygen creates all the callgraphs and puts them correctly in my HTML File, but there is no Graph whatsoever in my LaTeX sheet. Attached you find the relevant Information. Thanks for helping me out =) Language:…
Daan van Hoek
  • 111
  • 1
  • 4
1
vote
1 answer

how to call a function in a service dynamically in angularjs

I want to invoke a function within a service based on the function name. For example, passing a string as the function name and invoke it dynamically. Can this be implemented using angular way? The code in plunker is :…
Lune
  • 241
  • 1
  • 3
  • 13
1
vote
0 answers

Python script called from a website only works partly

I have an embedded linux board with a LAMP server running. Everything works fine. So my problem is now to call a python script from a website. That's my python script: #!/usr/bin/env python2 import cv2.cv as cv print cv.__version__ print…
Elron27
  • 31
  • 3
1
vote
1 answer

Regarding with JavaScript array prototype

I have recently read tutorial associated with JavaScript from this page, I tried some piece of code but i didn't understand some logic. Below is author code. function itself: var lz=""; lz.memo = function (fn) { var cache = {}; return function () { …
1
vote
2 answers

Need help returning a variable for use outside a function (Python)

Im working on a program in which I need to plot the movement of a turtle on a plane starting at (100,100) and facing right. In three steps the user can either walk and input how far they wish to go, or turn, where they would change directions in 90…