<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for stockee</title><link href="https://forge.codesys.com/u/stockee/activity/" rel="alternate"/><id>https://forge.codesys.com/u/stockee/activity/</id><updated>2020-05-02T20:29:47.869000Z</updated><subtitle>Recent activity for stockee</subtitle><entry><title>stockee modified a comment on discussion Codesys V2.3</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/1b4399e197/?limit=25#1526" rel="alternate"/><published>2020-05-02T20:29:47.869000Z</published><updated>2020-05-02T20:29:47.869000Z</updated><author><name>stockee</name><uri>https://forge.codesys.com/u/stockee/profile/</uri></author><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/1b4399e197/?limit=25#1526</id><summary type="html">code section1: TYPE stdata_list : STRUCT ilast_pos : ARRAY[0..2] OF INT;//the position of the last record in the list idata : ARRAY[GVL.ZERO..GVL.MAX] OF INT; sdata : ARRAY[GVL.ZERO..GVL.MAX] OF STRING; stdata : ARRAY[GVL.ZERO..GVL.MAX] OF stitems; END_STRUCT END_TYPE code section2: FUNCTION finsert : int VAR_IN_OUT stlist : stdata_list; END_VAR VAR_INPUT idata : INT; END_VAR IF stlist.ilast_pos +1 &lt; GVL.MAX THEN stlist.idata[stlist.ilast_pos +1] := idata; stlist.ilast_pos:=stlist.ilast_pos+1; E...</summary></entry><entry><title>stockee posted a comment on discussion Codesys V2.3</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/1b4399e197/?limit=25#1526" rel="alternate"/><published>2020-05-02T20:28:29.678000Z</published><updated>2020-05-02T20:28:29.678000Z</updated><author><name>stockee</name><uri>https://forge.codesys.com/u/stockee/profile/</uri></author><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/1b4399e197/?limit=25#1526</id><summary type="html">code section1: TYPE stdata_list : STRUCT ilast_pos : ARRAY[0..2] OF INT;//the position of the last record in the list idata : ARRAY[GVL.ZERO..GVL.MAX] OF INT; sdata : ARRAY[GVL.ZERO..GVL.MAX] OF STRING; stdata : ARRAY[GVL.ZERO..GVL.MAX] OF stitems; END_STRUCT END_TYPE code section2: FUNCTION finsert : int VAR_IN_OUT stlist : stdata_list; END_VAR VAR_INPUT idata : INT; END_VAR IF stlist.ilast_pos +1 &lt; GVL.MAX THEN stlist.idata[stlist.ilast_pos +1] := idata; stlist.ilast_pos:=stlist.ilast_pos+1; E...</summary></entry><entry><title>stockee posted a comment on discussion Codesys V2.3</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/1b4399e197/?limit=25#f755" rel="alternate"/><published>2020-05-02T20:27:28.520000Z</published><updated>2020-05-02T20:27:28.520000Z</updated><author><name>stockee</name><uri>https://forge.codesys.com/u/stockee/profile/</uri></author><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/1b4399e197/?limit=25#f755</id><summary type="html">Hi, I need help with a project of mine. I have a function witch look like this : code It basically contains 3 array for different data type, and the last_pos array correspond to the last value added or remove in corresponding data arrays Then i want a make multiple function witch can have impact on those array : example- 1- insert data 2- delete data 3- search for data So i begin with a function that impact 1 of the array ( int) that can insert data in the array The function code look like that :...</summary></entry></feed>