is it possible to call a lua script from a ubasic script? - General Discussion and Assistance - CHDK Forum supplierdeeply

is it possible to call a lua script from a ubasic script?

  • 1 Replies
  • 2907 Views
is it possible to call a lua script from a ubasic script?
« on: 07 / July / 2012, 12:29:28 »
Advertisements
can i call a LUA script from a UBASIC one and then let the UBASIC one keep going?

basicly:
UBASIC SCRIPT pseudocode:

   (do something)
   call (lua script)
   (do somethig)

?
thanks

Re: is it possible to call a lua script from a ubasic script?
« Reply #1 on: 07 / July / 2012, 12:32:59 »
can i call a LUA script from a UBASIC one and then let the UBASIC one keep going?
No.   The scripting "engine" is one task - its either interpreting Lua code or uBASIC code.   And there are no provisions to call Lua functions from uBASIC or visa-versa. 
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics