Code:
#include <acknex.h>
#include <default.c>

function main()
{
 // 'min' shall point on the value of the smallest variable
 var x = 5 ,y = 3;
 var* min;
 
 if(x < y)
    min = &x;
 else
    min = &y;
 
 // output 'min'
 printf(_chr(str_for_num(NULL,*min)));
 
 // determine, whether 'min' is bigger than 4
 if (*min > 4)
    printf(">4");
 else
    printf("<=4");
}



Why on earth you would ever want to do anything like this, I have no idea, not even after your explanation. But pointer referencing and dereferencing works the same as in C.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com