Virtual Pascal

Classic Object Pascal for free

Hi everyone,

I have just found out that constant calculations like this
mov esi, offset A - offset B
fail with the following error message
f:\ndn\source\extsrc\winoldap.dll\WINOLDIF.PAS(860): Error 31: Constant expected
The error caret (^) points to "B".

Can someone verify this?
It puzzles me that the internal assembler of VP cannot handle this and I wonder
why I have never stumbled across this before.

All the best,
Stefan / AH

Views: 47

Reply to This

© 2022   Created by Allan Mertner.   Powered by

Report an Issue  |  Terms of Service