I was experimenting with a new format code %bh (new to me anyway) last night.
Can somebody tell me where I am going wrong in line 20 of the code below. At run time I get an error message saying the help string is missing.
Thanks
Ken
program test
implicit none
include<windows.ins>
integer i
integer :: bubble_help_control
real(kind=2) :: val
!
!The help string is either surrounded by square brackets, or an @ character
!is placed in the format string to indicate that the help string is supplied as an extra
!argument.
val = 0.d0
bubble_help_control = 1
i = winio@('%rb[Enable Bubble Help]&', bubble_help_control)
i = winio@('%2nl%ws&','Input a number')
i = winio@('%ta%?rf@%bh&', val, 'Enter a value', bubble_help_control) ! This works as expected
i = winio@(' ')
val = 0.d0
bubble_help_control = 1
i = winio@('%rb[Enable Bubble Help]&', bubble_help_control)
i = winio@('%2nl%ws&','Input a number')
i = winio@('%ta%?rf%bh[Enter a value]&', val, bubble_help_control) ! What is wrong with this line?
i = winio@(' ')
end