5808 |
* @param slot - script slot index of the variable to be retrieved |
* @param slot - script slot index of the variable to be retrieved |
5809 |
* @param variable - name of the 'patch' variable in that script |
* @param variable - name of the 'patch' variable in that script |
5810 |
*/ |
*/ |
5811 |
String Instrument::GetScriptPatchVariable(int slot, String variable) { |
String Instrument::GetScriptPatchVariable(size_t slot, String variable) { |
5812 |
std::map<String,String> vars = GetScriptPatchVariables(slot); |
std::map<String,String> vars = GetScriptPatchVariables(slot); |
5813 |
return (vars.count(variable)) ? vars.find(variable)->second : ""; |
return (vars.count(variable)) ? vars.find(variable)->second : ""; |
5814 |
} |
} |