Tuesday, 11 October 2011

CopyingReferencing (Difference)

{\rtf1\ansi\ansicpg1252\deff0\deflang16393{\fonttbl{\f0\froman\fprq2\fcharset0 Times New Roman;}{\f1\fnil\fcharset0 Calibri;}}
{\*\generator Msftedit 5.41.21.2509;}\viewkind4\uc1\pard\lang1033\f0\fs22\par
\pard\li1080 When you copy an object, you create a new and separate instance of the object, and any objects owned by the object being copied are always copied automatically.\par
Referencing items indirectly allows you to write more generic, reusable code. By using variables in place of actual item names, you can write a subprogram that can operate on any item whose name has been assigned to the indicated variable. \par
Also, using indirect reference is mandatory when you refer to the value of a form bind variable (item, parameter, global variable) in PL/SQL that you write in a library or a menu module. Because libraries, menus, and forms are separate application modules, you cannot refer directly to the value of a form item in a menu-item command or library procedure. You can reference items indirectly with the NAME_IN and COPY built-in subprograms.\par
\pard\sa200\sl276\slmult1\lang9\f1\par
}

No comments:

Post a Comment