Two "Main" files with one survey "link" file

Richard Knapp richard.f.knapp at gmail.com
Sun May 3 15:15:42 BST 2020


So at the top of one of my “main” files, I have:

;WC.SVX
*begin 

*fix WC.B001.WC0 0 0 0
*include "WC_Main.SVX"

*end

The other is:

;WC_Geo.SVX
*begin

*cs out utm17
*cs long-lat

*fix WC.B001.WC0 -82.2273250278 36.4577017 0

*include “WC_Main.SVX”"

*end

Where all the surveys are linked via equates in WC_Main.SVX.

At the top of WC_Main.SVX I have:

;Cave Surveys
*case preserve

*begin WC
*export B001.WC0
… [survey files]

..but I keep getting the error:

WC.SVX:3: error: Reference to station “wc.b001.wc0” from non-existent survey “wc.b001”

What am I missing? It is probably staring me right in the face but I cannot see it.

Richard Knapp
Richard.F.Knapp at gmail.com






More information about the Survex mailing list