Changeset 8614 in project


Ignore:
Timestamp:
02/21/08 20:10:38 (12 years ago)
Author:
Mario Domenech Goulart
Message:

Syntax fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/chicken-for-python-programmers

    r8612 r8614  
    6969<enscript highlight=scheme>
    7070(string-intersperse '("1" "2") "")
    71 </enscript
     71</enscript>
    7272
    7373=== Spliting a string
     
    7676<enscript highlight=python>
    7777"this is a string".split()
    78 </enscript
     78</enscript>
    7979
    8080==== Chicken
    8181<enscript highlight=scheme>
    8282(string-split "this is a string")
    83 </enscript
     83</enscript>
    8484
    8585
     
    9090<enscript highlight=python>
    9191open("my-file.txt").read()
    92 </enscript
     92</enscript>
    9393
    9494==== Chicken
    9595<enscript highlight=scheme>
    9696(read-all "my-file.txt")
    97 </enscript
     97</enscript>
    9898
    9999{{read-all}} is defined in [[Unit utils]].
Note: See TracChangeset for help on using the changeset viewer.