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 

Write(unit,format) where unit = number or *

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



Joined: 10 Mar 2008
Posts: 2819
Location: South Pole, Antarctica

PostPosted: Sun May 04, 2008 11:09 pm    Post subject: Write(unit,format) where unit = number or * Reply with quote

Is there a way to make write to regular unit = number or unit = screen, just by chnaging unit number. In other words, do Salford has some hidden unit number which is equivalent to * as in write(*,format)

Unit 6 sometimes does notwork as print on screen i.e. unit=* probably due to simultaneous use and conflicts of unit 6 and unit=*

Does FTN95 has unit 0 like in Unixes ?
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Mon May 05, 2008 7:29 am    Post subject: Reply with quote

FTN95 recognise units 1 and 2, and 5 and 6 for standard IO unless you use these numbers for something else. Programmers are advised to use unit values of 7 or above. There is no special meaning to the value 0 that I know of (if, indeed, it is allowed).
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