Norm Kirchner Posted March 4, 2007 Report Share Posted March 4, 2007 Dual post on OpenG http://forums.openg.org/index.php?showtopi...;st=0#entry1414 Looking to discuss options. Enums w/ spaces in the text do not translate properly Quote Link to comment
TG Posted March 4, 2007 Report Share Posted March 4, 2007 QUOTE(njkirchner @ Mar 2 2007, 11:28 PM) Dual post on OpenGhttp://forums.openg.org/index.php?showtopic=538&st=0#entry1414' target="_blank">http://forums.openg.org/index.php?showtopi...;st=0#entry1414 Looking to discuss options. Enums w/ spaces in the text do not translate properly The problem (as you already know) is the "scan from string" primitive. Apparently it is well known that this primitive does not handle embedded whitespace elegantly. (There may be good reasons for this) I am guessing that OpenG is aware of this but kept "Scan Variant from String__ogtk.vi " "as is" for performance reasons and to keep it simple. This burdens you to find your own work around. :headbang: If you need to modify the OpenG VI remane it to keep the original intact then you can try to make a workaround for it. There are primitives that can be used to replace an embedded space with an "_" character to fix the input. Second workaround might be to rename all the Enums replacing space with underscore but Im sure you already know this.\ Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.