Questions tagged [procedures]
262 questions
-2
votes
1 answer
How do I loop a function in c#?
I have been given this question, in my computer science class, and I cannot figure out how to answer it.
Question:
•Create a procedure called tossCoins with one integer parameter - numTosses
•Inside your tossCoins procedure, call your tossCoin…

Leighton Blackburn
- 9
- 1
- 3
-2
votes
1 answer
Compare two tables and get output with unmatched data with respective column name
I have two tables similar to following construct. I need to compare both and get the output as shown in results.
Here I am comparing column1 with column4, column2 with column5 and column3 and column6.
Table1:
Key column1 column2 column3
1 4 …

Naresh Kavala
- 183
- 1
- 6
- 17
-2
votes
1 answer
Select component on current focused/active form
I need to select the component on currently focused/active form, but can't figure the way of doing this completely.
So, I have a delphi unit with all common procedures on it, so I call them from other forms.
Now, the thing is, that with one of the…

That Marc
- 1,134
- 3
- 19
- 42
-3
votes
1 answer
Pascal exit procedure when other one called
So my problem looks like, I have two procedures and they call each other but this can provide overflow. How to JUMP to procedure - like asm jmp not call? I don't want to use labels because I can't use GoTo between two different procedures. And I…

pfoof
- 195
- 1
- 13
-4
votes
1 answer
sum of the factorial number tell the procedure of each number
i did a code to factorial to work and sum but i dont know how to tell the procedure the proffesor want from me to tell him the output like this :
6!=1*2*3*4*5*6=720
but i dont know how to do this i am stuck i am newbee and its my first year at…

Diar Kryeziu
- 9
- 4
-4
votes
2 answers
Calling another PL/SQL procedure within a procedure
I'm new to PL/SQL & would greatly appreciate help in this. I've created a procedure to copy contracts. Now I want to call another procedure from within this procedure which shall copy all the programs related to the contract I'm copying. One…

Jessie
- 15
- 1
- 1
-4
votes
2 answers
Is this function considered terminated?
Suppose the code goes like this
void b()
{
...
}
void c()
{
b();
}
is c considered terminated after the call to b but b has not yet terminated?

nj-ath
- 3,028
- 2
- 25
- 41