Difference between revisions of "Contatenate Strings"

From ArcoWiki
Jump to: navigation, search
Line 1: Line 1:
In order to '''[[Contatenate Strings]]''' it is necessary to use the command <code>CONCAT</code>.<br/>
+
In order to '''[[Contatenate Strings]]''' it is necessary to use the command <code>CONCAT()</code>.<br/>
  
 
<code><span style="color: green; text-decoration: none;">$$ Example of concat Command</span><br/></code>
 
<code><span style="color: green; text-decoration: none;">$$ Example of concat Command</span><br/></code>
<code>DECL/char,256,FILENAME,PART1,NAME<br/></code>
+
::<code>DECL/char,256,FILENAME,PART1,NAME<br/></code>
<code>PART1=ASSIGN/'MY_PART'<br/></code>
+
::<code>PART1=ASSIGN/'MY_PART'<br/></code>
<code>NAME=ASSIGN/'MY_NAME'<br/></code>
+
::<code>NAME=ASSIGN/'MY_NAME'<br/></code>
<code>FILENAME=ASSIGN/CONCAT(PART1,NAME,'.TXT')<br/></code>
+
::<code>FILENAME=ASSIGN/CONCAT(PART1,NAME,'.TXT')<br/></code>

Revision as of 11:59, 3 August 2016

In order to Contatenate Strings it is necessary to use the command CONCAT().

$$ Example of concat Command

DECL/char,256,FILENAME,PART1,NAME
PART1=ASSIGN/'MY_PART'
NAME=ASSIGN/'MY_NAME'
FILENAME=ASSIGN/CONCAT(PART1,NAME,'.TXT')