12.07.2015 Views

JYACC FORMAKER C Programmer's Guide Contents 1 ... - Prolifics

JYACC FORMAKER C Programmer's Guide Contents 1 ... - Prolifics

JYACC FORMAKER C Programmer's Guide Contents 1 ... - Prolifics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

NAMESYNOPSISsm_1unprotect - unprotect a field#include "smdefs.h"int sm_1unprotect (field_number, mask)int field_number;int mask;DESCRIPTIONsm_1unprotect clears protection bits to unprotect the specified field from somecombination of data entry, tabbing into, clearing, or validation.Mnemonics for the mask are defined in YY, and are listed below. Multiple setscan be done by oring the mnemonics.MnemonicEPROTECTTPROTECTCPROTECTVPROTECTMeaningprotect from data entryprotect from tabbing into (or fromentering via any other key)protect from clearingprotect from validation routinessm_1protect sets protection bits. sm_protect and related functions set allprotect bits. sm_aprotect sets protection bits for all the fields in an array.RETURNS-1 if the field is not found, 0 otherwise.VARIANTS AND RELATED FUNCTIONSEXAMPLEsm_n_1unprotect (field_name, mask);sm_e_1unprotect (field_name, element, mask);sm_1protect (field_number);sm_aunprotect (field_number);sm_unprotect (field_number);#include "smdefs.h"/* Make field number 5 available for data entry and clearing. */sm_1unprotect (5, EPROTECT | CPROTECT);

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!