Back to index

plt-scheme  4.2.1
helloprint.c File Reference
#include "escheme.h"

Go to the source code of this file.


Scheme_Objectscheme_reload (Scheme_Env *env)
Scheme_Objectscheme_initialize (Scheme_Env *env)
Scheme_Objectscheme_module_name ()

Function Documentation

Definition at line 25 of file helloprint.c.

  /* First load is same as every load: */
  return scheme_reload(env);

Here is the call graph for this function:

Definition at line 31 of file helloprint.c.

  /* This extension doesn't define a module: */
  return scheme_false;

Definition at line 6 of file helloprint.c.

  /* Make the string: */
  Scheme_Object *hw;
  hw = scheme_make_utf8_string("Hello, World!\n");

  /* Display it: */
  scheme_display(hw, scheme_get_param(scheme_current_config(), 

  /* Why not just
        printf("Hello, World!\n");
     ? That would write to stdout, which may or may not be the same as
     the current output port. But sometimes printf() is what you
     want. */

  return scheme_void;