forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Changing of text colour

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
FK_GER



Joined: 26 Oct 2017
Posts: 35
Location: University of Kassel,Germany

PostPosted: Sat Apr 07, 2018 1:48 pm    Post subject: Changing of text colour Reply with quote

Following subroutine doesn't change text colour, as desired:
Code:
      SUBROUTINE LEGEND (KRW)
!C**********************************************************************
!C  Coloured text of legend for curves at the screen
!C  KRW = logical unit of output-window
!C
      INCLUDE <windows.ins>
      INTEGER I
      I=WINIO@('%tc[red]')
      WRITE (KRW,319)
      I=WINIO@('%tc[blue]')
      WRITE (KRW,320)
      I=WINIO@('%tc[black]')
      WRITE (KRW,321)
      RETURN
  319 FORMAT (/1X,'* RED curve = calculated stiffness values  *')
  320 FORMAT (/1X,'* BLUE curve = parabolicly approximated course *')
  321 FORMAT (/1X,'* Presented is the half girder. Symmetry axis = middle of girder *')
      END

What goes wrong?
For Information: I'm using Personal Edition V8.1
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7912
Location: Salford, UK

PostPosted: Sat Apr 07, 2018 5:11 pm    Post subject: Reply with quote

There is no connection of the kind implied by your code.

You could create an embedded "ClearWin" window using %cw and use the option [local_font] to set the font. You may also be required to set the font name.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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