11.07.2015 Views

Upgrade Guide - Prolifics

Upgrade Guide - Prolifics

Upgrade Guide - Prolifics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ptr = 0;}as_ptr->item = item_to;if (mb_putitem (as_ptr)){if (ptr){sm_ffree (as_ptr->text);as_ptr->text = ptr;}return -2;}}if (ptr){sm_ffree (as_ptr->text);as_ptr->text = ptr;}return as_ptr->number;}static int SMLOCALmb_delitem (as_ptr)altsc_t *as_ptr;{unsigned char *ptr;unsigned char valids[AS_VAL];attrib_t attr;unsigned int item_to;unsigned int item_from;item_to = as_ptr->item;if (as_ptr->number > (int)(as_ptr->luid - item_to + 1)){as_ptr->number = (int)(as_ptr->luid - item_to + 1);}item_from = item_to + (unsigned int)as_ptr->number;ptr = as_ptr->text;attr = as_ptr->attr;memcpy ((VOIDPTR)valids, (VOIDPTR)as_ptr->valids, AS_VAL);as_ptr->text = (unsigned char *)sm_fmalloc (as_ptr->len);if (!as_ptr->text){return -3;}for (; item_to shs; item_to++){if (item_from shs){as_ptr->item = item_from;if (mb_getitem (as_ptr))A-14 JAM Documentation: Alternative Scrolling

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

Saved successfully!

Ooh no, something went wrong!