I was wanting to know if you can create an object by its alternate value or string. This would be very helpful in the project I am working on.
Any Ideas or Information would be greatly appreciated
Thank you
Printable View
I was wanting to know if you can create an object by its alternate value or string. This would be very helpful in the project I am working on.
Any Ideas or Information would be greatly appreciated
Thank you
Making Objects Via a Text File:
You want to make a system were the the application loads a text file and reads it every tenth of a second, then it reads the next character. Depending on the letter it will create a certain object.
Solution:
Load the text file using a List Object. Use a String Parser, and set a delimiter how the characters in your text file are seperated. Then every tenth of a second use the String Parser to retrieve the value of the character in the List Object.
If the character equals a certain letter create the correct object. Make sure the loop advances to the next character after reading one. This can be done by deleting the last character read from the List Object.
Marv
Thank you, so if I Use this and put all the ojects i want on it by value(as long as they are all diff) Ill be able to create them by event. like Setting string parser value to value of object to create on the text file. then call it from action?
lol I haven't tried it yet, and I know its not exactly like how i wrote but i hope you get what im trying to say
Should work.
Marv
Thank You NIVRAM
I've seen you and quite a few other knowledgeable people are a big help in this community, its nice to see some real support in a forum from some of the Vets.
Thank you all