OmniTrader Professional Forum OmniTrader Professional Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


Only Forum Moderators, Administrators, and the owner of this message may delete it.

 
Jim Dean

Sage
2000100010010010010025
Posts: 3433

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : RE: String #PARAMs
Posted : 10/12/2020 10:06 AM
Post #31266 - In reply to #31265

Thanks Ryan

In any OLang Stop, System or Indicator a user can declare String variables, then assign values to them in the code, and manipulate those values with VBA functions like left(), right(), instring() etc ... or concatenate them using &

What we CANNOT do, to the best of my knowledge, is INPUT a string variable via the #param command ... or for that matter, OUTPUT a string variable via the Return statement.

Of the two, probably an expanded #param command would be the most useful to OLang programmers ... that is, maybe something like this:

#paramStr "NameOfStringParam", "DefaultStringValue", "List,Of,Other,Standard,Values,For,A,Dropdown,Box"

Please add that to the enhancements list ... it would be really helpful!

Thanks
Deleting message 31266 : RE: String #PARAMs


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.