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

Create successful ePaper yourself

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

NAMESYNOPSISsm_zm_options - set zooming options#include "smdefs.h"int sm_zm_options (flag)int flag;DESCRIPTIONControls the behavior of the zooming function, normally bound to the ZOOM key.Flag is a mnemonic defined in smdefs.h , or a pair of mnemonics ored together,that select the operations desired.Zooming makes more of scrolling and shifting fields visible than is ordinarilythe case. It expands the current field either horizontally or vertically, as faras the physical display will allow, and places it in a window atop the currentlydisplayed screen. If a field is both scrolling and shifting, zooming willordinarily take place in two steps: scrolling expansion will be done first, andshifting expansion next. If a scrolling field has parallel scrolls, they will bedisplayed too.The following mnemonics control scroll expansion:ZM_NOSCROLLZM_SCROLLZM_PARALLELZM_1STEPScrolling arrays will not be expanded; the processgoes immediately to shift expansion.Scrolling arrays will be expanded to display as manyitems as possible.Scrolling arrays will be expanded to display as manyitems as possible, along with their parallel arrays.Scrolling arrays will be expanded to display as manyitems as possible; shifting arrays will be expanded atthe same time. This option overides the shift modeflag.The following mnemonics control array/scrolling expansion when shifting fieldsare being expanded in step two:ZM_NOSHIFTZM_SCREENZM_ELEMENTZM_ITEMShifting fields will not be expanded; they will remainshifting, and no second step takes place.Shifting arrays will have as many on-screen elementsas the previous form had. This will be the originalform ONLY if ZM_NOSCROLL is used; otherwise, ZM_SCREENmeans the scroll-expansion screen, or show as manyitems as possible.Show 1 element on-screen, but allow scrolling (viaarrow keys) to the rest of the array. If a scroll modewas selected, the shift window can be zoomed again,showing all elements.Show only 1 element. There is no way of seeing moreitems in the "ITEM" scroll window.Here are some useful combinations whose semantics are perhaps not crystal clearfrom the above descriptions:ZM_PARALLEL|ZM_SCREENZM_PARALLEL|ZM_ELEMENTThis is the default, and zooms in two steps. Thefirst step will expand the scrolling arrays; thesecond step will add expansion of shiftingfields, but lose the parallel arrays.This will zoom in three steps, adding asingle-line shift expansion as step two. This

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

Saved successfully!

Ooh no, something went wrong!