MakeGrid(Rows,Columns,Range)

Uses Range to construct a grid of size [Rows,Columns]. The elements of Range are read row-wise.

Example: MakeGrid(12,3,Range)

MakeGrid
         
  Currency XAU ValuationDate  
  37952 SettlementDate 37956  
  Cities LDN,NYC DiscountBasis  
  ACT/365.25 FuturesDV01 25  
  CashToFuture LINEAR AddPar  
  LINEAR BuildMethod LINEAR_ZERO  
  ExtrapMethod CONSTANT_FORWARD TurnMethod  
  CONSTANT_CASH CashBump MOD_FORWARD  
  FuturesBump MOD_FORWARD SwapBump  
  MOD_FORWARD CashBasis ACT/360  
  SwapBasis 30/360 SwapFrequency  
  SEMI UseType LIBOR  
         

Range
       
  Currency XAU  
  ValuationDate 37952  
  SettlementDate 37956  
  Cities LDN,NYC  
  DiscountBasis ACT/365.25  
  FuturesDV01 25  
  CashToFuture LINEAR  
  AddPar LINEAR  
  BuildMethod LINEAR_ZERO  
  ExtrapMethod CONSTANT_FORWARD  
  TurnMethod CONSTANT_CASH  
  CashBump MOD_FORWARD  
  FuturesBump MOD_FORWARD  
  SwapBump MOD_FORWARD  
  CashBasis ACT/360  
  SwapBasis 30/360  
  SwapFrequency SEMI  
  UseType LIBOR