by BeeJay >> Thu, 18 May 2006 3:57:56 GMT
Ok, clearly you can't use <pre> on this Newsgroup to keep your formatting. The code lost all my careful formatting and became quite hard to read with a Newsreader - although via the Web it's a little better formatted. Sorry about that.
I'll try again with spaces and breaking up the parameters onto multiple lines and see if the code comes out more readable this time.
_________________________________________________________
constants
NothingOnCommandLine = "Nothing Found On Command Line";
vars
additionalParam : String ;
begin
additionalParam := app.getProfileString(
app.getIniFileName,
"JadeCommandLine",
"MyAdditionalParam",
NothingOnCommandLine
);
if additionalParam = NothingOnCommandLine then
app.debugLog( "Missing MyAdditionalParam command line param" );
terminate;
endif;
end;
_________________________________________________________