Commit 67e6cd28 authored by Claes Sjofors's avatar Claes Sjofors

Type pwr_tString64 added

parent c4d911e1
......@@ -409,6 +409,10 @@ typedef char pwr_tString132[132]; //!< 132 byte string type.
@aref string80 String80
*/
typedef char pwr_tString80[80]; //!< 80 byte string type.
/*_*
@aref string64 String64
*/
typedef char pwr_tString64[64]; //!< 64 byte string type.
/*_*
@aref string40 String40
*/
......
!
! ProviewR Open Source Process Control.
! Copyright (C) 2005-2019 SSAB EMEA AB.
!
! This file is part of ProviewR.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with ProviewR. If not, see <http://www.gnu.org/licenses/>
!
! Linking ProviewR statically or dynamically with other modules is
! making a combined work based on ProviewR. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! ProviewR give you permission to, from the build function in the
! ProviewR Configurator, combine ProviewR with modules generated by the
! ProviewR PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of ProviewR (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrs_td_string64.wb_load -- Defines the type String64
!
SObject pwrs:Type
!/**
! @Version 1.0
! @Code pwr.h
! @Group DerivedTypes,Types
! 64 characters null-terminated string. Derived type from String.
!
! The maximum length of the string without the null termination is
! 63 characters.
!
! @b See also
! @classlink String pwrs_string.html
!*/
Object $String64 $TypeDef 28
Body SysBody
Attr Type = pwr_eType_String
Attr Size = 64
Attr TypeRef = "pwrs:Type-$String"
Attr Elements = 64
EndBody
EndObject
EndSObject
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment