Hardware Design: SIE
Sign in or create your account
|
Project List
|
Help
Project Home
Downloads
Documentation
Issues
Source
Code Review
Source Tree
|
Change Log
|
How To Get The Code
Hardware Design: SIE Git Source Tree
Root
/
lua
/
examples
/
lua_calls_C4
/
avg.lua
1
-- call a C++ function
2
3
avg, sum = average(10, 20, 30, 40, 50)
4
5
print("The average is ", avg)
6
print("The sum is ", sum)
7
Download this file
Branches:
master
Main page
Current events
Mailing lists
Planet
Projects server
interactive
About Qi
Recent changes
Contact Qi
Help