J
Jose
I would like to know if anyone can help me with this. I would like to
load a file into a switch/case function but dont know how. Here is an
example file.
;File Example
;Created 03/04/99
[Command]
name = "2QCF_y"
command = ~D, DF, F, D, DF, F, y
[Command]
name = "5b"
command = b, b, b, b, b
time = 30
etc....
My question is if someone can help me to load any file (I know how to
open it) but then input it into a switch/case function where each case
is
command = ......
Also, I would like to know if there was any way to impose a time
limit, the times shown with the command, with the default time being
15 if no time is specified. And then with each case, the name of that
command is shown?
I also have one further problem. I would like to know if there was any
way to increase the amount of commands depending on the amount in the
files and stop once I get into a certain section.
If anyone can help point me in the right direction? An example maybe?
I just need the switch/case function that would work with a file that
I open. Thanks in advance for any help that can be provided.
load a file into a switch/case function but dont know how. Here is an
example file.
;File Example
;Created 03/04/99
[Command]
name = "2QCF_y"
command = ~D, DF, F, D, DF, F, y
[Command]
name = "5b"
command = b, b, b, b, b
time = 30
etc....
My question is if someone can help me to load any file (I know how to
open it) but then input it into a switch/case function where each case
is
command = ......
Also, I would like to know if there was any way to impose a time
limit, the times shown with the command, with the default time being
15 if no time is specified. And then with each case, the name of that
command is shown?
I also have one further problem. I would like to know if there was any
way to increase the amount of commands depending on the amount in the
files and stop once I get into a certain section.
If anyone can help point me in the right direction? An example maybe?
I just need the switch/case function that would work with a file that
I open. Thanks in advance for any help that can be provided.