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
2 answers

Javascript - Why call method is not working correctly?

Please refer - https://jsfiddle.net/ta2u2z9a/ var o = { x: 6 }; function a() { this.x = 3; this.y = function() { alert(this.x) } } var a1 = new a(); a1.y.call(); //shouldn't it alert 3? a1.y.call(o) //is alerting 6,…
anand patil
  • 507
  • 1
  • 9
  • 26
1
vote
1 answer

Syntax – can be a class method called at New without a helper variable?

Having sample trivial class Class A Property Property1 As Integer = 5 Sub Action1() Debug.Print(Property1.ToString()) End Sub End Class I can always call Action1() like Dim instanceA As New A instanceA.Action1() But can I call…
miroxlav
  • 11,796
  • 5
  • 58
  • 99
1
vote
1 answer

Call Delphi DCOM

I am totally new to Delphi and DCOM. I was assigned the task of modifying the old Delphi project. I am able to make the change and build .exe. I am using Delphi 7 IDE. For some reason, we need the old version and the new one running on the same…
user41662
  • 69
  • 1
  • 8
1
vote
1 answer

Perform model selection with step function and write outcome into 0/1 vector (R)

I am trying to write an algorithm which does the following in R: On a data set dat use step function to perform glm model selection of j covariates from a set of J candidate variables Take final call of j variates and compare with full vector J.…
tomka
  • 2,516
  • 7
  • 31
  • 45
1
vote
1 answer

call webservice and show data on listview

Send request format is {"method":"item_list","parameter":{"category_id":"1"}} I want to pass json on btn_choose_menu click package com.example.pattipizza; import android.os.Bundle; import android.view.View;`enter code here` import…
1
vote
3 answers

How do I get a JavaScript call trace of a webpage?

Can someone tell me how I can get a call trace between different JavaScripts? Suppose I have an HTML page that loads some JavaScript files, which in turn may load other JavaScript files from the server. Is there a way that I can trace which…
macmac
  • 11
  • 1
  • 2
1
vote
1 answer

Access Violation: 0xC0000005, why is this happening?

Currently working on my game server. This exception happens when a player sends a message to use a particular item when he is over a corpse object's rectangle. This code takes place inside an object called "Match" which has a full list of the…
Joe Bid
  • 465
  • 8
  • 24
1
vote
2 answers

Undefined value when calling an input from a HTML form from PHP

Getting some issues with my PHP. I'm trying to get assign the value from the text box to a variable so that I can check it against a random number. This is me initializing my variables: session_start(); if (!isset ($_SESSION["rand"]))…
Tauntaunwampa
  • 61
  • 1
  • 6
1
vote
2 answers

combining 2 method calls in an if-condition

I have two function which I want to call both of them first Question: if both of them are true ,some operation will do (in this example add flags). is this way correct to call them? if (getCallId()==1 & getCallState()==1 ) …
Farzan Najipour
  • 2,442
  • 7
  • 42
  • 81
1
vote
1 answer

constructor function's object literal returns toString() method but no other method

I'm very confused with JavaScript methods defined in objects and the this keyword. In the below example, the toString() method is invoked when Mammal object instantiated: function Mammal(name){ this.name=name; this.toString = function(){ …
JohnMerlino
  • 3,900
  • 4
  • 57
  • 89
1
vote
1 answer

Function that calls itself returns only first result of its call

I have a string s="expences > drinks" that is sent to a function. Inside that function I am supposed to add new values using raw_input() till I input an empty string. Each one of these inputs should be added to the initial string. In the case of…
Sergii Artele
  • 63
  • 1
  • 11
1
vote
1 answer

Meteor: insert produces multiple entries

My Question is the following. I'm starting working with meteor and wrote some small code against meerkat. I'd like to insert the users into my database. I first have to call meerkat with the username for the meerkatId and then can get the user…
Simon Meyborg
  • 727
  • 1
  • 6
  • 7
1
vote
2 answers

Bad System Call (core dumped) on Sybase 12.5 installation (SunOS)

I am trying to install Sybase ASE 12.5.4 on a Sun OS Solaris 11 machine but I am getting the following messages when launching the setup file : -bash-4.1$ ./setup InstallShield Wizard Initializing InstallShield Wizard... Searching for Java(tm)…
mentinet
  • 744
  • 3
  • 9
  • 23
1
vote
2 answers

C++ Program crash when trying to call a function by it's address in memory (how to fix ?)

I am trying to call function testaddresscall() which is defined like: void testaddresscall() { printf("success"); } int main(void) { void(*testaddresscallfunc)(void); testaddresscallfunc= &testaddresscall; cout << *testaddresscallfunc;…
Nullptr
  • 221
  • 2
  • 5
  • 11
1
vote
2 answers

Create a Method-Call from a String

at the moment I'm looking for a way to call a method from a String. My String looks like this: "Hello, here's the Link you look for: [[Link,internLink,Go,Login]]." I'd like to replace [[Link,internLink,Go,Login]] with: K ::…
Stef
  • 151
  • 1
  • 9
1 2 3
99
100