mahvin wrote:
I know I am on the right track, file-glob needed a value, I just don't know why it needed a value and what that value should be. I added 1 for a value because I saw that value being used a lot on other scripts using file-glob.
The second value (sorry 'bout forgetting it) determines whether the returned filename strings are straight ASCII (1) or UTF-8 (0) encoded.
mahvin wrote:
"fill-type" wasn't in the let* statement, so I added it there and the script finally ran, but as promised, you (Saulgoode) said it wouldn't work, and now I agree, it doesn't work right. This is actually fun, I miss the excitement.
Oops. I should probably have stated that 'fill-type' is a parameter of the main function and corresponds to the value of the
SF-OPTION "Fill Mode" argument.
The general syntax of SF-OPTION is:
SF-OPTION "Label" (list "arg set to 0" "arg set to 1" "arg set to 2")
Note: if you want to follow RobA's naming practice of using camel case, 'fill-type' should probably be called "inFillType" or somesuch. Traditional Scheme style guidelines, however, prefer all lowercase with words separated by hyphens.