关于函数的小问题
? max("北京","上海","广州") 为什么是答案上海 ? min("book","car","cup") 为什么是cup
CLEAR ShowCode("北京") ShowCode("上海") ShowCode("广州") ? "max = ", max("北京","上海","广州") ? ? ShowCode("book") ShowCode("car") ShowCode("cup") ? "max = ", max("book","car","cup") RETURN PROCEDURE ShowCode(tcString) LOCAL lnIndex ?? tcString FOR lnIndex = 1 TO LEN(tcString) ?? ASC(SUBSTR(tcString, lnIndex, 1)) NEXT ? ENDPROC