From 878118777153b024303a59c3c1144ace3a49c0f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 12 Mar 2022 16:08:19 +0100 Subject: doc/scripting: translate note about Tcl constant $::weechat::WEECHAT_NULL --- doc/pl/weechat_scripting.pl.adoc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/pl') diff --git a/doc/pl/weechat_scripting.pl.adoc b/doc/pl/weechat_scripting.pl.adoc index 17d45717f..78af6f250 100644 --- a/doc/pl/weechat_scripting.pl.adoc +++ b/doc/pl/weechat_scripting.pl.adoc @@ -200,6 +200,13 @@ Funkcje są wywoływane za pomocą `+weechat.xxx(arg1, arg2, ...)+`. Funkcje są wywoływane za pomocą `+weechat::xxx arg1 arg2 ...+`. +// TRANSLATION MISSING +Since Tcl only has string types, there's no null type to pass as an argument +when a function accepts null values. To overcome this you can use the constant +`$::weechat::WEECHAT_NULL` which acts as a null value. This constant is defined +as `\uFFFF\uFFFF\uFFFFWEECHAT_NULL\uFFFF\uFFFF\uFFFF`, so it's very unlikely to +appear intentionally. + [[language_guile]] ==== Guile (Scheme) -- cgit v1.2.3