Quote from
Vadim on July 8, 2022, 8:21 am
@no1g8tor96
Using VisualNEO Win as an example, you can create a text object on a page, and write the name of a variable in it instead of text. You can put text (e.g. PBP characters) into this variable in different ways, e.g. with the SetVar command:
SetVar "[txt]" "PBP".
In a running program (e.g. in a test compilation), its contents will be displayed instead of the variable name.
To copy a desired character to another variable, you can use the string commands. For example, this command will copy the second character from the string stored in variable [txt] to variable [SecondCharacter]:
SubStr "[txt]" "2" "1" "[SecondCharacter]"
To learn how to use the commands (their syntax), please see the Help at the top of the page.
@no1g8tor96
Using VisualNEO Win as an example, you can create a text object on a page, and write the name of a variable in it instead of text. You can put text (e.g. PBP characters) into this variable in different ways, e.g. with the SetVar command:
SetVar "[txt]" "PBP".
In a running program (e.g. in a test compilation), its contents will be displayed instead of the variable name.
To copy a desired character to another variable, you can use the string commands. For example, this command will copy the second character from the string stored in variable [txt] to variable [SecondCharacter]:
SubStr "[txt]" "2" "1" "[SecondCharacter]"
To learn how to use the commands (their syntax), please see the Help at the top of the page.
luishp has reacted to this post.