Changeset 37999 in project


Ignore:
Timestamp:
12/03/19 11:22:16 (11 days ago)
Author:
sjamaan
Message:

Update examples for command-line-arguments with the correct imports to use

File:
1 edited

Legend:

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

    r36926 r37999  
    1717 % cat foo
    1818 #! /usr/local/bin/csi -script
     19 (import (chicken process-context))
    1920 (print (eval (with-input-from-string
    2021                 (car (command-line-arguments))
     
    3536 C:>type foo.bat
    3637 @;csibatch %0 %1 %2 %3 %4 %5 %6 %7 %8 %9
     38 (import (chicken process-context))
    3739 (print (eval (with-input-from-string
    3840                 (car (command-line-arguments))
     
    7375exec csi -s "$0" "$@"
    7476|#
     77(import (chicken process-context))
    7578
    7679(define (main args) ...)
Note: See TracChangeset for help on using the changeset viewer.