ErosOlmi
29-03-2016, 12:12
Next thinBasic beta will have the possibility to #INCLUDE sources directly from the a web page using HTTP or HTTPS.
It can be used to quickly test something published from others or to refer to library maintained in the web
Example:
'---Test include from Web
#INCLUDE "https://raw.githubusercontent.com/petrSchreiber/SmartTexture/master/smartTexture.tbasicu"
Dim t As SmartTexture
t.FromFile("C:\myImage.png")
t.Make(1, %TBGL_TEX_MIPMAP)
I think it will be necessary to add new features like a web #INCLUDE defined inside a parent web #INCLUDE.
Anyway let's start and we will see.
It can be used to quickly test something published from others or to refer to library maintained in the web
Example:
'---Test include from Web
#INCLUDE "https://raw.githubusercontent.com/petrSchreiber/SmartTexture/master/smartTexture.tbasicu"
Dim t As SmartTexture
t.FromFile("C:\myImage.png")
t.Make(1, %TBGL_TEX_MIPMAP)
I think it will be necessary to add new features like a web #INCLUDE defined inside a parent web #INCLUDE.
Anyway let's start and we will see.