Parameter subscripts error with SUEVAL

willblatt
willblatt Member Posts: 13
Name Dropper First Comment
**
edited February 9 in General Language Questions

This seems pretty straightforward, feels like I'm missing something simple.

After setting up some surface results, I'm extracting some info (like x-section area). I can get the result as a scalar parameter and store it into an array, but I can't store it directly into the array location:

*dim,RESULTS,array,7,21

! ... do the surface mapping commands

! This works
sueval,ASDF,da,sum
RESULTS(1,1)=ASDF

! This doesn't: "Parameter RESULTS needs subscripts"
sueval,RESULTS(1,1),da,sum

This works for other commands like *get: *get,RESULTS(1,1),node,,count... maybe I'm missing something more fundamental?

Tagged:

Answers

  • Mike Rife
    Mike Rife Member, Employee Posts: 51
    Second Anniversary 10 Comments First Answer 5 Likes
    ✭✭✭✭

    Hi @willblatt I don't think you are missing anything. The SUEVAL command specifically states that the Parm field is a scalar parameter. So one of the few times an array parameter location cannot be used.
    Mike