
Basic Data Operation

This is a basic data operation. It represents a fundamental action on a basic data type.
You may see other such operations in the Basic Data Operations category, or:


Integer Operations
Arithmetic |
Comparison
Boolean Operations
Bitwise |
Logical
String Operations
Concatenation |
Interpolation |
Comparison |
Matching
Memory Operations
Pointers & references |
Addresses




Task

Demonstrate how to get the address of a variable and how to set the address of a variable.




 
 
1) lambdas
 
{lambda {:x} {* :x :x}}
-> _LAMB_123
 
2) arrays
 
'{A.new hello world}  // defining an array
-> _ARRA_123          // as replaced and used before post-processing
-> [hello,world]      // if unused after post-processing
 
3) pairs
 
{pre
'{P.new hello world}  // defining a pair
-> _PAIR_123          // as replaced and used before post-processing
-> (hello world)      // if unused after post-processing
 
4) quotes
 
'{+ 1 2}              // protecting an expression
-> _QUOT_124          // as replaced and protected before post-processing
-> {+ 1 2}            // as displayed after post-processing 
 