Changeset 2408


Ignore:
Timestamp:
Apr 25, 2011, 6:05:21 PM (14 years ago)
Author:
Andreas Schnellbacher
Message:
  • Added DropAVar proc.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/netlabs/macros/stdctrl.e

    r2375 r2408  
    55* Copyright (c) Netlabs EPM Distribution Project 2002
    66*
    7 * $Id: stdctrl.e,v 1.51 2009-06-23 00:53:58 aschn Exp $
     7* $Id: stdctrl.e,v 1.52 2011-04-25 16:05:21 aschn Exp $
    88*
    99* ===========================================================================
     
    13101310   parse value args with varname varvalue
    13111311   call DelAVar( varname, varvalue)
     1312
     1313; ---------------------------------------------------------------------------
     1314; Remove varname from array
     1315defproc DropAVar( varname)
     1316   universal EPM_utility_array_ID
     1317   varname = lowcase( varname)
     1318   do_array 4, EPM_utility_array_ID, varname  -- delete entry
     1319   return
     1320
     1321defc DropAVar
     1322   varname = strip( arg(1))
     1323   call DropAVar( varname)
    13121324
    13131325; ---------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.