Hello everyone,

i'm still working on my BootCD. I have many troubles fixed by now but still some resist.

There are some issues. For example the defined function. I want to use it to check if a variable with the name for a makro was set within the config-section. Wether or not the makro is called for execution or a simple command like "memdisk image".
So i'm using:
CODE
if defined["$sm11_MAKRO"]; then goto $sm11_MAKRO; else $sm11_CMD $sm11_PARM

but this always ends up within the else condition regardless if the variable exists or not. I've tried defined[$sm11_MAKRO] aswell as defined ["sm11_MAKRO"]. No change so far.

Another thing is the charset used within isolinux/cdshell. Does anyone know which is used? I tried typical DOS-Ascii but that didn't work. I made therefor a small script to display all characters between 128 and 255.
CODE
set textColor=color[white on black]
clear

print "128_   143_   158_   173_   188_+   203_-   218_+   233_   248_   \n"
print "129_   144_   159_   174_   189_   204_   219_   234_   249_   \n"
print "130_   145_   160_   175_   190_   205_-   220__   235_   250_   \n"
print "131_   146_   161_   176_   191_+   206_+   221_   236_   251_   \n"
print "132_   147_   162_   177_   192_+   207_   222_   237_   252_   \n"
print "133_   148_   163_   178_   193_-   208_   223_   238_   253_   \n"
print "134_   149_   164_   179_   194_-   209_   224_   239_   254_   \n"
print "135_   150_   165_   180_   195_+   210_   225_   240_   255_    \n"
print "136_   151_   166_   181_   196_-   211_   226_   241_           \n"
print "137_   152_   167_   182_   197_+   212_   227_   242_=           \n"
print "138_   153_   168_   183_   198_   213_i   228_   243_           \n"
print "139_   154_   169_   184_   199_   214_   229_   244_           \n"
print "140_   155_   170_   185_   200_+   215_   230_   245_           \n"
print "141_   156_   171_   186_   201_+   216_   231_   246_           \n"
print "142_   157_   172_   187_+   202_-   217_+   232_   247_           \n"
print "\n"
print "\c07Press a key to exit!"
getkey
clear

Maybe this is useful to anyone. It was for me! smile.gif I hope this webforum isn't converting the chars.

And a really BIG ISSUE for me: I would really like to have a function which retrieves me the value for a given variablename. Sounds weird? Well, let me explain. A lot of script-lines are of the stile
CODE
if compare["$var1" == "1"]; then goto do1
if compare["$var2" == "1"]; then goto do2

etc.
Now if i could use something like
CODE
set count=1
loop:
if compare[getValue("$var$<$count") == "1"]; then goto do$<$count
goto loop

this would save a LOT of code lines, no?

Maybe Mike can tell us more about this?

Thanx, Plauderer