simple_20registry_20usage
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| simple_20registry_20usage [2018/03/31 13:19] – external edit 127.0.0.1 | simple_20registry_20usage [2024/01/05 00:21] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| //By JGH, Feb-2007.// | //By JGH, Feb-2007.// | ||
| + | <code bb4w> | ||
| KeyRoot$=" | KeyRoot$=" | ||
| LastSaved$=FNReg_Rd(KeyRoot$+" | LastSaved$=FNReg_Rd(KeyRoot$+" | ||
| LoadPath$ =FNReg_Rd(KeyRoot$+" | LoadPath$ =FNReg_Rd(KeyRoot$+" | ||
| + | </ | ||
| \\ It can later update the registry entries using the following code:\\ \\ | \\ It can later update the registry entries using the following code:\\ \\ | ||
| + | <code bb4w> | ||
| KeyRoot$=" | KeyRoot$=" | ||
| PROCReg_Wr(KeyRoot$+" | PROCReg_Wr(KeyRoot$+" | ||
| PROCReg_Wr(KeyRoot$+" | PROCReg_Wr(KeyRoot$+" | ||
| + | </ | ||
| \\ You should ensure **KeyRoot$** is formed in the above format to ensure consistency and to ensure the registry names are unique to your application.\\ \\ The example code uses the **Reg_Rd()** and **Reg_Wr()** functions in the [[http:// | \\ You should ensure **KeyRoot$** is formed in the above format to ensure consistency and to ensure the registry names are unique to your application.\\ \\ The example code uses the **Reg_Rd()** and **Reg_Wr()** functions in the [[http:// | ||
| + | <code bb4w> | ||
| DEF FNReg_Rd(Key$) | DEF FNReg_Rd(Key$) | ||
| LOCAL K%, | LOCAL K%, | ||
| Line 35: | Line 40: | ||
| ENDIF | ENDIF | ||
| ENDPROC | ENDPROC | ||
| + | </ | ||
simple_20registry_20usage.1522502382.txt.gz · Last modified: 2024/01/05 00:16 (external edit)