T
Tom Reilly
Snippit needed
given some option variables
c1 = 0
c2 = 0
c3 = 0
c4 = 0
given a string (a set of pairs of options) which could be read from
MYSQL or a file
paramString = '"c1" 0 "c3" 1 "c2" "y" "c4" "v"'
such that:
c1 = 0
c2 = "y"
c3 = 1
and c4 = "v"
at the end of the procedure.
I just can't figure out how to do this with RUBY.
Thanks
Tom Reilly
given some option variables
c1 = 0
c2 = 0
c3 = 0
c4 = 0
given a string (a set of pairs of options) which could be read from
MYSQL or a file
paramString = '"c1" 0 "c3" 1 "c2" "y" "c4" "v"'
such that:
c1 = 0
c2 = "y"
c3 = 1
and c4 = "v"
at the end of the procedure.
I just can't figure out how to do this with RUBY.
Thanks
Tom Reilly