Re: [Lazarus] Asteroids in Pascal

2021-11-22 Thread Bo Berglund via lazarus
On Mon, 22 Nov 2021 08:57:51 +0300, ??? ??? via lazarus
 wrote:

>Hi.
>My operating system is kubuntu 21.04. How can I execute system commands
>from my graphical lazarus program?
>
Example:

RunCommandIndir(exedir, executable, arguments, returnstr,
[poWaitOnExit,poStderrToOutPut,poNoConsole]);

Where:

exedir = the directory where you want the execution to happen
executable = the program executable file
arguments  = array of string holding the command line arguments
returnstr  = String getting the return message from the executable

Read more by searching for RunCommandIndir and/or RunCommand in the fpc
documentation.

-- 
Bo Berglund
Developer in Sweden

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Asteroids in Pascal

2021-11-21 Thread Евгений Кадисов via lazarus
Hi.
My operating system is kubuntu 21.04. How can I execute system commands
from my graphical lazarus program?

вс, 21 нояб. 2021 г. в 14:18, Graeme Geldenhuys via lazarus <
lazarus@lists.lazarus-ide.org>:

> On 2021-11-09 6:32 p.m., Anthony Walter via lazarus wrote:
> > I've included a copy of the entire game logic code. Check it out here:
>
> Such a cool game. :-D Thank you for sharing.
>
> Regards,
>Graeme
>
> --
> ___
> lazarus mailing list
> lazarus@lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus
>
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Asteroids in Pascal

2021-11-21 Thread Graeme Geldenhuys via lazarus

On 2021-11-09 6:32 p.m., Anthony Walter via lazarus wrote:

I've included a copy of the entire game logic code. Check it out here:


Such a cool game. :-D Thank you for sharing.

Regards,
  Graeme

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Asteroids in Pascal

2021-11-09 Thread Michael Van Canneyt via lazarus



On Tue, 9 Nov 2021, Anthony Walter via lazarus wrote:


As one of several demos of my vector graphics library for Free Pascal, I've
recreated an arcade game.

I've included a copy of the entire game logic code. Check it out here:

https://www.getlazarus.org/videos/physics/asteroids/



Boy, does that bring back memories. 
One of my favourites in the arcade hall...


Michael.
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Asteroids in Pascal

2021-11-09 Thread Anthony Walter via lazarus
As one of several demos of my vector graphics library for Free Pascal, I've
recreated an arcade game.

I've included a copy of the entire game logic code. Check it out here:

https://www.getlazarus.org/videos/physics/asteroids/
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus