Hi

I'm doing something related to Subroutine in Abaqus. I got stuck in problem:" I try to add more variables in subroutine: example: I want to have a variable 'A' in DLOAD and After an increment, 'A' variable will change Value."
When I try to do it. I pass this case:

in DLOAD, I add some code :
IF (KINC.lt.102) THEN
ALLOCATE( CV(100), STAT = AllocateStatus)
IF (AllocateStatus /= 0) STOP "*** Not enough memory ***"
END IF
CV(1)=10+KINC
CV(2)=99
The result of CV(1) change, I think that CV changes depend on KINC (KINC will change after an increment). After do that, I try to change CV but I dont want to use KINC, Someone have some ideas about my problem can Help me !!!!

Thank you so much