This function executes a string of text instead of a file.
| Parameter | Description |
|---|---|
| source | script code to execute |
Returns true if the string was successfully executed, otherwise false is returned.
#include "Leadwerks.h"
using namespace Leadwerks;
int main()
{
ExecuteString("Notify('Hello!')");
}