[fpc-pascal] how to customize so Pandroid would be usable from Lazarus for windows
pascaldragon at googlemail.com
Thu Apr 18 20:33:31 CEST 2019
Am 18.04.2019 um 12:46 schrieb Tomas Hajny:
> On Thu, April 18, 2019 12:32, Mgr. Janusz Chmiel wrote:
>> I have also started to transform build.sh to Windows batch file.
>> Which issues AM I facingnow?
>> echo ppcjvm ---------------------------------------------
> $environment_variable in shell scripts = %environment_variable% in Windows
> batch files.
>> I have modified The builddebug.sh script which is available inside
>> But I do not know, if I can replace fi command by pause?
> "fi" (in shell scripts) = "$ENDIF" (in Pascal); there's no alternative to
> that in the Windows batch files, because those only allow executing a
> single command based on the result of the "if" condition. If longer blocks
> of commands need to be invoked, the Windows batch file alternative is
> either moving those blocks to another batch file (and calling that batch
> file in from the IF condition), or using a label and goto in the batch
Huh? What about
=== code begin ===
if CONDITION (
=== code end ===
I'm using that construct quite often at work...
More information about the fpc-pascal