Wiki

Changes between Version 1 and Version 2 of Print

Show
Ignore:
Timestamp:
11/22/10 20:14:15 (14 years ago)
Author:
todd.a
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Print

    v1 v2  
    44e.g.  
    55{{{ 
     6#!cobra 
    67print 'My name is Cobra.' 
    78}}} 
     
    1314token after the expression list. ( There is no ',' before this token) 
    1415{{{ 
     16#!cobra 
    1517print 'No newline' stop  
    1618}}} 
     
    1921single space. 
    2022{{{ 
     23#!cobra 
    2124print 'No moa', 'No moa', 'in all aotearoa'  
    2225# emits 'No moa No moa in all aotearoa\n'   
     
    3538== Grammar == 
    3639{{{ 
     40#!cobra 
    3741print 
    3842 
     
    4852== Examples == 
    4953{{{ 
     54#!cobra 
    5055print   # emit a blank line 
    5156print 'Hello World' 
     
    5358 
    5459{{{ 
     60#!cobra 
    5561print 'Prompt:' stop 
    5662input = Console.readline 
     
    6268 
    6369{{{ 
     70#!cobra 
    6471print "one", '2', 'free'  
    6572# emits 'one 2 free\n' 
     
    7178 
    7279{{{ 
     80#!cobra 
    7381 
    7482# print to std error