|
/**************************************************************************************************************/
/* */
/* TEMPLATE.CS */
/* */
/* */
/* */
/* Modification history: */
/* 2003-10-28 Sir John E. Boucher Created */
/* */
/**************************************************************************************************************/
namespace RpnDemo
{
public partial class
RpnDemo
{
[System.STAThread]
public static int
Main
(
string[] args
)
{
try
{
if ( args.Length > 0 )
{
System.Console.Write
(
PIEBALD.Lib.LibRpn.InfixToRpn
(
args [ 0 ]
,
PIEBALD.Lib.LibRpn.RpnOptions.FailOnMalformedExpression
)
) ;
}
}
catch ( System.Exception err )
{
System.Console.Write ( err.Message ) ;
}
return ( 0 ) ;
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.