X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/047ca9a2a6c647c2cc014d53460b8c359b3238c7..edde8f7fbc1b74a81551bf9eb7bac1935b999296:/examples/lua/state_cloner/duplicated_globals.lua diff --git a/examples/lua/state_cloner/duplicated_globals.lua b/examples/lua/state_cloner/duplicated_globals.lua index d4c2331290..70366bb8da 100644 --- a/examples/lua/state_cloner/duplicated_globals.lua +++ b/examples/lua/state_cloner/duplicated_globals.lua @@ -22,7 +22,7 @@ function replace(...) please_dont_replace_me(...) end --- Show a hello message and prints the global string +-- Shows a hello message and prints the global string function please_dont_replace_me(...) simgrid.info("Hello from please_dont_replace_me(). I'm lucky, I still exist in this state.") @@ -32,7 +32,7 @@ end -- Prints the value of global_string function print_global() - simgrid.info("Global string is '"..global_string.."'") + simgrid.info("Global string is '" .. global_string .. "'") end print_global() @@ -40,5 +40,4 @@ print_global() simgrid.platform("../../msg/small_platform.xml") simgrid.application("deployment_duplicated_globals.xml") simgrid.run() -simgrid.clean()