[progress Communities] [progress Openedge Abl] Forum Post: Re: What's The Use Of The Assign...

  • Thread starter Thread starter AdrianJones
  • Start date Start date
Status
Not open for further replies.
A

AdrianJones

Guest
i was told many moons ago for "undo" variables, each assignment makes a separate write to local-bi file for undo-ability. so if you... assign x = x + 1. assign y = y + 1. assign z = z + 1. you write three times to lbi. however... assign x = x + 1 y = y + 1 z = z + 1. would only write once to lbi. when it writes to the lbi it writes all the undo-able stuff on each change so if you have a lot of vars/field it could mount up. these days where most stuff is declared no-undo and machines are alot faster it may not matter so much. i still tend to group them though.

Continue reading...
 
Status
Not open for further replies.
Back
Top