hi ,
i designed keuboard using push button and now i want to dipslay the character that i had pressed
i simply used increment operator , that store pressed value each time in an array. but when i want to print that value to the display it is not showing correct value,
then i simply tried loop to know, the working of print function given below
as per my knowledge it should print
1
12
123
1234..
and so on
but it only print 2
what can be the issue please help me
thanking you.
i designed keuboard using push button and now i want to dipslay the character that i had pressed
i simply used increment operator , that store pressed value each time in an array. but when i want to print that value to the display it is not showing correct value,
then i simply tried loop to know, the working of print function given below
Code:
func main() gfx_ScreenMode(LANDSCAPE) ; // change manually if orientation change print("Hello World") ; // replace with your code repeat // maybe replace i++; array[i] := i; print(array); pause(1000); gfx_Cls(); forever // this as well endfunc
1
12
123
1234..
and so on
but it only print 2
what can be the issue please help me
thanking you.
Comment