simple text to a field - Forum

Forum Navigation
You need to log in to create posts and topics.

simple text to a field

I just got VN and Is there any good basic tutorials.  I saw there is a course to take but its in Russian.

 

What i need to know is how to put text in a field?  Simplest thing but cant seem to find it. what i mean is populate a field with a variable or set a tgext field to something specific.

Also...once I have the field Populated how can i pick character's out....Meaning say my field  is  P B P and I want to put the B into a variable or another field.  How can i do that.

Thanks

@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.
luishp