Fetch a substring of the input text, as specified by start and end offsets, and print it to an output stream.
bool = inputrangetofile(start_num,end_num, out_ostream)
Boolean (0 or 1) if successful print out.
This is an efficient function in that it directly traverses the input text buffer to output the specified range of chars.
Offsets are zero based.
G("out") = openfile("c:\\tmp.txt");
inputrangetofile(0,9,G("out")); # Print the first 10 characters of the input text.
closefile(G("out"));