Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
New read() function: read("<<EOF") reads multi-line until "EOF" is met in a single line!
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Limin Fu  
View profile  
 More options Jun 6 2005, 7:31 am
From: Limin Fu <fu.limin....@gmail.com>
Date: Mon, 6 Jun 2005 13:31:15 +0200
Local: Mon, Jun 6 2005 7:31 am
Subject: [Taoscript-lang] New read() function: read("<<EOF") reads multi-line until "EOF" is met in a single line!

Hi!

To solve the problem pointed out be Jupp, I have enable read() function to
read multi-lines until a user-define "EOF" is met in a _single_ line. The
syntax is like the following:

# from standard input:

string = read( "<<MyEOF" ); # the user-defined "EOF" should be prefixed by
"<<"
read( string, "<<MyEOF" ); # the order of the parameters is not important,
# but should not be more than 2.
# from files:

string = file.read( "<<MyEOF" );
file.read( string, "<<MyEOF" );

The new binaries for linux can be downloaded from cvs in SF:
http://cvs.sourceforge.net/viewcvs.py/taoscript/TaoScript/bin/
(pay attention to the time tag of the files)

Cheers,

Limin


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google