<DE2> Import Cursor code from Mod 1