JoelS Posted August 18, 2012 Share Posted August 18, 2012 I have been developing a script on the Mac in VW2012 and wanted to test it on the PC side, so I installed a copy of VW2012 on Boot Camp with Win7, copied across the various resources and I see this error: Line #1: book | { Error: Expected = } | { Error: Expected BEGIN } | { Error: Expected a RUN statement at the end of the scirpt } Seconds to Compile: 0.00 Previously in VW2011 any script I brought across to the PC worked the same in both environments but here there is a difference. There is no "book" on line one of the script and it shows no compilation errors on the Mac side, so what is the compiler trying to get across? Thanks, Joel. Quote Link to comment
MullinRJ Posted August 18, 2012 Share Posted August 18, 2012 Hi Joel, ???It could be referring to line 1 of any $Included file. Sometimes, the second or third error message will clue you in to which file is the offending one. ???The "{ Error: Expected = }" message usually occurs in CONST declarations. I know this is not much help, but without knowing more, I can't offer more. ???Lastly, do you have a blank line at the end of every included file? This prevents statements in adjacent files from running together inadvertently. HTH, Raymond Quote Link to comment
JoelS Posted August 19, 2012 Author Share Posted August 19, 2012 Hi Raymond, All the include files have those blank lines and they are the same files that compile on the Mac side. Will check out CONST declarations specifically. I'll do some more digging. Thanks, Joel. Quote Link to comment
JoelS Posted August 20, 2012 Author Share Posted August 20, 2012 Turned out to be a stupid thing. One common include was a Mac alias instead of the original file and so the file was effectively missing but VW was trying to use the contents as an include anyway. All working now, thanks. Joel. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.