Help save net neutrality! Learn more.
Close

#62 2.29 missing verb

3.2.0
closed
Reference (110)
5
2012-08-14
2007-12-02
Hagrinas
No

"If there is no corresponding argument, [the] name [is] assigned to the value of expr."

Discussion

  • TheDavidFactor

    TheDavidFactor - 2007-12-12

    Logged In: YES
    user_id=1011368
    Originator: NO

    I couldn't find "2.29" Can you include the keyword or method that this sentence is in?

     
  • Lee Peedin

    Lee Peedin - 2007-12-12

    Logged In: YES
    user_id=1223125
    Originator: NO

    Somehow I got logged off of SourceForge and can't log back in.

    Section 2.29 refers to the USE keyword (PDF)

     
  • Hagrinas

    Hagrinas - 2007-12-12

    Logged In: YES
    user_id=1796550
    Originator: YES

    After rereading it, it appears it is trying to say "If there is no corresponding argument, the value of expr is assigned to name."

     
  • Mark Miesfeld

    Mark Miesfeld - 2008-05-01

    Logged In: YES
    user_id=191588
    Originator: NO

    Currently the doc reads:

    USE ARG retrieves the argument objects provided in a program, routine, function, or method and assigns them to variables.

    Each name must be a valid variable name. The names are assigned from left to right. For each name you specify, the language processor assigns it a corresponding argument from the program, routine, function, or method call. If there is no corresponding argument, name assigned to the value of expr. If expr is not specified for the given argument, the variable name is dropped.

    I believe the best fix is:

    If there is no corresponding argument, name is assigned the value of expr.

     
  • Mark Miesfeld

    Mark Miesfeld - 2008-05-01

    Logged In: YES
    user_id=191588
    Originator: NO

    Committed revision 2471.

    Thanks again Hagrinas

     


Anonymous

Cancel  Add attachments