private byte getParameter(int index) {
    //   
    byte buff[] = {0,0};
    try {
        //      "SNAKE"
        RecordStore recordStore = RecordStore.openRecordStore
                                  ("SNAKE", true);
        //    
        RecordEnumeration re = recordStore.enumerateRecords
                               (null, null, false);
        //    
        if (re.numRecords()!=0) {
            //  id     
            buff = recordStore.getRecord(re.nextRecordId());
        }
    } catch(RecordStoreException rse) {
    }
    //  
    return buff[index];
}
