Thaks to both of you.
Now it works even from Fbedit.
I have learned one more thing.
Thanks.
Search found 18 matches
- Nov 07, 2011 9:54
- Forum: Beginners
- Topic: Shell, chain, run , I dont know
- Replies: 6
- Views: 792
- Nov 07, 2011 9:38
- Forum: Beginners
- Topic: Shell, chain, run , I dont know
- Replies: 6
- Views: 792
More
I realized that if I double click over the main program bas (Chain ("C:/FreeBASIC/Proyectos/ajuste.exe"), it starts ok and works ok ajuste.exe. But it dont works if I compile and run the main program from FBedit that it's my IDE.
Thanks
Thanks
- Nov 07, 2011 9:32
- Forum: Beginners
- Topic: Shell, chain, run , I dont know
- Replies: 6
- Views: 792
MichaelW wrote:You could try:So you can see what Chain is returning.Code: Select all
print Chain ("C:/FreeBASIC/Proyectos/ajuste.exe") sleep
I did it.
The adjust.exe starts but without data. Show errors and the number retourned in console is: -1073741819
Thanks.
- Nov 07, 2011 9:21
- Forum: Beginners
- Topic: Shell, chain, run , I dont know
- Replies: 6
- Views: 792
Shell, chain, run , I dont know
Hello. I have a program of mathematical adjust: "ajuste.exe". In order to run it I have just to double click with mouse over the exe file. the program reads ascci data from file, calculate, shows result on screen and save results in a txt file. No problem, It works ok itself and I dont nee...
- Nov 06, 2011 21:55
- Forum: Beginners
- Topic: Array question
- Replies: 13
- Views: 1780
- Nov 04, 2011 12:33
- Forum: Beginners
- Topic: Array question
- Replies: 13
- Views: 1780
Radio Telescope
I answer: @ Topito216. I have some questions because I have an interest in antennas. What is the diameter and focal length of the parabola you are measuring? I dont know the focal length but, Nasmyth-Cassegrain Diameter principal: 40m Diámeter secundario: 3.2m What is the maximum frequency ( ? GHz) ...
- Nov 04, 2011 10:57
- Forum: Beginners
- Topic: Array question
- Replies: 13
- Views: 1780
Least squares adjust
First of all I have to thank all of you for answer to me so fast. It's fantastic to know there are people ready to help. I'll try to answer all your post in this with post with my badl english lenguage. I can write a little better but I'll need double time to do it. The courious is that the crash ha...
- Nov 03, 2011 10:15
- Forum: Beginners
- Topic: Array question
- Replies: 13
- Views: 1780
Array question
Hello to all. I doing a program of the adjust of minimum least squares with matrix of size 1700x7. I am employing this #Include "fbmath.bi" in order to get de inverse of matrix and determinant. As is a surveyor measuring program there are some mesures that out of tolerance and that have to...
- Sep 28, 2011 13:45
- Forum: Libraries & Headers
- Topic: Linear algebra library (libFBla)
- Replies: 8
- Views: 3692
Sorry
I am very nerveous. You are allright.
Now it works ok.
If you have more examples of the use I'll apreciate because I have seen functions like distance and angle between vectors, and more. For me it's the speedest way to learn it.
Best regards.
Now it works ok.
If you have more examples of the use I'll apreciate because I have seen functions like distance and angle between vectors, and more. For me it's the speedest way to learn it.
Best regards.
- Sep 28, 2011 13:36
- Forum: Libraries & Headers
- Topic: Linear algebra library (libFBla)
- Replies: 8
- Views: 3692
To improve
I did that you said but the error keeps.
Best regards
Code: Select all
#INCLUDE "libFBla.bas"
#DEFINE LA_ScalarDouble
Var A = LA_M("3, -3, 1" NL "0, 4, -1" NL "2, -2, 1")
Var B = LA_V("0, 5, 1")
Var R = B / A
Var N = A*R
? N
Sleep
Best regards
- Sep 28, 2011 8:28
- Forum: Libraries & Headers
- Topic: Linear algebra library (libFBla)
- Replies: 8
- Views: 3692
THANKS
your library is very usefull for me and I like it. But my knowledge about programming with modules (function,bas,libraries) is very basic. I have test your library like this simply code #INCLUDE "libFBla.bas" Var A = LA_M("3, -3, 1" NL "0, 4, -1" NL "2, -2, 1"...
- Sep 28, 2011 7:39
- Forum: Beginners
- Topic: Avoid warning
- Replies: 5
- Views: 754
Yes, I know that, and it's the reason that for to print a matrix I call a subroutine but I need a function because the return es an array. Best regards Your result is in the MA() array. This array is passed bidirectional (read/write) in the parameter list. In this code you do not need an return val...
- Sep 27, 2011 22:06
- Forum: Beginners
- Topic: Avoid warning
- Replies: 5
- Views: 754
Well, if a function's result isn't needed for anything, then it's best to use a sub, which is similar to a function except that is has no return value. Yes, I know that, and it's the reason that for to print a matrix I call a subroutine but I need a function because the return es an array. Best reg...
- Sep 27, 2011 21:37
- Forum: Beginners
- Topic: Avoid warning
- Replies: 5
- Views: 754
Avoid warning
Hello. Firts of all thanks to people who built the fbmath library , I think is wonderfull. I have made the following program in order to solve matrix operations. SUMA,RESTA,MULTIPLICACION=Addition, Subtraction, Multiplication It works ok but I get 3 blue warnings that I dont know how to avoid. I can...
- Aug 04, 2011 10:29
- Forum: Beginners
- Topic: Help with Chisock
- Replies: 2
- Views: 808
little by little
Thanks. Now that program works. I am learning little by little because I have to investigate but I could do my two first program (sender and receiver). Client. #include "chisock.bi" using chi #include "dir.bi" '' provides constants to match the attributes against 'Const attrib_ma...