Back to [[.:|Script Function Reference]]
====== Edit_CLP() ======
The Edit_CLP() function displays the current emulator command line for the user to edit.
===== Syntax =====
Edit_CLP(prompt)
===== Arguments =====
^ Argument ^ Required ^ Description ^
| //prompt// | Yes | The prompt you want to display to the user. Any [[..:environment_variables|script environment variables]] found in //text// will be replaced by their actual values when the script is executed. |
\\
===== Examples =====
Edit_CLP(Edit the command line now if you're brave enough!)
Edit_CLP(The memory to set for this game is %memory_value%)
===== Remarks =====
The best place to put this function is just before you call the [[.:run_emulator|Run_Emulator()]] or [[.:run_gamefile|Run_GameFile()]] functions.
===== See Also =====
* [[.:add_clp|Add_CLP()]]
* [[.:add_clp2|Add_CLP2()]]
* [[.:clear_clp|Clear_CLP()]]
* [[.:|Script Function Reference]]