Batch-Jscript Hybrid Calculator
问题 This is my code: @if (@codesection==@batch) @then @echo off title C: cd %windir%\System32 set c=echo :a %c%abs: Absolute Value %c%atn: Arctangent %c%cos: Cosine in Degrees %c%exp: e Raised to the Power of %c%hex: Hexadecimal Value %c%int: Integer Part %c%log: Natural Logarithm %c%oct: Octal Value %c%rnd: Random Number from (0,1) %c%sgn: Sign %c%sin: Sine in Degrees %c%sqr: Square Root %c%tan: Tangent in Degrees echo. if defined a goto b set /p a= cls for /f %%G in ('cscript //nologo //e