<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to (no subject)</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fec5b44156/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fec5b44156/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/fec5b44156/</id><updated>2020-05-01T19:20:46.872000Z</updated><subtitle>Recent posts to (no subject)</subtitle><entry><title>(no subject)</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fec5b44156/?limit=25#b1e8" rel="alternate"/><published>2020-05-01T19:20:46.872000Z</published><updated>2020-05-01T19:20:46.872000Z</updated><author><name>kpreiss</name><uri>https://forge.codesys.com/u/kpreiss/</uri></author><id>https://forge.codesys.com64bf6173e10df21b2c505bed4e0731a5f846ee79</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am trying to build a function that will be used multiple times in my ST program. within my program I reference different variables in the same structured data type multiple times. Each time i use the function I will be referencing different instance of the same user defined data type. (for example function 1: production.parameter.start and then  function 2: Robot.parameter.start) I would like to pass the beginning  of each variable as a parameter. (just production or robot). Do i do this as a pointer or do i concatenate the variable? &lt;/p&gt;
&lt;p&gt;Function(line:=&lt;em&gt;pointer or string&lt;/em&gt;)&lt;br/&gt;
    a:= &lt;em&gt;line&lt;/em&gt;.parameter.start;&lt;br/&gt;
    b:= &lt;em&gt;line&lt;/em&gt;.inputs.go&lt;/p&gt;
&lt;p&gt;Thank you!!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>