This is what I came up with but it is still not working the way I expected, anyone have any ideas?
#include <acknex.h>
#include <default.c>
STRING* one = "0";
STRING* two = "1";
STRING* three = "2";
function msgbox(STRING* new)
{
STRING* clearText = " ";
STRING* holder_one = " ";
STRING* holder_two = " ";
STRING* holder_three = " ";
str_cpy(holder_one,one);
str_cpy(holder_two,two);
//str_cpy(holder_three,three);
str_cpy(one,clearText);
str_cpy(two,clearText);
str_cpy(three,clearText);
TEXT* lnONE =
{
pos_y = 100;
string (one);
flags = VISIBLE;
}
TEXT* lnTWO =
{
pos_y = 110;
string (two);
flags = VISIBLE;
}
TEXT* lnTHREE =
{
pos_y = 120;
string (three);
flags = VISIBLE;
}
str_cpy(one,new);
str_cpy(two,holder_one);
str_cpy(three,holder_two);
}
function main()
{
msgbox("100");
wait(1000);
msgbox("is this working");
wait(1000);
msgbox("i guess so");
return;
}