Please enable JavaScript to view this site.

Displays a warning text in the shell contents.

Syntax

void warning(const string &in text, uint32 attrib = shell::text_normal, uint32 color = 0)

text

Text to be displayed

attrib

Attributes for text (optional; see table of text attributes)

color

Text color (optional; 0=automatic)

Result

(none)

Example of use:

bool execute(shell::object @shell, const string &in cmdline)

{

  ...

  shell.content.warning("testo da visualizzare");

  ...

}

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC