[A89] passing a martrix to a C program


[Prev][Next][Index][Thread]

[A89] passing a martrix to a C program




First, I apologize for the recent flood of emails from me.  All the teachers
at DeVRY are incredibly slow-paced and have yet to teach even basics such as
pointers.

I have a program that returns a matrix using a structure similar to:
push_END_TAG
push_END_TAG
push 16 strings
push_LIST_TAG
push_END_TAG
push 16 strings
push_LIST_TAG
push_LIST_TAG

What would be the correct way to take such a matrix as a passed argument?
I've read through args.h in the docs and didn't see anything special for
reading a matrix off the expression stack.  Do I have to worry about reading
the LIST_TAG or END_TAG entries?  Or can I just GetStrnArg() 32 times?  How
would be the best way to import/test this?

-Miles Raymond      EML: m_rayman@bigfoot.com
AIM: Killer2Ray     ICQ: 13217756       IRC: Killer2
WWW: http://www.bigfoot.com/~m_rayman