soccer jersey forums.silverfrost.com :: View topic - unmatched brackets and other mysteries
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

unmatched brackets and other mysteries

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
RobBliss



Joined: 14 Jul 2007
Posts: 7
Location: North Carolina, USA

PostPosted: Mon Jul 19, 2010 5:41 pm    Post subject: unmatched brackets and other mysteries Reply with quote

Since converting to Windows 7 (64bit), programs than ran fine previously now will not compile.

The following code (in a *.for file)
yield = yield + quartic(upper,c(i,1),c(i,2),c(i,3),c(i,4))
+ - quartic(lower,c(i,1),c(i,2),c(i,3),c(i,4))
gets an "unmatched right bracket(s)" error for the second line. The editor can find the matching brackets using Ctrl-].

Using Plato I get two of these errors. Using MS Visual STudio 2008 on the same code I get three and in addition
- one instance of failure to recognize a "+" in col 6 as valid (fine elsewhere)
- nesting errors for IF/THEN/ELSE/ENDIF nested in a DO loop that are clearly fine.

Any idea what is happening?
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7942
Location: Salford, UK

PostPosted: Mon Jul 19, 2010 6:21 pm    Post subject: Reply with quote

Check to see if there are any tab characters and convert them to spaces.
Back to top
View user's profile Send private message AIM Address
RobBliss



Joined: 14 Jul 2007
Posts: 7
Location: North Carolina, USA

PostPosted: Mon Jul 19, 2010 7:47 pm    Post subject: Reply with quote

Thanks. That worked.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group