comparison src/org/tn5250j/framework/tn5250/tnvt.java @ 32:b086dd794dba tn5250

start tn5250 integration
author Carl Byington <carl@five-ten-sg.com>
date Tue, 10 Jun 2014 13:31:30 -0700
parents 017eeed8332c
children 0395ca628303
comparison
equal deleted inserted replaced
31:139394237973 32:b086dd794dba
988 */ 988 */
989 private void parseCommand() { 989 private void parseCommand() {
990 // Search for the command i.e. the first token in the stream 990 // Search for the command i.e. the first token in the stream
991 // after the #! sequence separated by a space from the rest 991 // after the #! sequence separated by a space from the rest
992 // of the screen. 992 // of the screen.
993 char[] screen = screen52.getScreenAsAllChars(); 993 char[] screen = screen52.getScreenAsChars();
994 for (int s = STRSCAN + 2, i = s; i < screen.length; i++) { 994 for (int s = STRSCAN + 2, i = s; i < screen.length; i++) {
995 if (screen[i] == ' ') { 995 if (screen[i] == ' ') {
996 String command = new String(screen, s, i - s); 996 String command = new String(screen, s, i - s);
997 997
998 // Skip all white spaces between the command and the rest of 998 // Skip all white spaces between the command and the rest of