I am trying to call a Function from within another Function, but it doesn't work. The button named "Init" is supposed to call the "Output_Key()" but the values in the OUT Text boxes are not displayed in the Variable boxes
var1-4.
File available at...
Is there any way to call a function from within a function?
***************************************************
Here is the Function I am calling from:
SET.onRelease = function() {
in1_txt.text = "C";
in2_txt.text = "F";
in3_txt.text = "G";
OUT1.text = "C";
OUT2.text = "F";
OUT3.text =...
Andrzejek
Thanks for your help. I finally figured out what was wrong. I assumed the origonal array would be overwritten after the program completed, however it was not, and the next file I selected from the FileListBox was not written to the array, but the origonally selected file was still...
Andrzejek
Yes - I think you are correct. I am beginning to believe the problem I am having is not the FileListBox, but the Array that I am writing the file to. I don't think the program is overwriting the array, so I am working on either erasing the array, or overwriting it with null data. I...
Andrzejek
Thanks for your response.
Yes I can also get the same results as you, however when I try to incorporate this into the File Open statement, the program still operates on the same file I initially opened, and not the last one I selected from the FileListBox. Here is the code...
After I select the file from the FileListBox, I press a Command button that puts the file into an array, and operates on the array, then closes the file. When I try to select another file from the FileListBox, it does not select the other file, but selects the same file I selected initially.
Here is the code that puts the file into an array
Private Sub LoadFile()
Dim x As Integer
Dim iFreeFile As Integer
iFreeFile = FreeFile
Open Dir1.Path & "\" & File1.FileName For Input As #iFreeFile
Do While Not EOF(iFreeFile)
' 'x' is our counter here. We...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.