From 3bcc8ce62560f36eaaab0e064b169b0118f354f3 Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Mon, 28 Sep 2015 14:10:44 +0530 Subject: Extension compatible with both - standalone and Arduino outputs. --- 2.3-1/macros/scilab2c.sci | 2 ++ 1 file changed, 2 insertions(+) (limited to '2.3-1/macros/scilab2c.sci') diff --git a/2.3-1/macros/scilab2c.sci b/2.3-1/macros/scilab2c.sci index 25fc06ac..1d4675e3 100644 --- a/2.3-1/macros/scilab2c.sci +++ b/2.3-1/macros/scilab2c.sci @@ -143,7 +143,9 @@ error(msprintf(gettext("%s: Wrong number of input argument(s): %d expected.\n"), // --- LAUNCH USER SCI CODE TO TEST IT BEFORE TRANSLATING IT!!! --- + if OutFormat == "StandAlone" runscicode(UserScilabMainFile, UserSciFilesPaths); + end // --- ASK USER FOR CONTINUATION. --- // Do not open confirmation box if we are not in STD mode. -- cgit