* * *

Author Topic: Reserved word  (Read 290 times)

bigeno

  • Full Member
  • ***
  • Posts: 175
Reserved word
« on: August 24, 2017, 10:12:04 pm »
Guys, how can I compile project without error

ole_html.pas(80,28) Fatal: Syntax error, "identifier" expected but "TYPE" found

my code:
Code: Pascal  [Select]
  1. ...
  2. ishape := V.ActiveDocument.InlineShapes.Item(i);
  3. if ishape.Type = 11 then begin  ...

Ondrej Pokorny

  • Full Member
  • ***
  • Posts: 184
Re: Reserved word
« Reply #1 on: August 24, 2017, 10:14:40 pm »
Use
Code: [Select]
&Type

bigeno

  • Full Member
  • ***
  • Posts: 175
Re: Reserved word
« Reply #2 on: August 24, 2017, 10:19:42 pm »
Nice, big thanks.  ;)

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus