Recent

Author Topic: Reserved word  (Read 1810 times)

bigeno

  • Sr. Member
  • ****
  • Posts: 266
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: 220
Re: Reserved word
« Reply #1 on: August 24, 2017, 10:14:40 pm »
Use
Code: [Select]
&Type

bigeno

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

 

TinyPortal © 2005-2018