Yes, nimassets seems easy and interesting ... But the * .exe is it really
standalone? What happens after the build, if I erase all the directory
"templatesdir"? The * .exe will still work?
Can we compile a script by directly embedding images and / or icons in the the
* .exe file... instead of having them separately?
Hi Ward... Good Job ! I'm interesting to use it (or perhaps wnim...) What's the
way to change the default icon of the main window ? (and put one of mine...) -
Thanks :-)
Find it ! >>
nim --app:gui c name-of-file.nim
it works.
What's the way to launch the .exe of a gui program (niGUi)
without launch dos console before ?
A compile option ? - A modify directly in the .nim script file ? Thanks.
God ! It works perfectly. :-) Thanks. If i had like more values... i think
about a loop (for...) isn't it ?
I can read my file, but cannot write in it, with every value per line... >>>
Thanks to your help...
import strutils
let cont = readFile("values.txt")
let val = cont.splitLines()
echo val
# result >> (OK)
#
#
#
echo "val1: ", val[0], " val2: ", val[1], " val3: ", val[2]
# r
Good job... Quick and simply answer... Script work perfectly ! Thanks a lot :-)
Hi all... I'm looking for a simply way, to calculate the diff. between two
dates ... in Days ! For example>
import times
let auj = format(now(), "d/MM/ -- HH:mm") # Today's date... let deb =
parse("04-09-2019", "dd-MM-") #an 'older' date... echo
deb.format("dd-MM-")
Actually, the
Hi all . I'm an absolute beginner in NIM :-)
let now1 = format(now(), "dd/MM/")
let debut = parse("04-09-2019", "dd-MM-") echo debut.format("dd-MM-")
I would to obtain the result (in number of Days) between these two dates !
Thanks a lot, in advance...
10 matches
Mail list logo