I know that I have never solved a problem a few years ago.

xiaoxiao2021-03-06  23

When I just worked with ASP, I found an error when I did a project when I used ASP, and I didn't find the reason. Later I found out that there was a "str = userheight & health" in the program to report an error. At the time, I wanted not to pass this sentence. How can I report an error, then change the health into the UserHealth plus a prefix, but I have never understood that it may be a keyword in the ASP. Later, I was slowly forgotten. Yesterday I saw someone in 9CBS asked a question that I met with me. Haha, a master gives a real reason:

HEX (expression) The hexadecimal value of the value of the value. If the expression is NULL, hex (expression) = null, if the expression = EMPTY, HEX (expression) = 0. The 16 carry can be represented by "& H", such as 16 carry & H10 means a decimal 16. Example: HEX (30) Results: 1E

The solution is to add a space case "& health" in front of "& HE" so that it will not be treated as a 16 into value.

转载请注明原文地址:https://www.9cbs.com/read-43141.html

New Post(0)