Search found 18 matches

by Topito216
Nov 07, 2011 9:54
Forum: Beginners
Topic: Shell, chain, run , I dont know
Replies: 6
Views: 792

ok

Thaks to both of you.

Now it works even from Fbedit.

I have learned one more thing.



Thanks.
by Topito216
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
by Topito216
Nov 07, 2011 9:32
Forum: Beginners
Topic: Shell, chain, run , I dont know
Replies: 6
Views: 792

MichaelW wrote:You could try:

Code: Select all

print Chain ("C:/FreeBASIC/Proyectos/ajuste.exe")
sleep
So you can see what Chain is returning.

I did it.

The adjust.exe starts but without data. Show errors and the number retourned in console is: -1073741819


Thanks.
by Topito216
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...
by Topito216
Nov 06, 2011 21:55
Forum: Beginners
Topic: Array question
Replies: 13
Views: 1780

TFJ. Thanks for your help. Believe me if I tell you that I tried during 2 hours run your library but it was imposible for me. I tried the first lines of the bas file as: #DEFINE LA_ScalarDouble #INCLUDE "libFBla.bas" VAR B = LA_V("0, 5, 1") Var C = LA_V("4,5,3") Var D= ...
by Topito216
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) ...
by Topito216
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...
by Topito216
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...
by Topito216
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.
by Topito216
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.

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
by Topito216
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"...
by Topito216
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...
by Topito216
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...
by Topito216
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...
by Topito216
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...