Hi,
i have a little problem with showing a part of an array in a digit.


while definination and declaration seems to work
Code:
STRING * res[6];
	res[0] = "640 x 480";
	res[1] = "800 x 600";
	res[2] = "1024 x 768";



but as i want to show it via
Code:
digits(0, 0, " %s", "Arial#16", 1, res[1]);

it shows only "(null)"

also unfortunately
Code:
str_cpy(resolution, res[num]);


gives me an malfunction says: "Empty pointer in set_res" (set_res is the function called by the button from the panel with the digits above)

what i have to do to use the part of the array in the digits and iin other functions without exactly know thwat the player wants and witout writing a new function for each possibility?
i hope you can help me with it smirk

greetings
~kitsu


fogman: "Hint: Itīs useful to learn to read before you try to write games."