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

Share

Reply to This

Badge

Loading…

© 2009   Created by Allan Mertner on Ning.   Create a Ning Network!

Badges  |  Report an Issue  |  Privacy  |  Terms of Service