Vladimir A. Reznichenko wrote:I have a function: void test (inout uint a) { asm { mov a, 0x25; } } The trouble is that the function's call doesn't change the a variable. Any ideas?Inout variables are pointers.
Why is it 'inout' and not 'ref' ?
Vladimir A. Reznichenko wrote:I have a function: void test (inout uint a) { asm { mov a, 0x25; } } The trouble is that the function's call doesn't change the a variable. Any ideas?Inout variables are pointers.
Why is it 'inout' and not 'ref' ?