net.sf.drawj2d.cmd
Class ExprCmd
- java.lang.Object
-
- net.sf.drawj2d.cmd.ExprCmd
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description ThingcmdCode(Interp interp, Thing[] argv)ThecmdCodemethod takes an interpreter and an array of Things, performs some calculations, and returns aThingrepresenting the computed value, ornull.static voidmain(java.lang.String[] args)Test the expr command.
-
-
-
Constructor Detail
-
ExprCmd
public ExprCmd(API api)
-
-
Method Detail
-
cmdCode
public Thing cmdCode(Interp interp, Thing[] argv) throws HeclException
Description copied from interface:CommandThecmdCodemethod takes an interpreter and an array of Things, performs some calculations, and returns aThingrepresenting the computed value, ornull.- Specified by:
cmdCodein interfaceCommand- Parameters:
interp- anInterpvalueargv- aThing[]value- Returns:
- A
Thingrepresenting the computed value, ornull. - Throws:
HeclException- if an error occurs
-
main
public static void main(java.lang.String[] args)
Test the expr command.- Parameters:
args-
-
-
DataMelt 3.0 © DataMelt by jWork.ORG