Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 341 Bytes

1440-system-export.markdown

File metadata and controls

29 lines (18 loc) · 341 Bytes

EXPORT

EXPORT thing

Export a SUB, FUNC or variable from a UNIT to be used by the unit consumer.

See UNIT for more information.

Example: Create an unit

UNIT MyTestUnit export const my_pi = 3.145 export my_two_pi = 6.29 export MyFunc export MySub func MyFunc(a) return a + 10 end sub MySub(a) print a + 10 end 
close