Generated from ./src/sl_int.cpp with ROBODoc v4.0.2 on Sun May 25 16:39:22 2003

Anvil/sl_int

NAME

  S-Lang script interface to Anvil

USAGE

  #include "sl_int.h"
  if (-1 == SLadd_intrin_fun_table (Acc_Intrinsics, NULL)){
      exit (EXIT_FAILURE);
  }   

AUTHOR

  Joseph M. Robertson, jmr, jmrobert5@home.com

COPYRIGHT

 (c) 2001 by Joseph M. Robertson

CREATION DATE

  3/18/01

HISTORY

  6/21/01  added acc_get/set_type functions.

SEE ALSO

  The file sl_main.cpp for an example of how to embed S-Lang
  into another application and include Anvil functions.

Anvil/sl_int

NAME

  acc_new()

SYNOPSIS

  variable response;
  response = acc_new();

PURPOSE

  Use to create a new account space in slang.
  sl_int functions 'work' on the currently set account.

RETURN VALUE

  The number of accounts in the current instance.

Anvil/sl_int

NAME

  acc_set

SYNOPSIS

  variable response;
  response = acc_set(1);

PURPOSE

  Use to set the working account space in slang.
  sl_int functions 'work' on the currently set account.

RETURN VALUE

  The number of the account in the current instance.
  Or zero if no accounts exist.

Anvil/sl_int

NAME

  acc_close

SYNOPSIS

  variable response;
  response = acc_close(1);

PURPOSE

  Use to close and remove the working account space in slang.
  sl_int functions 'work' on the currently set account.

RETURN VALUE

  The index of the account closed OR
  -1 if the account index is not found OR
  -2 if the account list was empty to start.