mzscript problems: samples not run Thread last updated on 2004-08-08 15:07:42

Posted by member 191093 on 2004-08-08 14:10:36

from mzscript docs:
"
!msgbox %[hour]:%[minute]:%[second]

will show the current time in a message box."
but if i execute this, i see in msgbox '%[hour]:%[minute]:%[second]'.

What can cause it?

Posted by member 12025 on 2004-08-08 14:14:29 link

Using one version of the module, but reading another version's docs, most likely.
From 0.9_beta12 docs:
##### Example:

!msgbox %{hour}:%{minute}:%{second}.%{milli}

will show the current time in a message box.
mzscript 0.9 preview (2002-04-12) / ilmcuts
(snip)
- %{} is now the default syntax
- use mzScriptOldSyntax to work with %[].

Posted by member 191093 on 2004-08-08 15:07:42 link

yes.. %{} is now the default syntax i not read this.
thnx!