Topic: settextboxcontents/gettextboxcontents sequence
Why is the following not getting me user text input?
integer i1, ii1
character*5 sa_text
common /texts/ sa_text
character*20 buffer
common /buffer/ buffer
sa_text = '0'
call settextboxcontents (i1, sa_text)
call settextboxentercallback (i1, get_buffer)
ii1 = gettextboxcontents (i1, buffer)
read (buffer, *) start_angle
The buffer value does not change no matter what the user enters. What am I doing wrong?