@ifset: {dlgchoose}

Hi guys,

Can someone explain how to use @set and @ifset together please? I'm guessing @ifset:BACKUP=AAAAA is the problem in the code below. I've also tried @ifset:$BACKUP=AAAAA but that doesn't work either.

[code]@set BACKUP={dlgchoose|Select option|AAAAA=AAAAA+BBBBB=BBBBB}

@ifset:BACKUP=AAAAA
CreateFolder "C:\TEST{$BACKUP}"

@ifset:BACKUP=BBBBB
CreateFolder "C:\TEST{$BACKUP}"

@ifset:else
@confirm FAIL[/code]
Regards

Blueroly

Completely unrelated features... The help for the @ifset modifier explains it pretty well I think, though I can understand being confused by the common NAMES of these commands, etc... but:

The @ifset modifier let's you check the values of various options that you can set using the "Set" command... like the current view mode (details, tiles, thumbnails, etc)

The @set modifier lets you assign values to variables that you can then use elsewhere in the same button/hotkey...

Ah, what an idiot. Set and @Set are completely different things. I completely misread that in the manual. Thanks again steje, all is clear now.