!system and !execute can store the exit code in a define
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6461 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
3337a6d606
commit
8d7dd2cf9f
7 changed files with 37 additions and 23 deletions
|
@ -332,6 +332,12 @@ int DefineList::add(const TCHAR *name, const TCHAR *value/*=_T("")*/)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void DefineList::set(const TCHAR *name, const TCHAR *value/*=_T("")*/)
|
||||
{
|
||||
del(name);
|
||||
add(name, value);
|
||||
}
|
||||
|
||||
TCHAR *DefineList::find(const TCHAR *name)
|
||||
{
|
||||
int v=SortedStringList<struct define>::find(name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue