1. Grey Hack
  2. News
  3. [Nightly] Update v0.7.3805a

[Nightly] Update v0.7.3805a

[h3]Changelog[/h3]

- Added method import_code. It imports the contents of the text file indicated on the path parameter. This method is useful for all the code of a program to be distributed between several different files and also to avoid the limit of characters allowed by text file.

Example:

//main.src
import_code("/home/user/my_module.src")
print("bye")


Content of my_module.src

//my_module.src
print("hello!")


Result after compiling main.src and launch it
#Output hello!
bye