Recent

Author Topic: How do i get pascal to read from another pas file?  (Read 5656 times)

captian jaster

  • Guest
How do i get pascal to read from another pas file?
« on: February 23, 2010, 01:39:20 am »
Is there some way i can get pascal to read from and execute another pas file or exe file?

mmab

  • Jr. Member
  • **
  • Posts: 89
Re: How do i get pascal to read from another pas file?
« Reply #1 on: February 23, 2010, 04:07:08 am »

Are you looking for a tool to run pascal files? like
Pascal Script
http://www.remobjects.com/ps.aspx  ?

AFAIK, Remobjects is a set of components for Delphi not Lazarus.

davesimplewear

  • Sr. Member
  • ****
  • Posts: 319
    • Davids Freeware
Re: How do i get pascal to read from another pas file?
« Reply #2 on: February 23, 2010, 07:31:20 am »
in windows I believe the ShellExecute for an exe file and in Linux use Tprocess, what do you need to read in the .pas file?
All things considered insanity seems the best option

eny

  • Hero Member
  • *****
  • Posts: 1634
Re: How do i get pascal to read from another pas file?
« Reply #3 on: February 23, 2010, 08:15:42 am »
TProcess works for Windows as well: Executing external programs
All posts based on: Win10 (Win64); Lazarus 2.0.10 'stable' (x64) unless specified otherwise...

 

TinyPortal © 2005-2018