Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-05

Assign "RunParameters" to "Build Modes"

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

William Oliveira Ferreira

Hi!

I've got that Build Modes are there to change how the project is build. But, it's possible to change "Run parameters" (Run > Run Parameters) with Build Modes?

I use a "Run Parameter" in my project to check how some parameters are passed to it destination, parameters like a sql query, a current var value in a loop, (etc...) and i use showmodal to check these data when a "Run parameter" is passed...

...So, when my Build Mode is Debug, then, i like to set "Run Parameter", else, i like to clear it...

________________________________ William de Oliveira Ferreira Bacharel em Sistemas de Informa??o -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120503/fc0ba6fe/attachment.html>

Reply by email

Reinier Olislagers
to William Oliveira Ferreira
William Oliveira Ferreira wrote 14 lines
Hi! I've got that Build Modes are there to change how the project is build. But, it's possible to change "Run parameters" (Run > Run Parameters) with Build Modes? I use a "Run Parameter" in my project to check how some parameters are passed to it destination, parameters like a sql query, a current var value in a loop, (etc...) and i use showmodal to check these data when a "Run parameter" is passed... ...So, when my Build Mode is Debug, then, i like to set "Run Parameter", else, i like to clear it...

Nope not AFAIK, but great minds think alike ;)

I wanted to have the possibility of multipe "run modes" that can be stored in a central project or .lps file. Have a look here: http://bugs.freepascal.org/view.php?id=21379
... though I wanted to store

Reply by email