i know the answer:

function choose_stack
{
randomize();
chosen_stack=int(random(2));
}

easy as that


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku