Make Your Own Programming Language - Part 10 - Variable = Variable
Posted on in Software Development
In this video we will be allowing the programmer that’s using our language to assign a variable to the value of another variable. Here’s a code example:
$var1 = “Test”
$var2 = $var1
print $var2
The output of printing $var2 would be “Test”.
Don’t forget to like, favourite and subscribe for more!