33 lines
765 B
Fortran
33 lines
765 B
Fortran
!
|
|
! this is the main programm
|
|
!
|
|
!-----------------------------------------------------
|
|
|
|
program julia
|
|
|
|
use spitpgm
|
|
use fraktals
|
|
|
|
implicit none
|
|
|
|
integer, dimension(512, 342) :: picz
|
|
integer :: argc
|
|
character(200) :: filename, string
|
|
real :: cx, cy
|
|
|
|
argc = IARGC()
|
|
if (3 .NE. argc) then
|
|
STOP ": JULIA PROGGY NEED PARAMETERS !"
|
|
endif
|
|
|
|
call getarg(1, filename)
|
|
call getarg(2, string) ; read (string, *) cx
|
|
call getarg(3, string) ; read (string, *) cy
|
|
|
|
call simple_julia(picz, cx, cy, 250)
|
|
call spit_as_pgm_8(picz, trim(filename))
|
|
|
|
end program
|
|
|
|
!-----------------------------------------------------
|