 |
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
wahorger

Joined: 13 Oct 2014 Posts: 1257 Location: Morrison, CO, USA
|
Posted: Thu Mar 12, 2015 10:08 pm Post subject: %tl - can't seem to make it work |
|
|
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.
Code: |
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 |
|
Back to top |
|
 |
DanRRight
Joined: 10 Mar 2008 Posts: 2923 Location: South Pole, Antarctica
|
Posted: Thu Mar 12, 2015 10:54 pm Post subject: |
|
|
Code: | i=winio@('%1`tl&', 56d0)
... |
Code: | 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) |
|
Back to top |
|
 |
wahorger

Joined: 13 Oct 2014 Posts: 1257 Location: Morrison, CO, USA
|
Posted: Fri Mar 13, 2015 3:36 am Post subject: |
|
|
Thanks, Dan, I'll give it a try!
Bill |
|
Back to top |
|
 |
wahorger

Joined: 13 Oct 2014 Posts: 1257 Location: Morrison, CO, USA
|
Posted: Fri Mar 13, 2015 8:10 pm Post subject: |
|
|
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 |
|
Back to top |
|
 |
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2402 Location: Yateley, Hants, UK
|
Posted: Sat Mar 14, 2015 12:04 pm Post subject: |
|
|
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 |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|