On 2018-04-26 09:51 -0500, Bill Gee via Therion wrote:

> The combined map is generated from a single thconfig file that uses "source" 
> commands to bring in the .th files from each of the member caves.
>  
> Now we have surveyed a link between two of the four caves.  I need to set up 
> an "equate" command so that the two caves actually link up. 

> Based on a message from Martin, I added a .th file which contains a "survey" 
> command.  However, that is generating an error from Therion:

...
   
> ==========  BigCavernRanch.th  ===========
> # Bring in subsidiary files
> 
> # Name the input caves
> source ../AllieSpringCaveSurvey/AllieSpringCave.th
> source ../MillCreekCaveSurvey/MillCreekCave.th
> source ../ShiftyRockPit/ShiftyRockPit.th
> source ../CascadeCaverns/CascadeCaverns.th
> 
> survey all
>   equate AA42@ShiftyRockPit DR23@AllieSpringCave
> endsurvey

'source' is a command that goes in a thconfig file.
'survey' is a command that goes in a .th file.

thconfig and .th files have different formats. So even though you've
called the file 'BigCavernRanch.th', it's being treated as a thconfig
file.

I think if you change:
input BigCavernRanch.th 
to 
source BigCavernRanch.th
that should do the trick.

input is 'insert file as if it was written here'
source is 'read this .th data file here'

Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Therion mailing list
[email protected]
https://mailman.speleo.sk/listinfo/therion

Reply via email to