- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
A part of my.f90 file is shown below
read*, wl
if (wl == 1) then
write(*,*) 'blah blah...'
wl = 1
elseif (wl == 2) then
write(*,*) 'blah blah...'
wl = 2
else
write(*,*) 'blah blah...'
endif
I would like to use this wl value in another f.90 file that has an equation.
I want to set it as a variable within the equation(ex. x = wl +2)
How can I use this value in another f.90 file?
Please help me step by step.
Thank you so much!
Have a great day!
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page