Exemple #1
0
		public static Expression CellValue(Location locStart, Location locEnd)
        {
			var range = new Expression();

            for (var row = locStart.Row; row <= locEnd.Row; row++)
            {
                for (var col = locStart.Col; col <= locEnd.Col; col++)
                {
                    range.Push(Spreadsheets[locStart.Sheet][row][col].UpdateValue());
                }
            }

            return range;
        }
Exemple #2
0
		public static Expression CellValue(Location loc)
        {
            var cell = Spreadsheets[loc.Sheet][loc.Row][loc.Col];
            var value = UpdateCellValue(cell);
            return value;
        }