Recent

Author Topic: Passing Command Line Parameters  (Read 3703 times)

JimKueneman

  • Full Member
  • ***
  • Posts: 220
Passing Command Line Parameters
« on: November 25, 2015, 03:23:46 pm »
This has to be obvious but I can't find it nor can I seem to find the right keyword on Google.

Where can I add parameters that will be passed to the application (console in my case) in the debugger?

Thanks,
Jim

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11453
  • FPC developer.
Re: Passing Command Line Parameters
« Reply #1 on: November 25, 2015, 03:27:21 pm »
run -> run parameters

JimKueneman

  • Full Member
  • ***
  • Posts: 220
Re: Passing Command Line Parameters
« Reply #2 on: November 25, 2015, 04:47:11 pm »
Good grief I knew it was obvious.  I can tell you without a doubt it is NOT in the the project options dialog  :-[

Jim

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11453
  • FPC developer.
Re: Passing Command Line Parameters
« Reply #3 on: November 25, 2015, 04:50:20 pm »
To make it worse: it is nearly in the exact same place as in Delphi  O:-)

rvk

  • Hero Member
  • *****
  • Posts: 6163
Re: Passing Command Line Parameters
« Reply #4 on: November 25, 2015, 05:06:27 pm »
To make it worse: it is nearly in the exact same place as in Delphi  O:-)
Well, actually, in Delphi it's also in Project > Project options > Debugger > Parameters :)
Run > Parameters opens at that same point in Delphi.

JimKueneman

  • Full Member
  • ***
  • Posts: 220
Re: Passing Command Line Parameters
« Reply #5 on: November 25, 2015, 05:33:50 pm »
Thank you, THAT is why I was look in the Project Options!

Jim

 

TinyPortal © 2005-2018