Skip to content

_appendval

bergsma edited this page Sep 26, 2014 · 3 revisions

#appendval

Syntax

status = appendval ( arg1 ) ;

Arguments

  1. list arg1

Return Value

list status
  • 1 :

The STATUS variable is set to $ACKNOWLEDGE

list status
  • 1 :

The STATUS variable is set to $ACKNOWLEDGE

Exceptions

  • %ARGUMENT: Invalid arguments. Usage: status = appendval ( arg1 ) ;

Description

  • None

Examples

list a = { "This is a value" } ;
list b = { "This is another value" } ;

list x = {} ;

append ( x, a ) ;
appendval ( x, b ) ;

describe x ;

if ( !exists a ) puts "Variable 'a' is now inside of x" ;
if ( exists ( b ) ) puts "Variable 'b' still exists!"  ;
describe b ;

Related Links

None

Clone this wiki locally