Hi Chris, I tried what Brian suggested by creating a string channel named "class" and filling it with something, but I could not get it to work with something like:
=x>0?"a":"b" This gives me a syntax error on the strings. I expect I misunderstand Brian, or I'm doing something wrong. But if I create string channels named "aaa" and "bbb" (names are not important), then fill "aaa" with "a" and "bbb" with "b", I can use these as the result of an expression in the "class" channel like this: =x>0?aaa:bbb This gives me "a" (the contents of the "aaa" channel) wherever the "x" channel is greater than 0, and "b" wherever "x" is less than or equal to 0. I hope this helps. Cheers, Ian From: [email protected] [mailto:[email protected]] On Behalf Of Brian Junck Sent: Thursday, March 20, 2014 8:36 PM To: Geosoft Oasis montaj and Target Subject: Re: [geonet] Manipulating String Values Chris, You can use the Channel Math GX in the normal way to populate a string channel- the catch is that the string channel has to already have data values in it. If the channel is empty, then nothing will populate. So if you create a string channel, copy the contents from another channel that is fully populated to that new string channel, then run your expression in the channel math GX, it should populate. -Brian J. On Thu, Mar 20, 2014 at 8:04 PM, Chris Vaughan <[email protected]<mailto:[email protected]>> wrote: Is there syntax in the Channel Math GX that will allow one to place a String, say a letter, in a String channel cell based upon the numerical value in another channel? Regards, Chris --- Forum archives can be accessed here: http://lyris.geosoft.com/read/?fourm=geonet You are currently subscribed to geonet as: [email protected]<mailto:[email protected]>. To subscribe or unsubscribe from any of our forums, select the User Forum selection on the Geosoft Community page: http://www.geosoft.com/support/community -- -Brian J. --- Forum archives can be accessed here: http://lyris.geosoft.com/read/?fourm=geonet You are currently subscribed to geonet as: [email protected]<mailto:[email protected]>. To subscribe or unsubscribe from any of our forums, select the User Forum selection on the Geosoft Community page: http://www.geosoft.com/support/community --- Forum archives can be accessed here: http://lyris.geosoft.com/read/?fourm=geonet You are currently subscribed to geonet as: [email protected]. To subscribe or unsubscribe from any of our forums, select the User Forum selection on the Geosoft Community page: http://www.geosoft.com/support/community
