Suman Raj

Suman Raj

  • NA
  • 287
  • 13.4k

Ini file operation using combo

Jul 6 2018 12:42 AM
Need a code for getting combobox value form ini file using seperator "comma"
 
Explain:
 
I have functions those function have saved in ini file
 
i have colors to assing for significant function
 
the function can also have 1-5 colors but i need to get from ini file
 
Important this is we can implement only with ini file and use only binary logic
 
example: filename.ini
 
//In this no represents colors if i choose function2 means the function2 has 1,2,4(colors).So if i choose function2 it means function2 contains white,red and yellow
 
[Functions]
1=function1,function2,function3,function4
2=function1,function 2,function
3=function1
4=function2,function3,function4
0=function4
[Colors]
0=GENERIC
1=WHITE
2=RED
3=GREEN
4=YELLOW
GENERIC 0b0000 0x0 0
WHITE 0b0001 0x1 1
RED 0b0010 0x2 2
GREEN 0b0100 0x4 4
YELLOW 0b1000 0x8 8
 
I need code for this using binary logic
Anyone pls help

Answers (4)