Jump to content
OMRON Forums

how to access global arrays in C?


macs

Recommended Posts

Hi all,

 

I know that I can access global variables that I defined in 'global definitions.pmh' by pshm->P[variableName] in C, but this doesn't work for global array by pshm->P[arrayName(index)]. I know there must be a way to access them, please is there are somebody can tell me?

 

Thank you!

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

For more options take a look at our training slides for Power PMAC on the Forum:

"http://forums.deltatau.com/filedepot/download.php?f=Power PMAC/Training Slides/Class Slides/Power PMAC 5-Day Training (Plus Optional GUI Training).pdf"

 

There is a complete section on C-programming.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

×
×
  • Create New...