Hello world/Graphical: Difference between revisions

Content added Content deleted
(Add SmallBASIC)
(Added Vim Script solution)
Line 4,214: Line 4,214:
Displaying a dialog box with the message and default OK button:
Displaying a dialog box with the message and default OK button:
<syntaxhighlight lang="vedit">Dialog_Input_1(1,"`Vedit example`,`Goodbye, World!`")</syntaxhighlight>
<syntaxhighlight lang="vedit">Dialog_Input_1(1,"`Vedit example`,`Goodbye, World!`")</syntaxhighlight>

=={{header|Vim Script}}==
There are several ways to do this. From Normal mode, one way (which requires Vim version 8.2 with patch 1522) is:
<syntaxhighlight lang="vimscript">
:call popup_notification("Hello world", {})
</syntaxhighlight>

Another way (which requires Vim version 9.0 with patch 337) is:
<syntaxhighlight lang="vimscript">
:echow "Hello world"
</syntaxhighlight>

'''NB: Neither of these will work with Neovim.'''


=={{header|Visual Basic}}==
=={{header|Visual Basic}}==