answersLogoWhite

0

What is a typeless variable?

Updated: 10/24/2022
User Avatar

Wiki User

12y ago

Best Answer

A typeless variable is one which is not bound to a specific data type. This variable can contain a string, then be assigned an integer, then an array, then an object, etc. Note that some programming languages, like the C languages, do not offer typeless variables.

An example of PHP typeless variables in action:

$var = 'hello';

$var = 100;

$var = array( 1, 2, 'hello', 100 );

$var = new Person();

?>

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a typeless variable?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Advantages of Typeless programming language?

* In a typeless language, a variable can contain any kind of value (numeric, string, boolean). * Typeless languages are very flexible and dynamic, resulting in quick turn around of code.


What type of attacks affect ghost pokémon?

All attacks except for normal and fighting unless they're typeless.


What is the variable word in english subject?

variable is the variable that variable a variable into a variable. noOb


What is the variable called that changes in response to another variable?

The answer is a dependent variable. A variable that changes in response to another variable is called a dependent variable.


What is an independent variable dependent variable and controlled variable?

an independent variable is a thing you can change on your own. a depentent variable is a variable you depend on and a responding variable is a variable that reacts to the experiment


A variable that changes as a result of the other variable?

The dependent variable.


The variable that is measured in an experiment is the variable?

The Independent/Manipulative variable is the variable that you purposely change, and the Dependent/Responsive variable is the variable that changes as a rest of the Independent variable. You measure the dependent variable to see the effects of the Independent variable.


The input variable is called the what variable?

The independent variable. The output variable is dependent on this variable's value and so is called the dependent variable.


What is the manipulating variable the dependent variable or the independent variable?

The independent variable.


Manipulated independent variable?

The manipulated/independent variable is a variable that changes and it is what the responding/dependent variable change because of the manipulated variable.


What does dependent variable and independent variable mean in math?

An independent variable is a variable that isn't affected by something else. A dependent variable is a variable that's affected by changes in the independent variable.


What is the independent variable of the activity?

When you do an experiment the variable you control is the independent variable, and the variable you measure is the dependent variable.