Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#510 LogicLib improvements

2.0 Series
open
nobody
Plugins (62)
5
2011-08-15
2011-08-15
Jan T. Sott
No

currently, when using ${If} ${FileExists} "$0\*.*", LogicLib will execute code within this if when $0 is empty. while i can easily fix this with a second if-condition, i'd expect the command to behave otherwise.

also, i would love to see some existing functions integrated into LogicLib. i'm thinking of commands such as ${IsWritable} or ${IsRoot}

Discussion

  • Anders
    Anders
    2011-08-15

    ${If} ${FileExists} "\*.*" is a valid command!

    You will just have to test $0:

    ${If} ${FileExists} "$0\*.*"
    ${AndIf} $0 != ""
    ....