FreeBASIC  0.91.0
sys_shell.c
Go to the documentation of this file.
1 /* SHELL command */
2 
3 #include "fb.h"
4 
5 FBCALL int fb_Shell( FBSTRING *program )
6 {
7  int errcode = -1;
8 
9  if( program && program->data ) {
10  errcode = fb_hShell( program->data );
11  }
12 
13  /* del if temp */
14  fb_hStrDelTemp( program );
15 
16  return errcode;
17 }