Where exactly is the error pointing (which line/column)? Is this the only compiler diagnostic?

Perhaps it is a whietspace issue; it looks like you post had the whitespace removed, do you have e.g.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
 

open PARSER 
open System 
open System.IO 

let Main() = 
    let p=new Parser("VMcommand.txt") 
    p.advance() 

Main() 
Console.ReadKey(true) 

where the body of the Main method is indented, but then the subsequent lines are back at the original indent level?

By on 11/5/2009 3:01 PM ()

I have something like this:

open PARSER

open System

open System.IO

let Main() =

let p=new Parser("VMcommand.txt")

p.advance()

Main()

Console.ReadKey(true)

how I need to indent the lines?

There is stuff about this issue?

*this is the only computer diagnostic.

*the error point to the line with the call to the Main() (line 7)

thanks

By on 11/5/2009 10:46 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper