From 6deaa919151bd80eac37af6068c12a7b688e9640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Tue, 3 Nov 1998 00:55:27 +0100 Subject: [PATCH] Added reference to sprintf("%t", expr) in typeof() section. Rev: tutorial/tutorial.wmml:1.99 --- tutorial/tutorial.wmml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tutorial/tutorial.wmml b/tutorial/tutorial.wmml index b924fef064..7ff28fcbba 100644 --- a/tutorial/tutorial.wmml +++ b/tutorial/tutorial.wmml @@ -3338,6 +3338,9 @@ This will return the string <tt>"void"</tt> since exit is a function that returns void. It will not execute the function <tt>exit</tt> and exit the process as you might expect. +<p> +If you want to know the type after evaluation, use +<tt>sprintf("%t", expr)</tt>. </section> </anchor> -- GitLab