Header menu logo F# Compiler Guide

Line Module

Functions related to converting between lines indexed at 0 and 1

Functions and values

Function or value Description

fromZ arg1

Full Usage: fromZ arg1

Parameters:
Returns: int

Convert a line number from zero-based line counting (used by Visual Studio) to one-based line counting (used internally in the F# compiler and in F# error messages)

arg0 : Line0
Returns: int

toZ arg1

Full Usage: toZ arg1

Parameters:
    arg0 : int

Returns: Line0

Convert a line number from one-based line counting (used internally in the F# compiler and in F# error messages) to zero-based line counting (used by Visual Studio)

arg0 : int
Returns: Line0

Type something to start searching.