INT %GetSelfInstanceId( BOOL in bPhysical := @FALSE ) |
| bPhysical | @TRUE - the function returns the current picture instance number. @FALSE - the function returns the instance number that was required on opening the picture. |
Description
If the function is called in the context of a Unit event, it returns an event not a Unit instance.