 |
ALPHA-VISION® DataObject dependent Actions: SyPo_SetTxt
|
SyPo_SetTxt
SUMMARY
SyPo_SetTxt - Set System point text
SYNTAX
SyPo_SetTxt (
<PointId>,
<LangID>,
<Text>)
ARGUMENTS
- PointId
-
- DataObject
- LangID
-
- Defines the language
- Text
-
- new text
DESCRIPTION
Sets the text of a DataObject
Different to:
Obj_SetAttr(PointID,Txt,Text)
that action can take the missing Text-Parameter from the stack.
Example:
Obj_QueryAttr(PointID,Descr)
Usr_PushArgs
SyPo_SetTxt(Test_2,X,)
EXAMPLES
SyPo_SetTxt(Test_2,X,too high)
In the language environment ‘X’ (project language) the text "too high"
is written to the DataObject "Test_2".
Syntax Notation
- [aaa]
- aaa is optional (zero or one occurences)
- (aaa|bbb)
- aaa exclusive or bbb
- (aaa)*
- aaa may occur indefinitely often or may be omitted
- (aaa)+
- aaa may occur indefinitely often but at least once
- (aaa)m..n
- aaa may occur from m to n times