We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a90f25a commit fb008b4Copy full SHA for fb008b4
example/linalg/example_state1.f90
@@ -3,8 +3,8 @@ program example_state1
3
implicit none
4
type(linalg_state_type) :: err
5
6
- ! To create a state flag, we enter a state flag, followed by any list of variables
7
- ! that will be assembled into a formatted error message
+ ! To create a state variable, we enter its integer state flag, followed by a list of variables
+ ! that will be automatically assembled into a formatted error message. No need to provide string formats
8
err = linalg_state_type(LINALG_VALUE_ERROR,'just an example with scalar ',&
9
'integer=',1,'real=',2.0,'complex=',(3.0,1.0),'and array ',[1,2,3],'inputs')
10
0 commit comments