Well, I only wonder why we can assign @MyIdent to @OrderID right away after declaring it, maybe I will assume that @OrderID passed out from sproc to execute, when run this line:
@OrderID = @MyIdent OUTPUT
SQL Server will assign value from @OrderID to @MyIdent...