
 [1,2]LINK.HLP

	LINK is a means of compiling and task building a fortran or macro
	program from instructions contained in the source program.

	To use LINK, your source program must contain the compile and task
	build instructions in valid comment lines followed by a TAB.

 i.e		PROGRAM PROG
	C	FOR PROG,TI:=PROG		;	MAC PROG,NL:=PROG
	C	PROG/CP/PR:0,NL:=PROG,LB:[1,1]FOROTS/LB
	C	/
	C	COMMON =
	C	//		note: this line is always required.

	To initiate LINK enter LINK PROG[.EXT] [OPTION] [OPTION]

	further help type 	HELP LINK DEFAULts
				HELP LINK OPTIONs
				HELP LINK CHECKS
				HELP LINK SYNTAX
				HELP LINK INITIAte
1 INITIA
  [1,2]LINK.HLP/INITIA




                       S T A R T I N G     L I N K




 LINK CAN BE STARTED BY ENTERING

	a: LINK 		(Prompts for file name)

	b: LINK PROG		(presumes .ftn .mac .f4p)

	c: LINK PROG.EXT

	d: @[1,3]LINK PROG.EXT	(for use in indirect command files)




1 SYNTAX
  [1,2]LINK.HLP/SYNTAX

                        L I N K     S Y N T A X


	Your source program must contain compile and taskbuild instructions
	embedded in valid comment lines within the first 25 lines of source.

	The last command must be C	// even if no options are required.

	If you are working on a disk other than the system disk issue the local
	assignment YOURDISK=SY:. ie DR1:=SY:

                                 E X A M P L E

	 	 C	FOR PROG,NL:=PROG
		 C	PROG/CP/,NL:=PROG,LB:[1,1]FOROTS/LB
		 C	/
		 C	COMMON =
		 C	MAXBUF =
		 C-	TASK = ...PRO 
		 C	//	
 note: C- instucts link to ignore this line.
1 CHECKS
  [1,2]LINK.HLP/CHECKS

	           L I N K       C H E C K S       F O R



	a: A valid compiler name. FOR MAC or F4P

	b: A - after the comment. If found the task builder instruction
		is not used.

	c: A TASK = option. If found the optional name is used to remove
		the task.

	d: An INStalled task. If found the task is REMoved and INStalled.

	e: AN active task. If found two options are available:
			  1: ABOrt REMove INStall and RUN program.
			  2: Leave the running copy intact and DELETE
			     the new .tsk



1 DEFAUL
  [1,2]LINK.HLP/DEFAULT



	    D E F A U L T S       U S E D       B Y       L I N K



	SOURCE A source extension of .FTN is presumed. Other extensions
		searched for( in order ) are .CON .MAC .F4P

	All other file extensions are standard unless specifically altered
	by your compile and/or task builder instructions.

	C O M P I L E R				    T A S K   B U I L D E R

	LIST   FILE .lst				OBJECT FILE .obj
	OBJECT FILE .obj				LIST   FILE .map
							TASK   FILE .tsk




1 OPTION
  [1,2]LINK.HLP/OPTION


                        L I N K      O P T I O N S


	The options NOASK and NOLIST are entered as

	LINK PROG NOASK NOLIST

	NOASK The option NOASK will suppress all questions from link.
	      Useful when link is used in a command file.


	NOLIST The option NOLIST will suppress the request for a source
		list as requested in the compiler instruction.







