# Understanding-the-GpFindMovedPoint-Function

### Understanding-the-GpFindMovedPoint-Function

Understanding the Gp:FindMovedPoint Function

# Understanding the Gp:FindMovedPoint Function

The gp:FindMovedPoint function contains some very powerful LISP expressions dealing with list manipulation.
Essentially, what this function does is compare the list of the current polyline points
(after the user dragged one to a new location) to the previous points, and return
the keyed list (the 13 <xvalue <yvalue) for the moved point.

The best way to figure out how this function works is to step through the code and
watch the values that it manipulates. Set a breakpoint right at the first expression
(setq result . . .) and watch the following variables while you step through the function:

• KeyListToLookFor
• PresentPoints
• KeyedList
• Result
• KeyListStatus
• MissingKey
• MovedPoint

The mapcar and lambda functions will be examined in the following section. For now, however, follow the
comments in the code to see if you can understand what is happening within the functions.

t we are not going to look at specific functions … … instead we will look at the general idea of a function. Names. First, it is useful to give a function a name.20 Oct 2009understanding of function as well as procedural fluency. The new and  …functions work in several languages. … It's a great way to understand how languages work. And it helps reduce …function Introduce function notation Explain the relationship between y and f(x) The lesson features a slide show presentation with cartoons …

#### درباره نویسنده

بنده سیامک دوستداری فارغ التحصیل رشته مکانیک سنگ از دانشگاه صنعتی اصفهان هستم، و در این وبسایت آموزش های مربوط به نحوه برنامه نویسی در اتوکد و هچنین آموزش تصویری دستورات اتوکد را قرار خواهم داد.

تلفن همراه: ۰۹۰۰۱۲۳۴۴۴۴

ایمیل: s.doostdari@gmail.com