Use the value of a variable from a procedure in another one [closed] - delphi-2009

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
can I get the value of a variable declared in a procedure then use it in an if condition in another one , and how please ?

You have to either pass the value to the other procedure as an input parameter, or store the value somewhere that both procedures can reach it, such as a class member if both procedures are members of the same class, or in a global variable. Your question is pretty vague on details, so I can't provide much of an answer beyond this.

Related

Objective-C: object as parameter and returning object in a function [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
This may be trivial. I'm wondering if you can pass an object as parameter to a function, then function can operate on the object and then return the same object back. I've got a work around for this, but would like to know if there is a way to do it.
An Example:
-(objectA *)aFunctionWithParameter:(objectA *)param
{
//...Operate on param
return param;
}
Yes, you can do it.
In objective-C, the pointers are passed by reference. So, when you change any fileds of an object received as a parameter of your function, you are modifying the actual object. On returning it, you will have updated object.

Dynamic code generation and execution without writing code to database [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Is it possible to generate ABAP code and execute it in memory without writing code to DB?
Yes. Use Google. Use Google. Use Google. Use Google. Use Google. (I have to write at least 30 characters although I really don't have anything else to say besides that wanting to generate code dynamically is usually a sign you're on the wrong track.)

Define screen size constant in Obj-c [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Is there a way I could initialize some constant in a method like -(void) viewDidLoad for my screen variables (retina, not retina etc) ?
Thx
In C and Objective-C, constants cannot be assigned at runtime because they are constant. If you are asking how to assign to an instance variable, or make that variable accessible to other classes, please update your question.

What is User define function and how to execute that? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
What is user define function in sql server 2005.How Can I see them from design point of view.
I wanted to create and execute the function.Can anybody explain me.I have not done it before.
User-Defined Functions from MSDN Books Online

How to make a view in SQL Server? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I have more tables and I want to merge that some table for getting result.....
How can I do?
Views is just some sort of "stored query". It can be defined as:
CREATE VIEW viewname AS SELECT <the rest of select query here>
More details at msdn:
http://msdn.microsoft.com/en-us/library/ms187956.aspx
http://msdn.microsoft.com/en-us/library/aa214068(SQL.80).aspx
CEATE VIEW.
The rest of teh syntax is in ..... the documentation.
And this question is neither related to C# nor C++. It also does not care what you ate for breakfast. SQL works with strings the server interprets, and the langauge has no matter how the server does that.