|
Post by alincon on Oct 16, 2019 11:13:52 GMT -5
What is a better way to wait for the program called by the 'run' command?
insert code here WindowWidth = 200 : WindowHeight = 400
run "notepad "+chr$(34)+"c:\libbas\_mylibbas\diary\categories.dat"+chr$(34)
notice "Category update" 'this is only to wait until user has edited the file
c = 0
open "categories.dat" for input as #ctgy
while eof(#ctgy) = 0
c = c + 1
input #ctgy, ctgy$(c)
wend
close #ctgy
sort ctgy$(),1,c
#main.combobox1, "reload"
wait
|
|
|
Post by Rod on Oct 16, 2019 14:22:18 GMT -5
|
|
|
Post by alincon on Oct 18, 2019 11:24:31 GMT -5
I hope LB5 has a 'wait' parameter for the run command. Some other basics do.
|
|
cundo
Full Member
Muchas Gracias!!
Posts: 146
|
Post by cundo on Oct 18, 2019 13:34:51 GMT -5
Will running a separate TKN , wich runs notepad, would be of help?
|
|