home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / FOXPRO / C-FOR / TT.C < prev    next >
Text File  |  1992-05-05  |  2KB  |  38 lines

  1. /* Albert Alexander Bukoski
  2.  
  3. Tonight was one of those nights where I had to many diet colas (2 super big
  4. gulps actually of MT. DEW. A cheap jolt cola) and I am flying off
  5. the walls on caffiene(Lets see now, i before e exep...) I was playing
  6. around with the idea that if you can call C from force, can you call force
  7. from C? I did it. If I also were to tell Scott or Jared or that that matter
  8. anybody else, they would think these earthquakes are affecting me.
  9. So here is the proof. Compile in Turbo C 2.0. Large model of course. Include
  10. the PRJ file and you got it. Now just to be safe. I will use different
  11. two values to make sure it really works. The first value will be 215 X 10( I
  12. won't insult you) and the next one will be 22 X 1879 (41338).
  13. So what? So replace C with force? Nope, open up for different methods
  14. to do it. I am trying to find somebody with pascal and try to call
  15. pascal from force. Any with time on there hands, I am sure there is a
  16. great market for C libraries. Imagine force compiled object modules for C.
  17. NA. The C guys would define themselves to death. I can see tech support
  18. going after my head now. Sorry dave and jason. For heavens sake, don't
  19. bother them with this. I am sure somebody out there can run use this.*/
  20.  
  21.  
  22. #include "d:\tc\include\stdio.h"
  23.  
  24. unsigned int test(int, int );
  25. main()
  26. {
  27.   unsigned int work;
  28.  
  29.   work = test( 215,10);
  30.  
  31.   printf("The result is: %u ", work);
  32.  
  33.   work  = test(22,1879);
  34.  
  35.   printf("The result is: %u ", work);
  36. }
  37.  
  38.