Skip to content

Instantly share code, notes, and snippets.

@abhiyerra
Created January 7, 2009 08:36
Show Gist options
  • Save abhiyerra/44223 to your computer and use it in GitHub Desktop.
Save abhiyerra/44223 to your computer and use it in GitHub Desktop.
// <event key="ticket.close" code="Update.Pole"/>
String displayOut = "Welcome to Om Spices!";
index = sales.getSelectedIndex();
if (index >= 0) {
line = ticket.getLine(index);
if (value != null) {
displayOut = line.printName() + "\n" +
line.printPrice() + " x " + line.printMultiply() + " = " + line.printSubValue() +"\u0003";
}
}
System.out.println(displayOut);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment