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
Code samples using EXPORT
System
CHAIN
COMMAND
CWD
DELAY
ENV
ENV
EXEC
EXPORT
FRE
HOME
IMPORT
INCLUDE
MAXINT
NIL
OPTION
PAUSE
PI
PROGLINE
RANDOMIZE
RUN
SBVER
SELF
STKDUMP
TROFF
TRON
UNIT
If there is insufficient information on this page and you wish learn more about EXPORT,
please send an email to smallbasic@gmail.com. You can help to improve information about
EXPORT by submitting a pull request,
click View Source for details. Note, an offline language reference text file is also available - see the Download section.