Notations Assignment Help

Assignment Help: >> Functions of Notations - Notations

Notations:

When calling a subprogram, the actual parameters are written using either positional or named notation. That is, the relation among an actual and formal parameter can be denoted through position or name. For instance, providing the declarations

Example

DECLARE

acct INTEGER;

amt      REAL;

PROCEDURE credit (acctno INTEGER, amount REAL) IS ...

In four logically equivalent ways you could call the procedure credit:

BEGIN

credit(acct, amt);         -- positional notation

credit(amount => amt, acctno => acct);         -- named notation

credit(acctno => acct, amount => amt);         -- named notation

credit(acct, amount => amt);  -- mixed notation

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd