1*4882a593SmuzhiyunA slow day today so here is a revised itest command with provisional 2*4882a593Smuzhiyunsupport for comparing strings as well :-)) 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunNow table driven to allow the operators 5*4882a593Smuzhiyun-eq, -ne, -lt, -gt, -le, -ge, ==, !=, <>, <, >, <=, >= 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunUses the expected command modifier for integer compares of width 1, 2 or 8*4882a593Smuzhiyun4 bytes of .b, .w, .l and the new modifer of .s for a string compare. 9*4882a593SmuzhiyunString comparison is over the length of the shorter, this hopefully 10*4882a593Smuzhiyunavoids missing terminators when using an indirect pointer. 11*4882a593Smuzhiyun 12*4882a593Smuzhiyuneg. 13*4882a593Smuzhiyunif itest.l *40000 == 12345678 then; .... 14*4882a593Smuzhiyunif itest.w *40000 != 1234 then; .... 15*4882a593Smuzhiyunif itest.b *40000 >= 12 then; .... 16*4882a593Smuzhiyunif itest.s *40000 -eq hello then; .... 17