Recent

Author Topic: pascal script question  (Read 2299 times)

snorkel

  • Hero Member
  • *****
  • Posts: 817
pascal script question
« on: January 09, 2014, 07:26:14 pm »
Hi,
I got it installed and can run a simple script i.e.

begin

end.

but how do I import sysutils and fileutils, I just want my script to be able to work with files and directories.
I was able to use the classes plugin to get things like tstringlist.
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 3.0RC2 and FPC 3.2.2
OS: Windows 10 64 bit

tranminhchien

  • New Member
  • *
  • Posts: 20
Re: pascal script question
« Reply #1 on: January 15, 2014, 11:46:34 am »
I don't think script language support library :)

ttomas

  • Sr. Member
  • ****
  • Posts: 250
Re: pascal script question
« Reply #2 on: January 15, 2014, 12:44:23 pm »
You can import any unit with import utility in folder unit importing.
See how other units is imported and you can import all or only functions you need from some unit.
Download full source from RemObjects and analyze source

 

TinyPortal © 2005-2018