printf

Syntax

int printf(string text, ...)

Arguments

text
The text to be displayed in a Message Box alert window.

Return

The number of characters written, not including the terminating null character, or -1 if an error occurred.

Description

Writes a formatted string to a message box, using printf-style formatting common to the C language.

Example

int version = 1;
strcpy(str0, "Plug-In Name");
strcpy(str1, "Company Name");
printf("You are running %s made by %s, version %d", str0, str1, version);

Also see

msgBox

Comments

Internally, FilterMeister's printf function is a wrapper around the Visual Studio function [_vsnprintf] and the Win32 function [MessageBox].