Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
merge back the master trunk into the smpi branch
[simgrid.git] / examples / lua / state_cloner / duplicated_globals.lua
index d4c2331..70366bb 100644 (file)
@@ -22,7 +22,7 @@ function replace(...)
   please_dont_replace_me(...)
 end
 
   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.")
 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()
 
 -- 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()
 end
 
 print_global()
@@ -40,5 +40,4 @@ print_global()
 simgrid.platform("../../msg/small_platform.xml")
 simgrid.application("deployment_duplicated_globals.xml")
 simgrid.run()
 simgrid.platform("../../msg/small_platform.xml")
 simgrid.application("deployment_duplicated_globals.xml")
 simgrid.run()
-simgrid.clean()