> -----Original Message-----
> From: mark_vdv [mailto:mvdv@...]
> Sent: Wednesday, October 16, 2002 5:59 AM
> To: code@yahoogroups.com
> Subject: [code] CODE Syntax Question
>
> I've manged to successfully compile CODE on a w2kpro machine using
> MSVS.NET.
>
> I'm using CODE 2.3.0 on a w2kPro machine.
>
> I've manged to get CODE to compile, and have followed the first
> tutorial, to the point when I'm ready to get CODE to compile the
> sumvector example.
>
> Essentially I would like to know if there is more up to date
> documentation for CODE the user guide that come with the distribution
> of CODE 2.3.0?
Sadly there is not.
> Basically I'm having trouble getting CODE to accept the syntax I have
> in the "Program Type definition field", following tutorial one of the
> user guide, I have entered (along with all the other info)
>
> type Vect is array of int;
>
> I get the following error msg in response in the 'CODE compiler
> messages' dialog:
The error message is unfortunately misleading. I've verified that under
Visual Studio.NET, the Tcl/Tk user interface does not work properly. In
particular, checkbuttons don't show up. These work fine under VS6.0. In
any event, you have to click on the text that says "Start Node", thus
changing the top node from yellow to green. With one minor fix in the
routing rules, CODE generates a Makefile and C source files from
sumvector.grf. I've attached the fixed file.
Please address future questions or comments about CODE to Nasim Mahmood
(nmtanim@...) and Dr. Jim Browne (browne@...), who
are currently in charge of the CODE project.
Regards,
-- Emery
>
> "*** ERROR ***
> Syntax error line 0 col 10 in Program Type Definition field"
>
> I've attached the CODE file, "sumvector.grf".
> I appreciate any light you can shed on this problem.
>
> Thanks in advance.
>
> Sincerely,
>
> Mark Van De Vyver
>
> Department of Accounting and Finance
> University of Western Australia
> Stirling Highway
> Perth 6907
--
Emery Berger
Assistant Professor
Dept. of Computer Science
University of Massachusetts, Amherst
www.cs.umass.edu/~emery