File: mysubs.ft

package info (click to toggle)
fudgit 2.42-6
  • links: PTS
  • area: non-free
  • in suites: potato, woody
  • size: 2,468 kB
  • ctags: 2,375
  • sloc: ansic: 27,729; makefile: 793; yacc: 724; lex: 102; asm: 29; fortran: 15
file content (13 lines) | stat: -rw-r--r-- 341 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# This file shows how to load FORTRAN functions and
# subroutines. Notice the trailing underscore.

install mysubs.o myfunc_=varsum(x,y) mysub_:mysub(X,n)

set data 12
let x=100;X=x++
echo Adding 12 to 23 using an external call...
let varsum(12, 23)
echo Making a vector = i + sin(i) using an extern call...
let mysub(X,data)
show vector X