Silverfrost Forums

Welcome to our forums

%tl - can't seem to make it work

12 Mar 2015 9:08 #15887

I'm having trouble with %tl, to set tab stops, aligning various controls.

If I use integer (kind=3) or double precision, I get the same error, shown here.

	k = winio@('%`tl&',11d0)

Runtime error from program:z:\\cmasterf95\\checkmate\\win32\\c-master.exe
Run-time Error
%TL requires numeric parameter
 BEDCODE_SPECIAL_NEW -  in file scfunc08.for at line 426 [+00ba]
 BEDCODE_SPECIAL -  in file scfunc08.for at line 344 [+0ef6]
 CALLME -  in file scwrit_new.for at line 835 [+00e0]
 SELECT_FIELD -  in file scwrit_new.for at line 799 [+0a5a]
 KEYSTROKE -  in file scwrit_new.for at line 184 [+0234]
 SCWRIT -  in file scwrit_new.for at line 150 [+0fc2]
 OPTION -  in file option.for at line 31 [+037f]
 main -  in file cmain.for at line 135 [+115e]

Any ideas?

Thanks, Bill

12 Mar 2015 9:54 #15888
i=winio@('%1`tl&', 56d0)
...

i=winio@('%2tl&',56, 50)
...

This is indeed confusing diagnostics and i was ones also crazy at such error. The diagnostic has to be: '%TL requires numeric parameter before %TL'

or

%TL has to allow parameter =1 to be omitted so that $1TL = %TL. (similarly FORMAT(1x,... has to accept FORMAT(x,...) which is an extension of Digital Fortran)

13 Mar 2015 2:36 #15889

Thanks, Dan, I'll give it a try! Bill

13 Mar 2015 7:10 #15895

Thanks, John, and I read your other post. Sounds like a great idea. I'd be willing to participate, and would also guess that the user community would be glad to assist in this effort.

There are also some ClearWin options that appear occasionally in posts that aren't in the documentation; same sort of deal.

Again, thanks for the thoughts, and I'll keep my eyes out for ways to help. Bill

14 Mar 2015 11:04 #15896

FTN95.CHM is all well and good, but it isn't complete. You HAVE to read the CWPLUS.ENH file (installed in the DOC subfolder where the compiler is) and for the new button with text and an icon, read the KBASE section of this forum.

Then, on this website there are the old manuals for FTN77 which document many functions that still work (although anything to do with DBOS and graphics is obsolete).

I recommend reading CWPLUS.ENH in reverse order! There's also and FTN95.ENH file but that is already in reverse date order. (And there are other useful ENH files there).

Eddie

Please login to reply.