From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- noao/onedspec/identify/autoid/aidget.x | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 noao/onedspec/identify/autoid/aidget.x (limited to 'noao/onedspec/identify/autoid/aidget.x') diff --git a/noao/onedspec/identify/autoid/aidget.x b/noao/onedspec/identify/autoid/aidget.x new file mode 100644 index 00000000..ba3c9342 --- /dev/null +++ b/noao/onedspec/identify/autoid/aidget.x @@ -0,0 +1,21 @@ +include "autoid.h" + +define AIDGET "|best|" + + +# AID_GETR -- Get AID parameters by name. + +real procedure aid_getr (aid, param) + +pointer aid #I AID object +char param[ARB] #I Parameter name + +char temp[10] +int strdic() + +begin + switch (strdic (param, temp, 10, AIDGET)) { + case 1: + return (AID_BEST(aid)) + } +end -- cgit