00001
00002 c
00003 c Copyright (c) 1986,1987,1988,1989,1990,1991,1992,1993,
00004 c by Steve McMillan, Drexel University, Philadelphia, PA.
00005 c
00006 c All rights reserved.
00007 c
00008 c Redistribution and use in source and binary forms are permitted
00009 c provided that the above copyright notice and this paragraph are
00010 c duplicated in all such forms and that any documentation,
00011 c advertising materials, and other materials related to such
00012 c distribution and use acknowledge that the software was developed
00013 c by the author named above.
00014 c
00015 c THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
00016 c IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
00017 c WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00018 c
00019
00020 subroutine setmod(i1,i2,i3,i4,i5)
00021 save
00022 c
00023 logical set,mset
00024 c
00025 common/fr draw/md/fr bnds/mb/fr lbx/mx/fr lby/my/fr rotn/mr
00026 data md/0/mb/1/mx/0/my/0/mr/0/set/.false./
00027 c
00028 md=i1
00029 mb=i2
00030 mx=i3
00031 my=i4
00032 mr=i5
00033 set = .true.
00034 return
00035 c
00036 entry getmod(k1,k2,k3,k4,k5)
00037 k1=md
00038 k2=mb
00039 k3=mx
00040 k4=my
00041 k5=mr
00042 return
00043 c
00044 entry getmset(mset)
00045 mset = set
00046 c
00047 end