Jump to content

Hello world/Graphical: Difference between revisions

Added Vim Script solution
(Add SmallBASIC)
(Added Vim Script solution)
Line 4,214:
Displaying a dialog box with the message and default OK button:
<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}}==
29

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.