31.07.2013 Views

RAPL 3 - Reference Guide. - Phoenix Goucher

RAPL 3 - Reference Guide. - Phoenix Goucher

RAPL 3 - Reference Guide. - Phoenix Goucher

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

20 Data Types and Variables<br />

the length of s is set to 6, and the characters ‘h’, ‘e’, ‘l’, ‘l’, ‘o’ and ‘!’ have been<br />

stored in the character part of the string.<br />

Termination<br />

<strong>RAPL</strong>-3 does not use any string termination character. The variable is declared<br />

and the string of characters is packed into the variable.<br />

Concatenation<br />

To concatenate (link together to form a longer string), use the str_append<br />

subroutine with string variables. The + (plus) operator can be used to<br />

concatenate string constants.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!