1. OR Two Values...
- Posted by ck lester <cklester at YAHOO.COM> Nov 21, 2000
- 391 views
- Last edited Nov 22, 2000
Ummm... Can I do this? -- where posxy = { (1=1) , (1=2) } function someName( sequence posxy ) return or_bits( posxy[1] , posxy[2] ) end function Basically, this is what's happening but it doesn't seem to like this. It chokes with this message: Syntax error - expected to see possibly '(' not ','... in referring to the comma between posxy[1] and [2]. Help! ck _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
2. Re: OR Two Values...
- Posted by Al Getz <xaxo at AOL.COM> Nov 24, 2000
- 394 views
Hello Ck, The following code worked fine for me, perhaps you are overlooking something in your actual code. -----------------------------------------START Eu code include get.e atom ink sequence posxy posxy = { (1=1) , (1=2) } function someName( sequence posxy ) return or_bits( posxy[1] , posxy[2] ) end function ?someName(posxy) --prints a "1" ink=wait_key() -----------------------------------------END EU code --Al
3. Re: OR Two Values...
- Posted by ck lester <cklester at YAHOO.COM> Nov 24, 2000
- 424 views
Yes, I was overlooking something... and discovered it two seconds after I posted the message! DOH!! Thanks, though... -ck > The following code worked fine for me, perhaps you are > overlooking something in your actual code. > __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com