/* -------------------------------------------------------------------------- *
 *	File Name:		wksheet.ogs                                               *
 *	Purpose:		some wksheet menu implementations                         *
 *	Author:			ML                                                        *
 *	Date:			8/16/95                                                   *
 *	Copyright:		Microcal Software, Inc. 1995                              *
 *                                                                            *
 *	Modification log:                                                         *
 *  ML 8/18/95  SUBPROP_AND_ARGHANDLING
 *	CPY v3.83 9/20/95 LABMATRIX_BEFORE_RELEASE
 *	CPY v6.9119 11/6/01 t8674 RUN_SET_COL_VALUES_ALL_COLS_IN_WKS			  *
 * -------------------------------------------------------------------------- */

[Wks2Mat]

	mat.wksname$ = %H;
	win -T M;
	mat.matname$ = %H;
	//mat.errout = 2;  
	mat.w2m();

[ExpRow2Mat]

	//checkVar nExpCols 5;
	  
	/// ML 8/18/95  SUBPROP_AND_ARGHANDLING
	//getnumber -s [Expand for every column] nExpCols;
	///CPY v3.83 9/20/95 LABMATRIX_BEFORE_RELEASE
	//getnumber -s [Expand for every column] mat.exp2m.cols;
	getnumber -s $Wksheet.ExpRow2MatRow mat.exp2m.cols;
	///
	mat.wksname$ = %H;
	win -T M ;
	mat.matname$ = %H;
	//mat.errout = 2;   
	/// ML 8/18/95  SUBPROP_AND_ARGHANDLING
	//mat.exp2m($(nExpCols));
	mat.exp2m();

//--------------- CPY v6.9119 11/6/01 t8674 RUN_SET_COL_VALUES_ALL_COLS_IN_WKS
//	
[RunAllSetValues]
	type -MC RunSetAllColsNoUndo;
	run -wu %H;
	return 0;
//
//--------------- end CPY v6.9119 11/6/01 t8674
