MCPcopy Create free account
hub / github.com/anjo76/angelscript / PrintHelp

Function PrintHelp

sdk/samples/console/source/main.cpp:112–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void PrintHelp()
113{
114 cout << "Commands:" << endl;
115 cout << " addfunc [decl] - adds a user function" << endl;
116 cout << " addvar [decl] - adds a user variable" << endl;
117 cout << " delfunc [name] - removes a user function" << endl;
118 cout << " delvar [name] - removes a user variable" << endl;
119 cout << " exec [script] - executes script statement and prints the result" << endl;
120 cout << " help - this command" << endl;
121 cout << " listfuncs - list functions" << endl;
122 cout << " listvars - list variables" << endl;
123 cout << " quit - end application" << endl;
124}
125
126void print(const string &s)
127{

Callers 2

mainFunction · 0.85
InterpretCommandMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected