logic
access
count
Description
Count parts of a compound part.
Format
access/count
Example
<node name="count" channel="inline" format="access/count" model=""> <node name="count" channel="inline" format="text/cybol-path" model=".count"/> <node name="part" channel="inline" format="text/cybol-path" model=".addition_application"/> <node name="selection" channel="inline" format="text/plain" model="subsequence"/> <node name="filter" channel="inline" format="text/plain" model="summand"/> </node>
Properties
get-channel
Description
Get a part's channel.
Format
access/get-channel
Example
<node name="get_details" channel="inline" format="access/get-channel" model=""> <node name="element" channel="inline" format="text/cybol-path" model=".app.details"/> <node name="part" channel="inline" format="text/cybol-path" model=".app.node"/> </node>
Properties
get-encoding
Description
Get a part's encoding.
Format
access/get-encoding
Example
<node name="get_details" channel="inline" format="access/get-encoding" model=""> <node name="element" channel="inline" format="text/cybol-path" model=".app.details"/> <node name="part" channel="inline" format="text/cybol-path" model=".app.node"/> </node>
Properties
get-format
Description
Get a part's format.
Format
access/get-format
Example
<node name="get_details" channel="inline" format="access/get-format" model=""> <node name="element" channel="inline" format="text/cybol-path" model=".app.details"/> <node name="part" channel="inline" format="text/cybol-path" model=".app.node"/> </node>
Properties
get-index
Description
Get an index.
Format
access/get-index
Example
Properties
get-language
Description
Get a part's language.
Format
access/get-language
Example
<node name="get_details" channel="inline" format="access/get-language" model=""> <node name="element" channel="inline" format="text/cybol-path" model=".app.details"/> <node name="part" channel="inline" format="text/cybol-path" model=".app.node"/> </node>
Properties
get-name
Description
Get a part's name.
Format
access/get-name
Example
<node name="copy_name_of_part_1_into_model_of_part_2" channel="inline" format="access/get-name" model=""> <node name="element" channel="inline" format="text/cybol-path" model=".part_2"/> <node name="part" channel="inline" format="text/cybol-path" model=".part_1"/> </node>
Properties
get-type
Description
Get a part's type.
Format
access/get-type
Example
<node name="copy_type_of_part_1_into_model_of_part_2" channel="inline" format="access/get-type" model=""> <node name="element" channel="inline" format="text/cybol-path" model=".part_2"/> <node name="part" channel="inline" format="text/cybol-path" model=".part_1"/> </node>
Properties
indicate-empty
Description
Indicates if data are empty, i.e. the count is zero. The operation is ONLY usable with values of format
Format
access/indicate-empty
Example
<node name="test_empty_number_empty" channel="inline" format="access/indicate-empty" model=""> <node name="result" channel="inline" format="text/cybol-path" model=".app.flag"/> <node name="part" channel="inline" format="text/cybol-path" model=".app.empty_number"/> </node>
Properties
indicate-exists
Description
Indicates if data exist, i.e. the count is greater than zero. The operation is ONLY usable with values of format
Format
access/indicate-exists
Example
<node name="test_empty_number_exists" channel="inline" format="access/indicate-exists" model=""> <node name="result" channel="inline" format="text/cybol-path" model=".app.flag"/> <node name="part" channel="inline" format="text/cybol-path" model=".app.empty_number"/> </node>
Properties
calculate
absolute
Description
Determine the absolute value of a number.
Format
calculate/absolute
Example
<node name="absolute" channel="inline" format="calculate/absolute" model=""> <node name="result" channel="inline" format="text/cybol-path" model=".result"/> <node name="operand" channel="inline" format="number/integer" model="1,2,3"/> <node name="type" channel="inline" format="meta/type" model="number/integer"/> </node>
Properties
add
Description
Adds two numbers of the given format.
Format
calculate/add
Example
<node name="add" channel="inline" format="calculate/add" model=""> <node name="result" channel="inline" format="text/cybol-path" model=".result"/> <node name="operand" channel="inline" format="number/integer" model="1,2,"/> <node name="type" channel="inline" format="meta/type" model="number/integer"/> </node>
Properties
divide
Description
Divides two numbers of the given format
Format
calculate/divide
Example
<node name="divide" channel="inline" format="calculate/divide" model=""> <node name="result" channel="inline" format="text/cybol-path" model=".result"/> <node name="operand" channel="inline" format="number/integer" model="1,2,3"/> <node name="type" channel="inline" format="meta/type" model="number/integer"/> </node>
Properties
modulo
Description
Calculate the module of a given value.
Format
calculate/modulo
Example
<node name="modulo" channel="inline" format="calculate/modulo" model=""> <node name="result" channel="inline" format="text/cybol-path" model=".result"/> <node name="operand" channel="inline" format="number/integer" model="2"/> <node name="type" channel="inline" format="meta/type" model="number/integer"/> </node>
Properties
multiply
Description
Multiplies two numbers of the given format.
Format
calculate/multiply
Example
<node name="multiply" channel="inline" format="calculate/multiply" model=""> <node name="result" channel="inline" format="text/cybol-path" model=".result"/> <node name="operand" channel="inline" format="number/integer" model="1,2,3"/> <node name="type" channel="inline" format="meta/type" model="number/integer"/> </node>
Properties
negate
Description
Negates a given number.
Format
calculate/negate
Example
<node name="negate" channel="inline" format="calculate/negate" model=""> <node name="result" channel="inline" format="text/cybol-path" model=".result"/> <node name="operand" channel="inline" format="number/integer" model="1,2,3"/> <node name="type" channel="inline" format="meta/type" model="number/integer"/> </node>
Properties
reduce
Description
Not implemented yet. !REVIEW! Can be deleted?
Format
calculate/reduce
Example
Properties
subtract
Description
Subtracts two numbers of the given format.
Format
calculate/subtract
Example
<node name="subtract" channel="inline" format="calculate/subtract" model=""> <node name="result" channel="inline" format="text/cybol-path" model=".result"/> <node name="operand" channel="inline" format="number/integer" model="1,2,3"/> <node name="type" channel="inline" format="meta/type" model="number/integer"/> </node>
Properties
cast
byte
Description
Casts a value from one type to another.
Format
cast/byte
Example
<node name="cast_byte" channel="inline" format="cast/byte" model=""> <node name="destination" channel="inline" format="text/cybol-path" model=".part_2"/> <node name="source" channel="inline" format="number/byte" model="123"/> <node name="type" channel="inline" format="meta/type" model="number/integer"/> </node>
Properties
character
Description
Casts a value from one type to another.
Format
cast/character
Example
<node name="cast_character" channel="inline" format="cast/character" model=""> <node name="destination" channel="inline" format="text/cybol-path" model=".part_2"/> <node name="source" channel="inline" format="text/cybol-path" model=".part_1"/> <node name="type" channel="inline" format="meta/type" model="text/plain"/> </node>
Properties
double
Description
Casts a value from one type to another.
Format
cast/double
Example
<node name="cast_double" channel="inline" format="cast/double" model=""> <node name="destination" channel="inline" format="text/cybol-path" model=".part_2"/> <node name="source" channel="inline" format="text/cybol-path" model=".part_1"/> <node name="type" channel="inline" format="meta/type" model="number/integer"/> </node>
Properties
integer
Description
Casts a value from one type to another.
Format
cast/integer
Example
<node name="cast_double" channel="inline" format="cast/integer" model=""> <node name="destination" channel="inline" format="text/cybol-path" model=".part_2"/> <node name="source" channel="inline" format="number/byte" model="12"/> <node name="type" channel="inline" format="meta/type" model="number/byte"/> </node>
Properties
command
archive
Description
Archives the given data into a file.
Format
command/archive
Example
<node name="archive" channel="inline" format="command/archive" model=""> <node name="create" channel="inline" format="logicvalue/boolean" model="true"/> <node name="update" channel="inline" format="logicvalue/boolean" model="false"/> <node name="bzip2" channel="inline" format="logicvalue/boolean" model="false"/> </node>
Properties
change-directory
Description
Changes the directory.
Format
command/change-directory
Example
<node name="change_directory" channel="inline" format="command/change-directory" model=""> <node name="directory" channel="inline" format="text/plain" model=".."/> </node>
Properties
change-permission
Description
Changes the permission of a file or directory.
Format
command/change-permission
Example
<node name="chmod_file" channel="inline" format="command/change-permission" model=""> <node name="path" channel="inline" format="text/plain" model="./shell_command_change_permission/example.txt"/> <node name="user" channel="inline" format="text/plain" model="rwx"/> <node name="group" channel="inline" format="text/plain" model="rwx"/> <node name="other" channel="inline" format="text/plain" model="rw"/> <node name="recursive" channel="inline" format="logicvalue/boolean" model="true"/> <node name="verbose" channel="inline" format="logicvalue/boolean" model="false"/> <node name="silent" channel="inline" format="logicvalue/boolean" model="false"/> </node>
Properties
clear
Description
clear the screen
Format
command/clear
Example
<node name="clear" channel="inline" format="command/clear" model=""> </node>
Properties
copy-file
Description
Copies the file resource to a destination.
Format
command/copy
Example
Properties
create-folder
Description
Creates a folder.
Format
command/create-folder
Example
<node name="create_folder" channel="inline" format="command/create-folder" model=""> <node name="path" channel="inline" format="text/plain" model="./shell_command_create_folder/i_am_a_created_folder"/> </node>
Properties
diff
Description
Compares two files.
Format
command/diff
Example
<node name="diff" channel="inline" format="command/diff" model=""> <node name="file1" channel="inline" format="text/plain" model="shell_command_diff\diff1.txt"/> <node name="file2" channel="inline" format="text/plain" model="shell_command_diff\diff2.txt"/> </node>
Properties
echo
Description
Echos the message to standard output.
Format
command/echo
Example
<node name="echo" channel="inline" format="command/echo" model=""> <node name="message" channel="inline" format="text/plain" model="hello, this is an echo over standard output"/> </node>
Properties
grep
Description
Searches for pattern in file.
Format
command/grep
Example
<node name="grep" channel="inline" format="command/grep" model=""> <node name="pattern" channel="inline" format="text/plain" model="test"/> <node name="file" channel="inline" format="text/plain" model="shell_command_grep/grep.txt"/> </node>
Properties
move
Description
Moving directories from a path to another.
Format
command/move
Example
<node name="move_file" channel="inline" format="command/move" model=""> <node name="source" channel="inline" format="text/plain" model="./shell_command_move_file/original.txt"/> <node name="destination" channel="inline" format="text/plain" model="./shell_command_move_file/moved_and_please_do_not_commit_me.txt"/> <node name="force" channel="inline" format="logicvalue/boolean" model="false"/> <node name="interactive" channel="inline" format="logicvalue/boolean" model="true"/> <node name="verbal" channel="inline" format="logicvalue/boolean" model="true"/> </node>
Properties
ping
Description
Pings a given host.
Format
command/ping
Example
<node name="ping" channel="inline" format="command/ping" model=""> <node name="host" channel="inline" format="text/plain" model="www.google.com"/> <node name="count" channel="inline" format="text/plain" model="5"/> <node name="interface" channel="inline" format="text/plain" model="eth0"/> </node>
Properties
remove
Description
Moving directories from one path to another..
Format
command/remove
Example
<node name="remove_file" channel="inline" format="command/remove" model=""> <node name="path" channel="inline" format="text/plain" model="./shell_command_remove_file/do_not_commit_if_this_is_deleted.txt"/> <node name="force" channel="inline" format="logicvalue/boolean" model="true"/> <node name="interactive" channel="inline" format="logicvalue/boolean" model="true"/> <node name="recursive" channel="inline" format="logicvalue/boolean" model="false"/> <node name="verbal" channel="inline" format="logicvalue/boolean" model="true"/> </node>
Properties
tape-archiver
Description
Moving files and directories from a path to another..
Format
command/tape-archiver
Example
<!-- pack --> <node name="pack_text_file_with_tape_archiver" channel="inline" format="command/tape-archiver" model=""> <node name="source" channel="inline" format="text/plain" model="./shell_command_tape_archiver_pack/i_should_be_packed_soon.txt"/> <node name="destination" channel="inline" format="text/plain" model="./shell_command_tape_archiver_pack/i_am_packed_now.tar"/> <node name="force" channel="inline" format="logicvalue/boolean" model="false"/> <node name="gzip" channel="inline" format="logicvalue/boolean" model="false"/> <node name="unpack" channel="inline" format="logicvalue/boolean" model="false"/> <node name="recursive" channel="inline" format="logicvalue/boolean" model="false"/> <node name="verbal" channel="inline" format="logicvalue/boolean" model="true"/> </node> <!-- unpack --> <node name="unpack_tar_with_text_file" channel="inline" format="command/tape-archiver" model=""> <node name="source" channel="inline" format="text/plain" model="./shell_command_tape_archiver_unpack/package.tar"/> <node name="destination" channel="inline" format="text/plain" model="./shell_command_tape_archiver_unpack"/> <node name="force" channel="inline" format="logicvalue/boolean" model="false"/> <node name="gzip" channel="inline" format="logicvalue/boolean" model="false"/> <node name="unpack" channel="inline" format="logicvalue/boolean" model="true"/> <node name="recursive" channel="inline" format="logicvalue/boolean" model="false"/> <node name="verbal" channel="inline" format="logicvalue/boolean" model="true"/> </node>
Properties
word-count
Description
Count different occurences.
Format
command/word-count
Example
<node name="chmod_file" channel="inline" format="command/word-count" model=""> <node name="path" channel="inline" format="text/plain" model="./shell_command_word_count/example.txt"/> <node name="bytes" channel="inline" format="logicvalue/boolean" model="false"/> <node name="chars" channel="inline" format="logicvalue/boolean" model="true"/> <node name="lines" channel="inline" format="logicvalue/boolean" model="true"/> <node name="max-line-length" channel="inline" format="logicvalue/boolean" model="false"/> <node name="words" channel="inline" format="logicvalue/boolean" model="true"/> </node>
Properties
communicate
receive
Description
Receives a message via the given channel.
Format
communicate/receive
Example
<node name="initialise" channel="inline" format="communicate/receive" model=""> <node name="channel" channel="inline" format="meta/channel" model="file"/> <node name="encoding" channel="inline" format="meta/encoding" model="utf-8"/> <node name="language" channel="inline" format="meta/language" model="text/cybol"/> <node name="format" channel="inline" format="meta/format" model="element/part"/> <node name="message" channel="inline" format="text/plain" model="ui/app.cybol"/> <node name="model" channel="inline" format="text/cybol-path" model=".app"/> </node>
Properties
send
Description
Sends a message via the given channel.
Format
communicate/send
Example
<node name="print_adc" channel="inline" format="communicate/send" model=""> <node name="channel" channel="inline" format="meta/channel" model="terminal"/> <node name="encoding" channel="inline" format="meta/encoding" model="utf-8"/> <node name="language" channel="inline" format="meta/language" model="message/cli"/> <node name="format" channel="inline" format="meta/format" model="text/plain"/> <node name="message" channel="inline" format="text/plain" model="Current adc rounded in voltage:"/> <node name="newline" channel="inline" format="logicvalue/boolean" model="true"/> </node> <node name="print_adc_value" channel="inline" format="communicate/send" model=""> <node name="channel" channel="inline" format="meta/channel" model="terminal"/> <node name="encoding" channel="inline" format="meta/encoding" model="utf-8"/> <node name="language" channel="inline" format="meta/language" model="message/cli"/> <node name="format" channel="inline" format="meta/format" model="number/fraction-decimal"/> <node name="message" channel="inline" format="text/cybol-path" model=".settings.adc"/> <node name="newline" channel="inline" format="logicvalue/boolean" model="true"/> </node>
Properties
compare
equal
Description
Compares left and right parametre.
Format
compare/equal
Example
<node name="compare_equal" channel="inline" format="compare/equal" model=""> <node name="result" channel="inline" format="text/cybol-path" model=".model.result"/> <node name="left" channel="inline" format="text/cybol-path" model=".model.left"/> <node name="right" channel="inline" format="text/cybol-path" model=".model.right"/> <node name="type" channel="inline" format="meta/type" model="number/complex-cartesian"/> <node name="selection" channel="inline" format="text/plain" model="all"/> </node>
Properties
greater
Description
Compares left and right parametre.
Format
compare/greater
Example
<node name="compare_loop_count" channel="inline" format="compare/greater" model=""> <node name="result" channel="inline" format="text/cybol-path" model=".counter.break"/> <node name="left" channel="inline" format="text/cybol-path" model=".counter.count"/> <node name="right" channel="inline" format="text/cybol-path" model=".counter.maximum"/> <node name="type" channel="inline" format="meta/type" model="number/integer"/> <node name="selection" channel="inline" format="text/plain" model="all"/> </node>
Properties
greater-or-equal
Description
Compares left and right parametre.
Format
compare/greater-or-equal
Example
<node name="compare_loop_count" channel="inline" format="compare/greater-or-equal" model=""> <node name="result" channel="inline" format="text/cybol-path" model=".domain.break"/> <node name="left" channel="inline" format="text/cybol-path" model=".domain.count"/> <node name="right" channel="inline" format="text/cybol-path" model=".domain.maximum"/> <node name="type" channel="inline" format="meta/type" model="number/integer"/> <node name="selection" channel="inline" format="text/plain" model="all"/> </node>
Properties
smaller
Description
Compares left and right parametre.
Format
compare/smaller
Example
<node name="compare_smaller" channel="inline" format="compare/smaller" model=""> <node name="result" channel="inline" format="text/cybol-path" model="#break"/> <node name="left" channel="inline" format="text/cybol-path" model="#index"/> <node name="right" channel="inline" format="text/cybol-path" model="#count"/> <node name="type" channel="inline" format="meta/type" model="number/integer"/> <node name="selection" channel="inline" format="text/plain" model="all"/> </node>
Properties
smaller-or-equal
Description
Compares left and right parametre.
Format
compare/smaller-or-equal
Example
<node name="compare_smaller" channel="inline" format="compare/smaller-or-equal" model=""> <node name="result" channel="inline" format="text/cybol-path" model="#break"/> <node name="left" channel="inline" format="text/cybol-path" model="#index"/> <node name="right" channel="inline" format="text/cybol-path" model="#count"/> <node name="type" channel="inline" format="meta/type" model="number/integer"/> <node name="selection" channel="inline" format="text/plain" model="all"/> </node>
Properties
unequal
Description
Compares left and right parametre.
Format
compare/unequal
Example
<node name="compare_unequal" channel="inline" format="compare/unequal" model=""> <node name="result" channel="inline" format="text/cybol-path" model=".model.result"/> <node name="left" channel="inline" format="text/cybol-path" model=".model.left"/> <node name="right" channel="inline" format="text/cybol-path" model=".model.right"/> <node name="type" channel="inline" format="meta/type" model="number/complex-cartesian"/> <node name="selection" channel="inline" format="text/plain" model="all"/> </node>
Properties
contain
both
Description
Compare if bounded area contains value.
Format
contain/both
Example
Properties
left
Description
Compare if bounded area contains value.
Format
contain/left
Example
Properties
none
Description
Compare if bounded area contains value.
Format
contain/none
Example
Properties
right
Description
Compare if bounded area contains value.
Format
contain/right
Example
Properties
convert
decode
Description
Decodes the source into the destination, according to the given decoding.
Format
convert/decode
Example
Properties
encode
Description
Encodes the source into the destination, according to the given encoding.
Format
convert/encode
Example
Properties
flow
branch
Description
Branches the programme flow, depending on the criterion flag.
Format
flow/branch
Example
<node name="branch_voltage" channel="inline" format="flow/branch" model=""> <node name="criterion" channel="inline" format="text/cybol-path" model=".settings.voltage_criterion"/> <node name="true" channel="file" format="element/part" model="indoor_climate/add_voltage.cybol"/> <node name="false" channel="file" format="element/part" model="indoor_climate/report_voltage_failure.cybol"/> </node>
Properties
loop
Description
Loops the programme flow endlessly, until the break flag is set.
Format
flow/loop
Example
<node name="collect_voltages" channel="inline" format="flow/loop" model=""> <node name="break" channel="inline" format="text/cybol-path" model=".settings.adc_break"/> <node name="model" channel="file" format="element/part" model="adc/collect_voltages.cybol"/> </node>
Properties
sequence
Description
Executes the given programme flow as sequence.
Format
flow/sequence
Example
<node name="start_playerinput" channel="inline" format="flow/sequence" model=""> <node name="model" channel="inline" format="text/cybol-path" model=".app.setrandom"/> </node>
Properties
live
exit
Description
Closes a running application.
Format
live/exit
Example
<node name="exit_application" channel="inline" format="live/exit" model=""/>
Properties
interrupt
Description
Interrupts a service.
Format
live/interrupt
Example
<node name="interrupt_x_window_system" channel="inline" format="live/interrupt" model=""> <node name="channel" channel="inline" format="meta/channel" model="display"/> </node>
Properties
sense
Description
Senses an interrupt request happening on the given channel.
Format
live/sense
Example
<node name="set_handler_commands_reading" channel="inline" format="live/sense" model=""> <node name="channel" channel="inline" format="meta/channel" model="terminal"/> <node name="handler" channel="inline" format="text/cybol-path" model=".app.handler"/> </node>
Properties
logify
and
Description
Applies the boolean logic operation AND.
Format
logify/and
Example
<node name="operation" channel="inline" format="logify/and" model=""> <node name="output" channel="inline" format="text/cybol-path" model=".app.result"/> <node name="input" channel="inline" format="text/cybol-path" model=".app.operand"/> <node name="type" channel="inline" format="meta/type" model="number/byte"/> </node>
Properties
nand
Description
Applies the boolean logic operation NAND.
Format
logify/nand
Example
<node name="result" channel="inline" format="logicvalue/boolean" model="false"/> <node name="operand" channel="inline" format="logicvalue/boolean" model="false"/> <node name="operation" channel="inline" format="logify/nand" model=""> <node name="output" channel="inline" format="text/cybol-path" model=".app.result"/> <node name="input" channel="inline" format="text/cybol-path" model=".app.operand"/> <node name="type" channel="inline" format="meta/type" model="logicvalue/boolean"/> </node>
Properties
neg
Description
Applies the boolean logic operation NEG.
Format
logify/neg
Example
<node name="result" channel="inline" format="number/byte" model="25"/> <node name="operation" channel="inline" format="logify/neg" model=""> <node name="output" channel="inline" format="text/cybol-path" model=".app.result"/> <node name="input" channel="inline" format="text/cybol-path" model=".app.result"/> <node name="type" channel="inline" format="meta/type" model="number/byte"/> </node>
Properties
nor
Description
Applies the boolean logic operation NOR.
Format
logify/nor
Example
<node name="result" channel="inline" format="logicvalue/boolean" model="false"/> <node name="operand" channel="inline" format="logicvalue/boolean" model="false"/> <node name="operation" channel="inline" format="logify/nor" model=""> <node name="output" channel="inline" format="text/cybol-path" model=".app.result"/> <node name="input" channel="inline" format="text/cybol-path" model=".app.operand"/> <node name="type" channel="inline" format="meta/type" model="logicvalue/boolean"/> </node>
Properties
not
Description
Applies the boolean logic operation NOT.
Format
logify/not
Example
<node name="result" channel="inline" format="logicvalue/boolean" model="true"/> <node name="operation" channel="inline" format="logify/not" model=""> <node name="output" channel="inline" format="text/cybol-path" model=".app.result"/> <node name="input" channel="inline" format="text/cybol-path" model=".app.result"/> <node name="type" channel="inline" format="meta/type" model="logicvalue/boolean"/> </node>
Properties
or
Description
Applies the boolean logic operation OR.
Format
logify/or
Example
<node name="result" channel="inline" format="logicvalue/boolean" model="false"/> <node name="operand" channel="inline" format="logicvalue/boolean" model="false"/> <node name="operation" channel="inline" format="logify/or" model=""> <node name="output" channel="inline" format="text/cybol-path" model=".app.result"/> <node name="input" channel="inline" format="text/cybol-path" model=".app.operand"/> <node name="type" channel="inline" format="meta/type" model="logicvalue/boolean"/> </node>
Properties
xnor
Description
Applies the boolean logic operation XNOR.
Format
logify/xnor
Example
<node name="result" channel="inline" format="logicvalue/boolean" model="false"/> <node name="operand" channel="inline" format="logicvalue/boolean" model="false"/> <node name="operation" channel="inline" format="logify/xnor" model=""> <node name="output" channel="inline" format="text/cybol-path" model=".app.result"/> <node name="input" channel="inline" format="text/cybol-path" model=".app.operand"/> <node name="type" channel="inline" format="meta/type" model="logicvalue/boolean"/> </node>
Properties
xor
Description
Applies the boolean logic operation XOR.
Format
logify/xor
Example
<node name="result" channel="inline" format="logicvalue/boolean" model="false"/> <node name="operand" channel="inline" format="logicvalue/boolean" model="false"/> <node name="operation" channel="inline" format="logify/xor" model=""> <node name="output" channel="inline" format="text/cybol-path" model=".app.result"/> <node name="input" channel="inline" format="text/cybol-path" model=".app.operand"/> <node name="type" channel="inline" format="meta/type" model="logicvalue/boolean"/> </node>
Properties
maintain
shutdown
Description
Shuts down the service running on the given channel.
Format
maintain/shutdown
Example
<node name="shutdown_serial_port" channel="inline" format="maintain/shutdown" model=""> <node name="channel" channel="inline" format="text/cybol-path" model=".settings.device"/> </node>
Properties
startup
Description
Starts up a service on the given channel.
Format
maintain/startup
Example
<node name="startup_terminal" channel="inline" format="maintain/startup" model=""> <node name="channel" channel="inline" format="meta/channel" model="terminal"/> </node> <node name="startup_socket" channel="inline" format="maintain/startup" model=""> <node name="channel" channel="inline" format="meta/channel" model="socket"/> <node name="namespace" channel="inline" format="text/plain" model="ipv4"/> <node name="style" channel="inline" format="text/plain" model="stream"/> <node name="protocol" channel="inline" format="text/plain" model="tcp"/> <node name="address" channel="inline" format="text/cybol-path" model=".app.var.address"/> <node name="id" channel="inline" format="text/cybol-path" model=".app.var.port"/> <node name="mode" channel="inline" format="text/plain" model="server"/> <node name="blocking" channel="inline" format="logicvalue/boolean" model="false"/> <node name="connexions" channel="inline" format="number/integer" model="1"/> </node>
Properties
manipulate
check
Description
Gets the bit at the given position.
Format
manipulate/check
Example
Properties
clear
Description
Resets the bit at a given position.
Format
manipulate/clear
Example
Properties
rotate-left
Description
Rotates all bits of a value to the left by position.
Format
manipulate/rotate-left
Example
Properties
rotate-right
Description
Rotates all bits of a value to the right by position.
Format
manipulate/rotate-right
Example
Properties
set
Description
Sets the bit at the given position.
Format
manipulate/set
Example
Properties
shift-left
Description
Shifts all bits of value to the left by position.
Format
manipulate/shift-left
Example
Properties
shift-right
Description
Shifts all bits of value to the right by position.
Format
manipulate/shift-right
Example
Properties
toggle
Description
Toggles the bit at the given position.
Format
manipulate/toggle
Example
Properties
memorise
create
Description
Creates an empty part consisting of name and type only.
Format
memorise/create
Example
<node name="create_summand_2" channel="inline" format="memorise/create" model=""> <node name="name" channel="inline" format="text/plain" model="summand_2"/> <node name="format" channel="inline" format="meta/format" model="number/integer"/> <node name="element" channel="inline" format="text/plain" model="part"/> <node name="whole" channel="inline" format="text/cybol-path" model=".addition_application"/> </node>
Properties
destroy
Description
Destroys a part and removes it from the knowledge model.
Format
memorise/destroy
Example
<node name="destroy_tui_control" channel="inline" format="memorise/destroy" model=""> <node name="name" channel="inline" format="text/cybol-path" model=".tui_control"/> </node>
Properties
pop (Undefined)
Description
Pop an element from the stack.
Format
memorise/pop
Example
Properties
push (Undefined)
Description
Push an element on the stack.
Format
memorise/push
Example
Properties
modify
append
Description
Appends the source to the destination part.
Format
modify/append
Example
<node name="append_command" channel="inline" format="modify/append" model=""> <node name="destination" channel="inline" format="text/cybol-path" model=".app.safetmp.path"/> <node name="source" channel="inline" format="text/cybol-path" model=".app.safetmp.operation_type"/> <node name="type" channel="inline" format="meta/type" model="text/plain"/> </node>
Properties
empty
Description
Empties the part, i.e. removes all of its elements.
Format
modify/empty
Example
<node name="reset_buffer" channel="inline" format="modify/empty" model=""> <node name="part" channel="inline" format="text/cybol-path" model=".settings.voltage_buffer"/> <node name="model" channel="inline" format="logicvalue/boolean" model="true"/> <node name="properties" channel="inline" format="logicvalue/boolean" model="true"/> </node>
Properties
fill
Description
Fills the part up with a given element.
Format
modify/fill
Example
Properties
insert
Description
Inserts the source- into the destination part.
Format
modify/insert
Example
Properties
overwrite
Description
Overwrites the destination- with the source part.
Format
modify/overwrite
Example
<node name="reset_count" channel="inline" format="modify/overwrite" model=""> <node name="destination" channel="inline" format="text/cybol-path" model=".settings.voltage_count"/> <node name="source" channel="inline" format="text/cybol-path" model=".settings.voltage_default"/> </node>
Properties
remove
Description
Removes count elements from the part.
Format
modify/remove
Example
<node name="remove" channel="inline" format="modify/remove" model=""> <node name="part" channel="inline" format="text/cybol-path" model=".summand"/> </node>
Properties
randomise
retrieve
Description
Retrieve next pseudo-random number in the series.
Format
randomise/retrieve
Example
<node name="get_random_number_1" channel="inline" format="randomise/retrieve" model=""> <node name="result" channel="inline" format="text/cybol-path" model=".app.var.field_1"/> <node name="minimum" channel="inline" format="number/integer" model="2"/> <node name="maximum" channel="inline" format="number/integer" model="14"/> <node name="seed" channel="inline" format="text/cybol-path" model=".app.var.seed"/> </node>
Properties
sow
Description
Sow a seed for a new series of pseudo-random numbers.
Format
randomise/sow
Example
<node name="set_seed" channel="inline" format="randomise/sow" model=""> <node name="seed" channel="inline" format="text/cybol-path" model=".app.var.seed"/> </node>
Properties
represent
deserialise
Description
Deserialises the source- into the destination part.
Format
represent/deserialise
Example
<node name="deserialise_operand" channel="inline" format="represent/deserialise" model=""> <node name="destination" channel="inline" format="text/cybol-path" model=".summand"/> <node name="source" channel="inline" format="text/cybol-path" model=".text"/> <node name="format" channel="inline" format="meta/format" model="number/integer"/> <node name="language" channel="inline" format="meta/language" model="text/cybol"/> </node>
Properties
serialise
Description
Serialises the source- into the destination part.
Format
represent/serialise
Example
<node name="serialise_operand" channel="inline" format="represent/serialise" model=""> <node name="destination" channel="inline" format="text/cybol-path" model=".summand"/> <node name="source" channel="inline" format="text/cybol-path" model=".text"/> <node name="format" channel="inline" format="meta/format" model="number/integer"/> <node name="language" channel="inline" format="meta/language" model="text/cybol"/> </node>
Properties
run
run
Description
Runs a local program
Format
run/run
Example
<node name="execute_shell_script" channel="inline" format="run/run" model=""> <node name="programme" channel="file" format="text/plain" model="password_generator/sleep_timer.sh"/> </node>
Properties
sleep-nano
Description
Puts the executing thread to sleep for at least x nanoseconds (the actual duration may differ depending on the systems load and timer accuracy)
Format
run/sleep-nano
Example
<node name="sleep" channel="inline" format="run/sleep-nano" model=""> <node name="duration" channel="inline" format="text/cybol-path" model=".settings.voltage_sleep"/> </node>
Properties
sleep-second
Description
Puts the executing thread to sleep for at least x seconds (the actual duration may differ depending on the systems load and timer accuracy)
Format
run/sleep-second
Example
<node name="sleep" channel="inline" format="run/sleep-second" model=""> <node name="duration" channel="inline" format="text/cybol-path" model=".settings.voltage_sleep"/> </node>
Properties
sort
bubble
Description
Sort numbers via bubble-algorithm.
Format
sort/bubble
Example
<node name="sort" channel="inline" format="sort/bubble" model=""> <node name="output" channel="inline" format="text/cybol-path" model=".result"/> <node name="input" channel="inline" format="text/cybol-path" model=".unsorted"/> </node>
Properties
quick
Description
Sort numbers via quicksort-algorithm.
Format
sort/quick
Example
<node name="sort" channel="inline" format="sort/quick" model=""> <node name="output" channel="inline" format="text/cybol-path" model=".result"/> <node name="input" channel="inline" format="text/cybol-path" model=".unsorted"/> </node>
Properties
time
current
Description
Retrieves the current time from the system.
Format
time/current
Example
<node name="retrieveCurrentTime" channel="inline" format="time/current" model=""> <node name="result" channel="inline" format="text/cybol-path" model=".model"/> </node>
Properties
state
device
keyboard
Description
A keyboard key.
Format
Example
<node name="arrow-up" channel="inline" format="text/cybol-path" model=".logic.move_arrow_up"/> <node name="arrow-down" channel="inline" format="text/cybol-path" model=".logic.move_arrow_down"/> <node name="arrow-left" channel="inline" format="text/cybol-path" model=".logic.move_arrow_left"/> <node name="arrow-right" channel="inline" format="text/cybol-path" model=".logic.move_arrow_right"/> <node name="enter" channel="inline" format="text/cybol-path" model=".logic.enter_sub_menu"/> <node name="escape" channel="inline" format="text/cybol-path" model=".logic.exit_programme"/>
Properties
mouse
Description
A mouse button.
Format
Example
<node name="exit_button" channel="inline" format="text/plain" model="Exit"> <node name="cell" channel="inline" format="text/plain" model="east"/> <node name="left-release" channel="inline" format="text/cybol-path" model=".app.logic.exit_programme"/> </node>
Properties
user_interface
gui
Description
A graphical user interface element.
Format
Example
<node name="window" channel="file" format="element/part" model="gui/window.cybol"> <node name="position" channel="inline" format="number/integer" model="0,0"/> <node name="size" channel="inline" format="number/integer" model="800,600"/> <node name="background" channel="inline" format="colour/rgb" model="255,255,255"/> <node name="foreground" channel="inline" format="text/cybol-path" model=".app.settings.foreground"/> <node name="layout" channel="inline" format="text/plain" model="compass"/> <node name="title" channel="inline" format="text/plain" model="Test Application Window"/> <node name="icon" channel="file" format="image/png" model="gui/window/icon.png"/> <node name="expose" channel="inline" format="text/cybol-path" model=".app.logic.refresh_gui"/> </node>
Properties
tui
Description
A text user interface element.
Format
Example
<node name="window" channel="file" format="element/part" model="tui/window.cybol"> <node name="position" channel="inline" format="number/integer" model="0,0"/> <node name="size" channel="inline" format="number/integer" model="80,15"/> <node name="background" channel="inline" format="colour/terminal" model="green"/> <node name="foreground" channel="inline" format="text/cybol-path" model=".app.settings.foreground"/> <node name="bold" channel="inline" format="logicvalue/boolean" model="true"/> <!-- This property is evaluated by win32 console only. --> <node name="intense" channel="inline" format="logicvalue/boolean" model="false"/> <node name="border" channel="inline" format="text/plain" model="ascii"/> </node>
Properties
wui
Description
A web user interface element.
Format
Example
<node name="heading" channel="inline" format="text/plain" model="Web User Interface (WUI) Example"> <node name="tag" channel="inline" format="text/plain" model="h1"/> </node> <node name="content" channel="inline" format="text/plain" model="This is a text paragraph."> <node name="tag" channel="inline" format="text/plain" model="p"/> </node> <node name="newline" channel="inline" format="text/plain" model=""> <node name="tag" channel="inline" format="text/plain" model="br"/> </node> <node name="some_block" channel="inline" format="text/plain" model=""> <node name="tag" channel="inline" format="text/plain" model="div"/> </node> <node name="preformatted_external_text" channel="file" format="text/plain" model="wui/text.txt"> <node name="tag" channel="inline" format="text/plain" model="p"/> <node name="preformatted" channel="inline" format="logicvalue/boolean" model="true"/> <node name="class" channel="inline" format="text/plain" model="preformatted"/> </node> <node name="link" channel="inline" format="text/plain" model="Some link."> <node name="tag" channel="inline" format="text/plain" model="a"/> <node name="href" channel="inline" format="text/plain" model="http://www.cybop.org/"/> </node> <node name="sub_heading" channel="inline" format="text/plain" model="Example Table"> <node name="tag" channel="inline" format="text/plain" model="h4"/> </node> <node name="table" channel="file" format="element/part" model="wui/table.cybol"> <node name="tag" channel="inline" format="text/plain" model="table"/> </node>