Difference between revisions of "Buffers Tutorial"

From CCIL
Jump to: navigation, search
(Created page with "== The application context == <pre> # CCIL Buffers tutorial #------------------------------------- context.title=Counters tutorial context.description=Introducing the very ba...")
(No difference)

Revision as of 11:28, 18 May 2017

The application context

# CCIL Buffers tutorial
#-------------------------------------

context.title=Counters tutorial
context.description=Introducing the very basics of CCIL - buffers
context.author=Atanas Ilchev
context.comment=
context.thumbnail = media/logo.png

context.step1.pipeline = READ,SPLIT

# step 1    --------------------------

READ = readfile
READ.file = hello.txt
READ.output = msg

SPLIT = split-basic
SPLIT.mode = split
SPLIT.input = msg
SPLIT.output = lines	


# convert the String[] to buffer

# append text to each element

# step 4	--------------------------

APPEND = append-text
APPEND.text = (step 4)
APPEND.input = msg
APPEND.output = msg

WRITE = writefile
WRITE.input = msg
WRITE.file = * hello_from_step4.txt
WRITE.append = true
WRITE.separator = {NL}
WRITE.encoding = utf-8