Changeset 40286 in project


Ignore:
Timestamp:
07/18/21 17:59:34 (11 days ago)
Author:
Mario Domenech Goulart
Message:

manual/Using the interpreter: fix examples by importing (chicken port)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/man/5/Using the interpreter

    r39542 r40286  
    1717 % cat foo
    1818 #! /usr/local/bin/csi -script
    19  (import (chicken process-context))
     19 (import (chicken port)
     20         (chicken process-context))
    2021 (print (eval (with-input-from-string
    2122                 (car (command-line-arguments))
     
    3637 C:>type foo.bat
    3738 @;csibatch %0 %1 %2 %3 %4 %5 %6 %7 %8 %9
    38  (import (chicken process-context))
     39 (import (chicken port)
     40         (chicken process-context))
    3941 (print (eval (with-input-from-string
    4042                 (car (command-line-arguments))
Note: See TracChangeset for help on using the changeset viewer.