7.67.52015-05-06

Select Data

You use the @ function to select data in PlanetPress Talk. This command selects data on a single line of the data page. For example, the following returns the string of data found on line 3, from column 12 through 30 of the current data page:

@(3,12,30)

Remember that arguments can be variables. The following returns the string of data found on line &line, from column &col1 to column &col2 of the current data page:

@(&line, &col1, &col2)

You usually assign the result of a function to a variable or use it as an argument to another command. For example:

&customer_name := @(&line, &col1, &col2)

You can also use the Data Selector to insert a PlanetPress Talk data selection command. This is often quicker and more convenient than manually typing the data selection command. Consult the PlanetPress User Guide, and in particular the area of the PlanetPress user interface you are using to enter PlanetPress Talk code, for help.