CompuServe Messages

Baffled by Benchmark

    06-Dec-87 23:07:40
Fm: Steve Faiwiszewski 74106,425
To: Thomas Holaday 70407,534
You're on the right track. In the pure language definition, constants are NOT variables. Therefore they cannot be modified and they do not (theoretically) take space and therefore don't have an address. Hovewever, reality IS different, and those string constant must be stored somewhere in the code (so you'r right about the in-line code bit). Therefore, Benchmark gives you the unorthodox ability to find the address of this constant and use that. By the way, passing parameters to procedure does NOT mean thos parameters must reside in registers; they can also (and usually are) passed on the stack. – Steve –