[comp.sys.sgi] Pop-up Menus

blbates@AERO4.LARC.NASA.GOV ("Brent L. Bates TAD/HRNAB ms294 x2601") (08/10/88)

     I am tring to use the advanced menu formats from FORTRAN, but they don't
work.  The main problem I am having is when I try to use %F or %f in a
addtopup.  The functions either not called or the program bombs.  Has anyone
tried to use SGI's menus?  The people I have talked to here; have either given
up or didn't bother to try and wrote there own menu software.  I would like
to try SGI's.  Any suggestions?

tim@ZORAC.ARPA (Tim Pointing) (08/10/88)

I think that you'll find that your problem is caused by the fortran
compiler seeing the %f in the string and assuming that it is a C
formatting request. See what happens if you replace it with "%%f"
(i.e. double the '%').

Tim Pointing, DCIEM
tim@zorac.arpa